Properties
Readonly
alias
alias: string
Readonly
capabilities
capabilities: any
Readonly
created
created: number
Readonly
domain
domain: string
Readonly
email
email: string
Readonly
landLineNumber
landLineNumber: string
Readonly
lastLogin
lastLogin: number
Readonly
mobilePhone
mobilePhone: any
Readonly
role
role: string
Readonly
username
username: string
Methods
getAddress
- getAddress(): string
Returns string
init
- init(): Promise<User>
Returns Promise<User>
toJSON
- toJSON(): object
Returns object
update
- update(objToUpdate): Promise<User>
Returns Promise<User>
validatePhone
- validatePhone(code, phone): Promise<User>
Parameters
- code: string
- phone: string
Returns Promise<User>
Get the user who is authenticated.