Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Authenticator ¶
type Authenticator struct {
// contains filtered or unexported fields
}
Authenticator implements the OIDC authentication We have two verifiers to allow tokens with or without the 'spn' token.
func NewAuthenticator ¶
func NewAuthenticator(appConfig *config.AppConfig, m monitoring.MetricsI) (*Authenticator, error)
NewAuthenticator creates new Authenticator
func (*Authenticator) VerifyToken ¶
func (a *Authenticator) VerifyToken() echo.MiddlewareFunc
VerifyToken verifies if the JWT token from request header is valid
Click to show internal directories.
Click to hide internal directories.