Documentation ¶
Overview ¶
Package auth provides a handler for the OIDC authorization endpoint.
Index ¶
Constants ¶
View Source
const ( CustomUsernameHeaderName = "Pinniped-Username" CustomPasswordHeaderName = "Pinniped-Password" //nolint:gosec // this is not a credential )
Variables ¶
This section is empty.
Functions ¶
func NewHandler ¶
func NewHandler( downstreamIssuer string, idpLister oidc.UpstreamIdentityProvidersLister, oauthHelperWithoutStorage fosite.OAuth2Provider, oauthHelperWithStorage fosite.OAuth2Provider, generateCSRF func() (csrftoken.CSRFToken, error), generatePKCE func() (pkce.Code, error), generateNonce func() (nonce.Nonce, error), upstreamStateEncoder oidc.Encoder, cookieCodec oidc.Codec, ) http.Handler
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.