package
1.5.0
Repository: https://github.com/keitaroinc/goa.git
Documentation: pkg.go.dev

# Functions

ContextJWT retrieves the JWT token from a `context` that went through our security middleware.
New returns a middleware to be used with the JWTSecurity DSL definitions of goa.
NewResolver returns a GroupResolver that uses the value of the request header with the given name to select the key group used for authorization.
NewSimpleResolver returns a simple resolver.
WithJWT creates a child context containing the given JWT.

# Variables

ErrEmptyHeaderName is returned when the header value given to the standard key resolver constructor is empty.
ErrInvalidKey is returned when a key is not of type string, []string, *rsa.PublicKey or []*rsa.PublicKey.
ErrJWTError is the error returned by this middleware when any sort of validation or assertion fails during processing.
ErrKeyDoesNotExist is returned when a key cannot be found by the provided key name.

# Structs

No description provided by the author

# Interfaces

No description provided by the author
No description provided by the author