setTokens method
Persists token. Emits TokenRefreshedEvent.
Implementation
Future<void> setTokens(Token token) async {
_checkNotDisposed();
await _storage.write(token);
_emit(TokenRefreshedEvent(token));
}
Persists token. Emits TokenRefreshedEvent.
Future<void> setTokens(Token token) async {
_checkNotDisposed();
await _storage.write(token);
_emit(TokenRefreshedEvent(token));
}