Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // MockGetUserUser contains a possible mocked GetUser User MockGetUserUser *User // MockGetUserError contains a possible mocked GetUser error MockGetUserError error )
Functions ¶
Types ¶
type User ¶
type User struct { ExternalID string `json:"sub"` Name string `json:"name"` Email string `json:"email"` EmailVerified bool `json:"email_verified"` UserInfoClaims map[string]interface{} `json:"user_info_claims"` }
User defines an OpenID Connect user object.
func (*User) UnmarshalJSON ¶
Click to show internal directories.
Click to hide internal directories.