refreshTokenAsync

open fun refreshTokenAsync(clientIdentifier: String, brandIdentity: String, request: RefreshTokenRequest, cancellationSignal: CancellationSignal?, callback: WalletCallback<Token>)

Asynchronously obtain a new access token using refresh token from previous authentication.

Parameters

clientIdentifier

The client identifier used to authenticate requests.

brandIdentity

The identity of the partner using the Embedded Wallet.

request

A RefreshTokenRequest object with the refresh token.

cancellationSignal

A CancellationSignal for canceling the operation.

callback

A callback to handle the result or error asynchronously.