Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AuthenticationMiddleware ¶
func AuthenticationMiddleware(params EndpointParams) kitendpoint.Middleware
AuthenticationMiddleware wraps endpoint with standard middlewares.
func JWTValidateMiddleware ¶
func JWTValidateMiddleware(config token.JWTStrategyConfig) kitendpoint.Middleware
Types ¶
type EndpointParams ¶
type EndpointParams struct {
JWTStrategyConfig token.JWTStrategyConfig
}
EndpointParams provides params for endpoint middlewares.
type JwtSigningString ¶
type JwtSigningString string
Click to show internal directories.
Click to hide internal directories.