Constructors
constructor
Parameters
Properties
Private client
Methods
isInstalled
- isInstalled(): Promise<Response<boolean>>
Returns Promise<Response<boolean>>
login
- login(params: { authcode: boolean; password: string; username: string }): Promise<Response<AccessToken>>
Parameters
params: { authcode: boolean; password: string; username: string }
authcode: boolean
password: string
username: string
needMFACode
Parameters
params: { password: string; username: string }
password: string
username: string
refreshToken
Parameters
resetPassword
- resetPassword(params: { code?: string; email: string; password?: string; username: string }): Promise<object>
Parameters
params: { code?: string; email: string; password?: string; username: string }
Optional code?: string
email: string
Optional password?: string
username: string
Returns Promise<object>
sendResetPasswordCode
- sendResetPasswordCode(params: { code?: string; email: string; password?: string; username: string }): Promise<object>
Parameters
params: { code?: string; email: string; password?: string; username: string }
Optional code?: string
email: string
Optional password?: string
username: string
Returns Promise<object>