Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitOIDCConnector ¶
func InitOIDCConnector(oidcProviders []api.OidcProvider) (auth.AuthConnector, error)
InitOIDCConnector initializes OIDC connector configuration
Types ¶
type OIDCAuthConnector ¶
type OIDCAuthConnector struct {
// contains filtered or unexported fields
}
OIDCAuthConnector represents an OIDC connector that implements interface of auth connector
func (OIDCAuthConnector) Authenticate ¶
func (c OIDCAuthConnector) Authenticate(next http.Handler) http.Handler
This method retrieves data from request and checks if user is correctly authenticated
func (OIDCAuthConnector) RetrieveUserID ¶
func (c OIDCAuthConnector) RetrieveUserID(r http.Request) string
Retrieve user from OIDC token
Click to show internal directories.
Click to hide internal directories.