package
4.1.0+incompatible
Repository: https://github.com/openshift/origin.git
Documentation: pkg.go.dev

# Functions

NewAuthorizeAuthenticator returns a new Authenticator.
NewAutoGrant returns a grant handler that automatically approves client authorizations.
NewDenyAccessAuthenticator returns an AccessAuthenticator which rejects all non-token access requests.
NewEmptyGrant returns a no-op grant handler.
NewGrantCheck returns a new GrantCheck.
NewPerClientGrant returns a grant handler that determines what to do based on the grant method in the client.
NewRedirectGrant returns a grant handler that redirects to the given subpath when a grant is needed.
NewUnionAuthenticationHandler returns an oauth.AuthenticationHandler that muxes multiple challenge handlers and redirect handlers.

# Constants

WarningHeaderMiscCode is the code for "Miscellaneous warning", which may be displayed to human users.
WarningHeaderOpenShiftSource is the name of the agent adding the warning header.

# Structs

AuthenticationRedirectors is a collection that provides a list of acceptable authentication mechanisms.
GrantCheck implements osinserver.AuthorizeHandler to ensure requested scopes have been authorized.

# Interfaces

AuthenticationChallenger reacts to unauthenticated requests with challenges.
AuthenticationErrorHandler reacts to authentication errors.
AuthenticationHandler reacts to unauthenticated requests.
AuthenticationRedirector reacts to unauthenticated requests with redirects.
AuthenticationSelectionHandler is responsible for selecting which identity provider to use for login.
AuthenticationSuccessHandler reacts to a user authenticating.
GrantChecker is responsible for determining if a user has authorized a client for a requested grant.
GrantErrorHandler reacts to grant errors.
GrantHandler handles errors during the grant process, or the client requests an unauthorized grant.

# Type aliases

AuthenticationErrorHandlers combines multiple AuthenticationErrorHandler objects into a chain.
AuthenticationSuccessHandlers combines multiple AuthenticationSuccessHandler objects into a chain.