Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Token ¶
type Token map[string]interface{}
Token it's the token representation from the auth0 authentication api https://auth0.com/docs/api/authentication#get-token It's a dynamic object since it has multiple representantions
func (Token) AccessToken ¶
AccessToken returns the 'access_token' key from a Token
func (Token) BearerType ¶
BearerType returns the 'token_type' key from a Token
type User ¶
type User struct { UserID string `json:"user_id,omitempty"` Email string `json:"email,omitempty"` EmailVerified bool `json:"email_verified,omitempty"` Username string `json:"username,omitempty"` PhoneNumber string `json:"phone_number,omitempty"` PhoneVerified bool `json:"phone_verified,omitempty"` CreatedAt string `json:"created_at,omitempty"` UpdatedAt string `json:"updated_at,omitempty"` Identities []Identity `json:"identities,omitempty"` AppMetadata map[string]interface{} `json:"app_metadata,omitempty"` UserMetadata map[string]interface{} `json:"user_metadata,omitempty"` Picture string `json:"picture,omitempty"` Name string `json:"name,omitempty"` Nickname string `json:"nickname,omitempty"` Multifactor []string `json:"multifactor,omitempty"` LastIP string `json:"last_ip,omitempty"` LastLogin string `json:"last_login,omitempty"` LoginsCount int `json:"logins_count,omitempty"` Blocked bool `json:"blocked,omitempty"` GivenName string `json:"given_name,omitempty"` FamilyName string `json:"family_name,omitempty"` }
User represents an user in auth0 management API https://auth0.com/docs/api/management/v2#!/Users/get_users
Click to show internal directories.
Click to hide internal directories.