UserInfo
Last updated
Last updated
response : any
The response that this object was created with.
constructor(response)
Create an object that contains user information
This probably shouldn't get called directly, use instead.
id()
Get an unique identifier about the user.
sub()
Get an unique identifier about the user.
firstName()
Get the user's first name.
lastName()
Get the user's last name.
birthDate()
Get the user's birth date.
nationalId()
Get the user's unique national identifier (for example their SSN in the US).
trustLevel()
Get the user's Vulos Identity trust level.
1
indicates that the user has done no KYC verification but has provided basic details.
2
indicates that the user has successfully KYC verification.
Anything other than that indicates that the user has done some action to reduce or increase their trust level that hasn't been specified in this document.
isEmailVerified()
Get the user's email verification status.
isKycVerified()
Get the user's KYC verification status.
address()
Get the user's address.
email()
Get the user's email address.
hasRole(role)
Check if the user has a specific role in the associated organization to the application.
isInOrganizationWithName(name)
Check if the user is in a specific organization by name.
isInOrganizationWithId(id)
Check if the user is in a specific organization by id.
wallets()
Get the user's Ethereum wallet addresses.
picture()
Get the user's profile picture.
See for more information.
This is the same as , it exists for readability.
This function requires the scope.
This is the same as , it exists for readability.
This function requires the scope.
This function requires the scope.
This function requires the scope.
This function requires the scope.
This function requires the scope.
This function requires the scope.
This function requires the scope.
This function requires the scope.
This function requires the scope.
This function requires the scope.
This function requires the scope.
This function requires the scope.
It is recommended to use instead.
You can obtain the organization ID using the or by checking the URL of the organization's page on the Vulos Identity dashboard.
This function requires the scope.
This function requires the scope.
This function requires the scope.