Rate this page:

RefreshTokenCallback

This API is in beta and subject to change.

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

Methods

onSuccess

Copy URL
fun onSuccess(authParams: 

AuthParams

):

Unit

This API is in beta and subject to change.

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

This API is in beta and subject to change.

Reports token refresh failure.

Parameters

Returns

  • type:

    Unit