Rate this page:

AuthResult

Props

code

Optional
Copy URL
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

Optional
Copy URL
displayName: 

string

Authorized user's display name

key

Optional
Copy URL
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

Copy URL
result: 

boolean

True in case of successful refresh, false - otherwise

tokens

Optional
Copy URL
tokens: 

LoginTokens

New tokens structure