APIAuthProviderRefresher typedef

APIAuthProviderRefresher = Future<void> Function([APIAuthorizationType<AmplifyAuthProvider>?])

Refreshes the token for a given type or all registered types if none is passed.

Implementation

typedef APIAuthProviderRefresher = Future<void> Function([
  APIAuthorizationType?,
]);