package
0.0.0-20200413215053-649f5a113e49
Repository: https://github.com/kalinin-andrey/rti-testing.git
Documentation: pkg.go.dev

# Functions

CurrentUser returns the user identity from the given context.
Handler returns a JWT-based authentication middleware.func Handler(verificationKey string, dbase db.IDB, logger log.ILogger) routing.Handler {.
NewService creates a new authentication service.
RegisterHandlers registers handlers for different HTTP requests.

# Interfaces

Identity represents an authenticated user identity.
Service encapsulates the authentication logic.
No description provided by the author