setToken method

void setToken(
  1. String token
)

Sets the token and updates the expiry date based on the configured session duration.

Implementation

void setToken(String token) {
  _tokenManager.setToken(token);
}