SIGN UP

AuthResult

Properties

code

code: number
Refresh token error code, possible values are:
Code Description
401 invalid token
404 invalid username
500 internal error
701 refresh token expired

displayName

displayName: string

Authorized user's display name

key

key: string

This parameter is used to calculate hash parameter for Client.loginWithOneTimeKey method. AuthResult with the key dispatched after Client.requestOneTimeLoginKey method was called

result

result: boolean

True in case of successful refresh, false - otherwise

tokens

tokens: LoginTokens

New tokens structure