Type Alias SignatureTokenRefreshCallback
SignatureTokenRefreshCallback: (
newRefreshToken: string,
newAccessToken?: string,
) => Promise<void>
Type Declaration
- (newRefreshToken: string, newAccessToken?: string): Promise<void>
Parameters
- newRefreshToken: string
OptionalnewAccessToken: string
Returns Promise<void>
Callback a provider invokes when it refreshes OAuth tokens, so the engine can persist the new tokens back to the Credential Engine. Mirrors the Storage subsystem's TokenRefreshCallback.