refreshAuthKey abstract method

Future<RefreshAuthKeyResult> refreshAuthKey({
  1. bool force = false,
})

Refreshes the authentication key and returns the result of the operation. If the refresh is successful, should return RefreshAuthKeyResult.success to retry requests that failed due to authentication errors. Be sure to annotate the refresh endpoint with @unauthenticatedClientCall to avoid a deadlock on the authHeaderValue getter on a refresh call. If the force parameter is set to true, the refresh should be performed regardless of skip conditions that the provider might have.

Implementation

Future<RefreshAuthKeyResult> refreshAuthKey({bool force = false});