Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAuthenticationHandler ¶
func NewAuthenticationHandler(tokenValidator TokenValidator, nextHandler http.Handler) http.Handler
func NewRequestHandler ¶
Types ¶
type ConfigServer ¶
type ConfigServer interface {
Start() error
}
func NewConfigServer ¶
func NewConfigServer(config config.ServerConfig) ConfigServer
type JwtTokenValidator ¶
type JwtTokenValidator struct {
// contains filtered or unexported fields
}
func NewJwtTokenValidator ¶
func NewJwtTokenValidator(jwtVerificationKeyPath string) (JwtTokenValidator, error)
func (JwtTokenValidator) Validate ¶
func (j JwtTokenValidator) Validate(token string) error
type TokenValidator ¶
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
This file was generated by counterfeiter This file was generated by counterfeiter
|
This file was generated by counterfeiter This file was generated by counterfeiter |
Click to show internal directories.
Click to hide internal directories.