Documentation
¶
Index ¶
- type Provider
- func (p *Provider) AccessTokenLifespan() time.Duration
- func (p *Provider) AuthorizationCodeLifespan() time.Duration
- func (p *Provider) IdTokenLifespan() time.Duration
- func (p *Provider) RefreshTokenLifespan() time.Duration
- func (p *Provider) SupportsAnyAcrValues(acrValues []string) bool
- func (p *Provider) SupportsAnyClaimsLocales(locales []string) bool
- func (p *Provider) SupportsAnyUILocales(locales []string) bool
- func (p *Provider) SupportsDisplay(display oidc.Display) bool
- func (p *Provider) SupportsGrantType(grantType oidc.GrantType) bool
- func (p *Provider) SupportsResponseMode(mode oidc.ResponseMode) bool
- func (p *Provider) SupportsResponseType(responseType oidc.ResponseType) bool
- func (p *Provider) UnmarshalJSON(raw []byte) error
- func (p *Provider) UserInteractionLifespan() time.Duration
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Provider ¶
type Provider struct { Issuer string ResponseTypesSupported oidc.ResponseTypeSet ResponseModesSupported oidc.ResponseModeSet GrantTypesSupported oidc.GrantTypeSet AcrValuesSupported map[string]struct{} DisplayValuesSupported map[oidc.Display]struct{} ClaimsParameterSupported bool ClaimsLocalesSupported map[string]struct{} UILocalesSupported map[string]struct{} RequestParameterSupported bool RequestURIParameterSupported bool RequireRequestURIRegistration bool AuthorizationCodeTTLSeconds int64 AccessTokenTTLSeconds int64 AccessTokenSigningAlgValue string RefreshTokenTTLSeconds int64 IdTokenTTLSeconds int64 UserInteractionTimeLimitSeconds int64 DefaultInteractionProvider string }
Provider contains the OpenID Connect Provider Metadata that is relevant to the processing of the authorization server. In other words, pure information data are not included in this structure.
func (*Provider) AccessTokenLifespan ¶
AccessTokenLifespan returns time.Duration representing the lifespan of access tokens.
func (*Provider) AuthorizationCodeLifespan ¶
AuthorizationCodeLifespan returns time.Duration representing the lifespan of authorization code
func (*Provider) IdTokenLifespan ¶
IdTokenLifespan returns time.Duration representing the lifespan of id token.
func (*Provider) RefreshTokenLifespan ¶
RefreshTokenLifespan returns time.Duration representing the lifespan of refresh tokens.
func (*Provider) SupportsAnyAcrValues ¶
SupportsAnyAcrValues checks provider supports one or more supplied acr values.
func (*Provider) SupportsAnyClaimsLocales ¶
SupportsAnyClaimsLocales checks provider supports one or more supplied claims locales.
func (*Provider) SupportsAnyUILocales ¶
SupportsAnyUILocales checks provider supports one or more supplied ui locales.
func (*Provider) SupportsDisplay ¶
SupportsDisplay checks if the given display is supported by the provider
func (*Provider) SupportsGrantType ¶
SupportsGrantType checks if the given grant type is supported by the provider
func (*Provider) SupportsResponseMode ¶
func (p *Provider) SupportsResponseMode(mode oidc.ResponseMode) bool
SupportsResponseMode checks if the given response mode is supported by the provider
func (*Provider) SupportsResponseType ¶
func (p *Provider) SupportsResponseType(responseType oidc.ResponseType) bool
SupportsResponseTypes checks if the given response types combo is supported by the provider
func (*Provider) UnmarshalJSON ¶
func (*Provider) UserInteractionLifespan ¶
UserInteractionLifespan returns time.Duration representing the maximum allowed time for user interaction in seconds.
Directories
¶
Path | Synopsis |
---|---|
JSON object signing and encryption definitions and utilities.
|
JSON object signing and encryption definitions and utilities. |
Parameters and core models used in the OpenID Connect processing.
|
Parameters and core models used in the OpenID Connect processing. |