jwt-auth

module
v0.0.0-...-554d062 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 23, 2022 License: Apache-2.0

README

jwt-auth

Clean and simple authentication microservice written in Go.

To run project
make run
To setup git hooks run
make install-hooks
To run all checks manually
make check
To skip pre-commit checks
make skipcheck-precommit
To skip pre-push checks
make skipcheck-prepush

Internals

auth-service:

  • signin
  • signup
  • blacklist

jwt package must provide:

  • create
  • validate

databases: sqlite redis mongo in-memory

We have to save this data somehow: users -> username | password tokens -> token | expiry_date | refresh_token???

Directories

Path Synopsis
cmd
cli
pkg
hash
Package hash implements key generation and password hashing operations.
Package hash implements key generation and password hashing operations.
sign
Package sign provides message signing and validation functionality.
Package sign provides message signing and validation functionality.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL