Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewJWTMiddleware ¶
func NewJWTMiddleware(aud, iss string, getPemCert GetPemCert) *jwtmiddleware.JWTMiddleware
NewJWTMiddleware returns a jwt middleware for Auth0
Types ¶
type BridgeMiddlewareHandler ¶
type BridgeMiddlewareHandler struct {
Middleware *jwtmiddleware.JWTMiddleware
}
BridgeMiddlewareHandler converts jwt middleware into goa middleware.
type GetPemCert ¶
GetPemCert retrieves public keys to verify tokens
func NewGetPemCert ¶
func NewGetPemCert() GetPemCert
NewGetPemCert creates a cacheable pem getter function
Click to show internal directories.
Click to hide internal directories.