clearToken method
Clears token storage and updates the AuthenticationStatus to AuthenticationStatus.unauthenticated.
Implementation
Future<void> clearToken() async {
await _tokenStorage.delete();
_updateStatus(null);
}
Clears token storage and updates the AuthenticationStatus to AuthenticationStatus.unauthenticated.
Future<void> clearToken() async {
await _tokenStorage.delete();
_updateStatus(null);
}