package
Version:
v0.105.0
Opens a new window with list of versions in this module.
Published: Nov 12, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
OIDC is used to authenticate our users.
func NewOIDC(discoveryDomain, clientID, clientSecret, redirectURL string) (*OIDC, error)
NewOIDC instantiates an OIDC authenticator.
During initialization the endpoints are retrieved from the discovery URL
VerifyIDToken verifies that an *oauth2.Token is a valid *oidc.IDToken.
Including checking for it's sigature, expiration, audience and so on.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.