Rate this page:

RefreshTokenCallback

Interface that the application implements to receive the result of a token refresh.

Methods

onSuccess

Copy URL
fun onSuccess(authParams: 

AuthParams

):

Unit

Reports successful token refresh.

Parameters

  • authParams:

    AuthParams

    that can be used to login via access token

Returns

  • type:

    Unit

onFailure

Copy URL
fun onFailure(error: 

LoginError

):

Unit

Reports token refresh failure.

Parameters

Returns

  • type:

    Unit