addOnTokenRefreshCallback
Receive a callback when the bearer token refreshes
You can add a callback method that will be called each time the bearer token is refreshed. This can only be used while using the Venly Connect JS authentication client. This function has one parameter: a callback function accepting one parameter (the new bearer token) and returning void.
Signature
Returns
Parameters
Parameter | Description |
| a callback function accepting one parameter (the new bearer token) and returning void. (Required) |
Example
Object Types
pageAuthenticationResultLast updated