Back to Node Auth0

Interface UserIdentity

docs/interfaces/management.Management.UserIdentity.html

5.9.12.0 KB
Original Source

Interface UserIdentity

interface UserIdentity {
connection: string;
user_id: UserId;
provider: string;
profileData?: UserProfileData;
isSocial?: boolean;
access_token?: string;
access_token_secret?: string;
refresh_token?: string;
}

Index

Properties

connectionuser_idproviderprofileData?isSocial?access_token?access_token_secret?refresh_token?

Properties

connection

connection: string

Connection name of this identity.

user_id

user_id: UserId

user_id of this identity.

provider

provider: string

Type of identity provider.

OptionalprofileData

profileData?: UserProfileData

OptionalisSocial

isSocial?: boolean

Whether the identity provider is a social provider (true) or not (false).

Optionalaccess_token

access_token?: string

IDP access token returned if scope read:user_idp_tokens is defined.

Optionalaccess_token_secret

access_token_secret?: string

IDP access token secret returned only if scope read:user_idp_tokens is defined.

Optionalrefresh_token

refresh_token?: string

IDP refresh token returned only if scope read:user_idp_tokens is defined.

Settings

Member Visibility

  • Protected
  • Inherited

ThemeOSLightDark

On This Page

Properties connectionuser_idproviderprofileDataisSocialaccess_tokenaccess_token_secretrefresh_token