Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Claims ¶
type Claims struct { oidc.TokenClaims PreferredUsername string `json:"preferred_username,omitempty"` AccessTokenHash string `json:"at_hash,omitempty"` IPAddr string `json:"ipaddr,omitempty"` EMail string `json:"email,omitempty"` Groups []string `json:"groups,omitempty"` Roles []string `json:"roles,omitempty"` // https://developers.google.com/identity/openid-connect/openid-connect#hd-param Hd string `json:"hd,omitempty"` Claims map[string]any `json:"-"` }
func (*Claims) GetAccessTokenHash ¶
GetAccessTokenHash implements the oidc.IDTokenClaims interface.
func (*Claims) UnmarshalJSON ¶ added in v1.15.0
Click to show internal directories.
Click to hide internal directories.