Methods
getToken
getToken(): Promise<undefined | string> Returns Promise<undefined | string>
login
login(email: string, password: string): Promise<undefined | UserItem> Parameters
- email: string
- password: string
Returns Promise<undefined | UserItem>
passwordReset
passwordReset(token: string, new_password: string): any Parameters
- token: string
- new_password: string
Returns any
register
register(email: string, password: string, userName: string): Promise<void> Parameters
- email: string
- password: string
- userName: string
Returns Promise<void>
requestPasswordReset
requestPasswordReset(email: string, reset_url?: string): any Parameters
- email: string
Optional
reset_url: string
Returns any