Documentation ¶
Overview ¶
Package oidc provides functionality related to OpenID Connect.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewClientConfig ¶
func NewClientConfig(name, issuer, clientID string, clientSecret sstring.SensitiveString, deviceClientID string, deviceClientSecret sstring.SensitiveString, redirectURL, deviceAuthorizationEndpoint string, scopes []string, disabled bool) (*provider.ClientConfig, error)
NewClientConfig creates a new ClientConfig and also performs discovery.
Types ¶
type OpenIDError ¶
OpenIDError represents a typical OIDC error response.
func (OpenIDError) CombineMessage ¶
func (e OpenIDError) CombineMessage() string
CombineMessage combines the (optional) more detailed error message in an OpenIDError with the error cause into one error message string.
Directories ¶
Path | Synopsis |
---|---|
Package oidcstrings provides constant strings used with OpenID Connect.
|
Package oidcstrings provides constant strings used with OpenID Connect. |
Click to show internal directories.
Click to hide internal directories.