isResponseAndRetry property
bool
get
isResponseAndRetry
Whether the response-and-retry strategy is active.
Returns true if:
- The client currently has authorization headers set
- The strategy is set to RefreshTokenStrategy.responseAndRetry
Implementation
bool get isResponseAndRetry =>
authHandler.usesAuth &&
authOptions.refreshTokenExecutionType ==
RefreshTokenStrategy.responseAndRetry;