Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AuthMiddleware ¶
Types ¶
type CancelableAuthRequest ¶
type CancelableAuthRequest interface { authenticator.Request Cancel() //Cancels (stops) the underlying instance }
Extends authenticator.Request interface with Cancel() function used to stop underlying authenticator instance once it's not needed anymore
func NewOIDCAuthenticator ¶
func NewOIDCAuthenticator(config *OIDCConfig) (CancelableAuthRequest, error)
NewOIDCAuthenticator returns OIDC authenticator wrapped as a CancelableAuthRequest instance. CancelableAuthRequest alows users to cancel the authenticator once it's not used anymore.
Click to show internal directories.
Click to hide internal directories.