OptionalcustomExchangers: Partial<Record<AuthCredentialTypes, BaseCredentialExchanger>>Optional exchangers that add to or override the built-in ones. The key is the auth credential type; the value is the exchanger instance to use for that type.
Exchange credential if needed.
The credential to exchange.
OptionalauthScheme?: AuthSchemeThe authentication scheme (optional, some exchangers don't need it).
The exchanged credential.
Automatically selects the appropriate credential exchanger based on the auth scheme. Ported from Python implementation.
Example
Example