clearAuthToken method

  1. @override
  2. @protected
  3. @visibleForTesting
void clearAuthToken()
override

Removes currentToken and removes the Authorization header from RequestOptions

Implementation

@override
@protected
@visibleForTesting
void clearAuthToken() {
  currentToken = null;
  RenovationRequestOptions.headers!.remove('Authorization');
}