RefreshTokenCallback

The RefreshTokenCallback model is responsible for refreshing the conference access token.

Available in the package com.voxeet.sdk.authent.token.RefreshTokenCallback.

Methods

onRequired

onRequired(is_expired: boolean, @NonNull callback: TokenCallback): void

A callback that returns a promise when the conference access token needs to be refreshed.

Parameters

NameTypeDescription
is_expiredbooleanA boolean value that informs whether the previous conference access token has expired. This parameter indicates the current state of the access token and should not be used for determining whether the access token should refresh.
callbackTokenCallbacknon null A callback that returns a promise when the conference access token needs to be refreshed.