Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UserInfo ¶
type UserInfo struct {
Audience string `json:"aud"`
Issuer string `json:"iss"`
Subject string `json:"sub"`
Email string `json:"email"`
EmailVerified bool `json:"email_verified"`
FamilyName string `json:"family_name"`
GivenName string `json:"given_name"`
Name string `json:"name"`
Picture string `json:"picture"` // URL to picture
PreferredUsername string `json:"preferred_username"`
Profile string `json:"profile"`
}
UserInfo represents an OpenID Connect (OIDC) UserInfo object as described here: https://openid.net/specs/openid-connect-core-1_0.html#UserInfoResponse .
Click to show internal directories.
Click to hide internal directories.