Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Middleware ¶
func Middleware(authenticator Authenticator, db AuthDBProvider, log *logger.Log) func(next http.Handler) http.Handler
Types ¶
type AuthDBProvider ¶
type LambdaAuthenticator ¶
type LambdaAuthenticator struct{}
LambdaAuthenticator
func (*LambdaAuthenticator) Authenticate ¶
func (l *LambdaAuthenticator) Authenticate(r *http.Request) (Claims, error)
Click to show internal directories.
Click to hide internal directories.