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
Name | Type | Description |
---|---|---|
is_expired | boolean | A 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. |
callback | TokenCallback | non null A callback that returns a promise when the conference access token needs to be refreshed. |
Updated almost 2 years ago