Configurable encoding boundary for provider API keys and OAuth tokens.
A codec receives the credential field as context. This lets a codec bind its
ciphertext to the field and prevents an access token from being used as a
refresh token. Configure a module or a {module, options} tuple with
:provider_token_codec.
Summary
Types
Callbacks
Functions
@spec credential(LLMProxy.Schemas.ProviderToken.t()) :: {:ok, LLMProxy.Provider.Credential.t()} | {:error, term()}