Documentation
¶
Index ¶
Constants ¶
View Source
const ( ClaimNonce string = "nonce" ClaimAuthorizedParty string = "azp" ClaimAtHash string = "at_hash" ClaimAuthTime string = "auth_time" )
View Source
const ( ParameterNonce string = "nonce" ParameterIdToken string = "id_token" ParameterPrompt string = "prompt" ParameterMaxAge string = "max_age" )
Variables ¶
This section is empty.
Functions ¶
func HasOfflineAccessScope ¶ added in v0.7.8
func HasOidcScope ¶ added in v0.7.7
Types ¶
type PromptType ¶ added in v0.7.8
type PromptType string
PromptType as described in https://openid.net/specs/openid-connect-core-1_0.html#AuthRequest prompt=create is not supported, as no account can be created by a user in STOPnik
const ( PtNone PromptType = "none" PtLogin PromptType = "login" PtConsent PromptType = "consent" PtSelectAccount PromptType = "select_account" )
func PromptTypeFromString ¶ added in v0.7.8
func PromptTypeFromString(value string) (PromptType, bool)
type UserInfoResponse ¶ added in v0.7.8
type UserInfoResponse struct { config.UserProfile config.UserInformation }
Click to show internal directories.
Click to hide internal directories.