clearToken method

Future<void> clearToken()
inherited

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

Implementation

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