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) VerifyGroupAccess ¶ added in v1.4.0
func (a *Authenticator) VerifyGroupAccess(group string) echo.MiddlewareFunc
VerifyGroupAccess verifies if the identity that performed the request is part of the configured authorized group
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.