Authentication Failure Callback
Triggers a function when the embed token has expired.
- This function is provided as a way to register a callback to another function to handle token failures or expiration.
Example
The following initializes a new embed client for the target instance of Pyramid and sets the authentication failure callback to a separate function called “AuthFailure”. If the token fails, AuthFailure will be called and can handle the process from there.