Rate this page:

AuthResult

Props

code

Copy URL
code: 

number

Optional. Refresh token error code, possible values are:

Code Description
401 invalid token
404 invalid username
500 internal error
701 refresh token expired

displayName

Copy URL
displayName: 

string

Optional. Authorized user's display name

key

Copy URL
key: 

string

Optional. Use to calculate the hash parameter for Client.loginWithOneTimeKey method. Triggers the AuthResult event with the key after the Client.requestOneTimeLoginKey method is called.

result

Copy URL
result: 

boolean

Whether the refresh is successful

tokens

Copy URL
tokens: 

LoginTokens

Optional. New tokens structure