Skip to main content

UserInfo

@authgear/react-native / UserInfo

Interface: UserInfo

UserInfo is the result of fetchUserInfo. It contains sub which is the User ID, as well OIDC standard claims like email.

Table of contents

Properties

Properties

address

Optional address: Object

Type declaration

NameType
country?string
formatted?string
locality?string
postalCode?string
region?string
streetAddress?string

Defined in

packages/authgear-react-native/index.d.ts:249


birthdate

Optional birthdate: string

Defined in

packages/authgear-react-native/index.d.ts:246


canReauthenticate

canReauthenticate: boolean

Defined in

packages/authgear-react-native/index.d.ts:228


customAttributes

customAttributes: Record<string, unknown>

Defined in

packages/authgear-react-native/index.d.ts:231


email

Optional email: string

Defined in

packages/authgear-react-native/index.d.ts:232


emailVerified

Optional emailVerified: boolean

Defined in

packages/authgear-react-native/index.d.ts:233


familyName

Optional familyName: string

Defined in

packages/authgear-react-native/index.d.ts:237


gender

Optional gender: string

Defined in

packages/authgear-react-native/index.d.ts:245


givenName

Optional givenName: string

Defined in

packages/authgear-react-native/index.d.ts:238


isAnonymous

isAnonymous: boolean

Defined in

packages/authgear-react-native/index.d.ts:227


isVerified

isVerified: boolean

Defined in

packages/authgear-react-native/index.d.ts:226


locale

Optional locale: string

Defined in

packages/authgear-react-native/index.d.ts:248


middleName

Optional middleName: string

Defined in

packages/authgear-react-native/index.d.ts:239


name

Optional name: string

Defined in

packages/authgear-react-native/index.d.ts:240


nickname

Optional nickname: string

Defined in

packages/authgear-react-native/index.d.ts:241


phoneNumber

Optional phoneNumber: string

Defined in

packages/authgear-react-native/index.d.ts:234


phoneNumberVerified

Optional phoneNumberVerified: boolean

Defined in

packages/authgear-react-native/index.d.ts:235


picture

Optional picture: string

Defined in

packages/authgear-react-native/index.d.ts:242


preferredUsername

Optional preferredUsername: string

Defined in

packages/authgear-react-native/index.d.ts:236


profile

Optional profile: string

Defined in

packages/authgear-react-native/index.d.ts:243


raw

raw: Record<string, unknown>

Defined in

packages/authgear-react-native/index.d.ts:230


roles

Optional roles: string[]

Defined in

packages/authgear-react-native/index.d.ts:229


sub

sub: string

Defined in

packages/authgear-react-native/index.d.ts:225


website

Optional website: string

Defined in

packages/authgear-react-native/index.d.ts:244


zoneinfo

Optional zoneinfo: string

Defined in

packages/authgear-react-native/index.d.ts:247

  • Table of contents
  • Properties
    • address
    • birthdate
    • canReauthenticate
    • customAttributes
    • email
    • emailVerified
    • familyName
    • gender
    • givenName
    • isAnonymous
    • isVerified
    • locale
    • middleName
    • name
    • nickname
    • phoneNumber
    • phoneNumberVerified
    • picture
    • preferredUsername
    • profile
    • raw
    • roles
    • sub
    • website
    • zoneinfo