Type Alias: EnhancedAuthHandler()
EnhancedAuthHandler = () =>
Promise<string>
Defined in: packages/sdk/src/api/base.ts:86
Handler for enhanced authentication requirement (RFC 9470 Step-Up Authentication). Called when a 401 response includes WWW-Authenticate header with error="insufficient_user_authentication". Should return a promise that resolves with the new auth token after re-auth.
Returns
Promise<string>