AccessTokenStorage

A protocol for managing storage of the user’s access token.

  • This method is called as part of EngagementSDK setup to check for a stored access token between sessions.

  • This method is called when a new access token is generated. This method should store the token where it can be retreived in future sessions via the fetchAccessToken() method.