create static method

TokenInfo? create({
  1. required String accessToken,
  2. required DateTime expirationDate,
  3. required bool isSslRequired,
})

Creates an instance of token info from given parameters.

Parameters:

  • accessToken — The access token string.
  • expirationDate — The token expiration date.
  • isSslRequired — True if the token must be passed over HTTPS, false otherwise.