clearToken method

Future<void> clearToken()

Clears token storage and updates the AuthenticationStatus to AuthenticationStatus.unauthenticated.

Implementation

Future<void> clearToken() async {
  await _tokenStorage.delete();
  _updateStatus(null);
}