Checks if a credential needs to be refreshed.
The credential to check.
OptionalauthScheme: AuthSchemeThe authentication scheme (optional).
True if the credential needs to be refreshed, False otherwise.
Refreshes a credential if needed.
The credential to refresh.
OptionalauthScheme: AuthSchemeThe authentication scheme (optional).
The refreshed credential.
Base interface for credential refreshers.
Credential refreshers are responsible for checking if a credential is expired or needs to be refreshed, and for refreshing it if necessary.