Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsUserInGroup ¶
func ReadPasswordWithOTP ¶
func RequestJWT ¶
Types ¶
type OIDCProviderInfo ¶
type OIDCProviderInfo struct { Issuer string `json:"issuer"` AuthURL string `json:"authorization_endpoint"` TokenURL string `json:"token_endpoint"` JWKSURL string `json:"jwks_uri"` UserInfoURL string `json:"userinfo_endpoint"` Algorithms []string `json:"id_token_signing_alg_values_supported"` KeySet oidc.KeySet `json:",omitempty"` }
func GetProviderInfo ¶
func GetProviderInfo(providerEndpoint string) (*OIDCProviderInfo, error)
func (*OIDCProviderInfo) VerifyToken ¶
func (provider *OIDCProviderInfo) VerifyToken(aToken string) error
type Userinfo ¶
type Userinfo struct { Id string `json:"sub"` EmailVerified bool `json:"email_verified"` Name string `json:"name"` Groups []string `json:"groups"` PreferredUsername string `json:"preferred_username"` GivenName string `json:"given_name"` FamilyName string `json:"family_name"` Email string `json:"email"` }
Click to show internal directories.
Click to hide internal directories.