Exchanges the provided authentication credential for a usable token or credential.
The security scheme.
Optional_authCredential: AuthCredentialThe authentication credential.
An updated AuthCredential object containing the fetched credential. For simple schemes like API key, it may return the original credential if no exchange is needed.
Base class for authentication credential exchangers.
A subclass exchanges the credential an OpenAPI tool was configured with for one that can be sent to the API. The base implementation always throws, so a subclass that forgets to override the method fails on the first call rather than silently returning nothing.