getSignupData
client.getSignupData(signupToken: string)
About this command
Get lite user information by using the token received by mail after a signup invitation.
Examples
client
.getSignupData('eyJ0eXAiOiJKV1QiL...')
.then(openIdUser => {
// Display the signup data
})
.catch(err => console.error(err))
Response
Type: Promise<OpenIdUser>
OpenIdUser
sub |
The subject claim identifies the profile. |
name |
The full name of the profile. |
givenName |
The given name of the profile. |
middleName |
The middle name of the profile. |
familyName |
The family name of the profile. |
nickname |
The nickname of the profile. |
preferredUsername |
The shorthand name by which the user wishes to be referred to. |
profile |
The URL of one of the user’s profile pages (usually a social provider’s page). |
picture |
The URL of one of the user’s profile pictures. This URL refers to an image file (PNG, JPEG, or GIF image file). |
website |
The URL of the user’s web page or blog. |
email |
The primary email address of the profile. |
emailVerified |
True if the user’s e-mail address has been verified; otherwise false. |
gender |
The gender of the profile. Allowed values are |
birthdate |
The birthdate of the profile, represented as an ISO 8601 |
zoneinfo |
The string from zoneinfo time zone database representing the user’s time zone. |
locale |
The user’s language code in lowercase and country code in uppercase, separated by a dash. |
phoneNumber |
The user’s preferred telephone number. |
phoneNumberVerified |
|
addresses |
The list of the profile’s postal addresses |
customFields |
The custom fields of the profile. |
updatedAt |
The time the profile’s information was last updated. |