Class SpeechifyAccessTokenManager

The Speechify Access Token Manager handles the access token issue, refresh, and erasing in accordance with the end-user auth status change. You have to implement the AccessTokenGetter function to obtain the access token (typically it should be a plain HTTP call to your own server endpoint calling the token issue API). This API is also exposed via the SDK as the Speechify.accessTokenIssue method. Read more about the Speechify authentication.

Constructors

Methods

Constructors

Methods

  • Set the user authentication status. Call this method when the user logs in or logs out. It is safe to call this method multiple times with the same value.

    Parameters

    • isAuthenticated: boolean

    Returns void