Back to Node Auth0

Interface UserInfoResponse

docs/interfaces/userinfo.UserInfoResponse.html

5.9.12.9 KB
Original Source

Interface UserInfoResponse

Response interface for the UserInfo endpoint

interface UserInfoResponse {
sub: string;
name: string;
given_name?: string;
family_name?: string;
middle_name?: string;
nickname: string;
preferred_username?: string;
profile?: string;
picture?: string;
website?: string;
email: string;
email_verified: boolean;
gender?: string;
birthdate?: string;
zoneinfo?: string;
locale?: string;
phone_number?: string;
phone_number_verified?: string;
address?: { country?: string };
updated_at: string;
key: string: unknown;
}

Indexable

Index

Properties

subnamegiven_name?family_name?middle_name?nicknamepreferred_username?profile?picture?website?emailemail_verifiedgender?birthdate?zoneinfo?locale?phone_number?phone_number_verified?address?updated_at

Properties

sub

sub: string

name

name: string

Optionalgiven_name

given_name?: string

Optionalfamily_name

family_name?: string

Optionalmiddle_name

middle_name?: string

nickname

nickname: string

Optionalpreferred_username

preferred_username?: string

Optionalprofile

profile?: string

Optionalpicture

picture?: string

Optionalwebsite

website?: string

email

email: string

email_verified

email_verified: boolean

Optionalgender

gender?: string

Optionalbirthdate

birthdate?: string

Optionalzoneinfo

zoneinfo?: string

Optionallocale

locale?: string

Optionalphone_number

phone_number?: string

Optionalphone_number_verified

phone_number_verified?: string

Optionaladdress

address?: { country?: string }

updated_at

updated_at: string

Settings

Member Visibility

  • Protected
  • Inherited

ThemeOSLightDark

On This Page

Properties subnamegiven_namefamily_namemiddle_namenicknamepreferred_usernameprofilepicturewebsiteemailemail_verifiedgenderbirthdatezoneinfolocalephone_numberphone_number_verifiedaddressupdated_at