configure method

Future<void> configure()

Implementation

Future<void> configure() async {
  _refreshToken = await _tokenStorage.getRefreshToken(name);
  final sessionState = _refreshToken == null
      ? SessionState.noSession
      : SessionState.authenticated;
  _setSessionState(sessionState, SessionStateChangeReason.foundToken);
}