authCallback property
AuthCallback?
authCallback
getter/setter pair
Called when a new token is required.
The role of the callback is to obtain a fresh token, one of: an Ably Token string (in plain text format); a signed TokenRequest; a TokenDetails (in JSON format); an Ably JWT. See the authentication documentation for details of the Ably TokenRequest format and associated API calls.
Implementation
AuthCallback? authCallback;