Skip to main content

Module auth

Module auth 

Source

Re-exports§

pub use plugin_registry::AuthPluginRegistry;
pub use registry::ProviderRegistry;
pub use storage::DefaultAuthStorage;

Modules§

api_key
error
plugin_registry
registry
storage

Structs§

AnthropicAuth
AuthErrorContext
AuthFlowWrapper
Wrapper to convert a concrete AuthenticationFlow into a DynAuthenticationFlow
AuthHeaderContext
HeaderPair
ModelId
OpenAiResponsesAuth
ProviderId

Enums§

ApiKeyOrigin
AuthDirective
AuthError
AuthErrorAction
AuthMethod
Available authentication methods for a provider
AuthProgress
Progress status for authentication flows
AuthSource
Credential
CredentialType
InstructionPolicy
RequestKind

Traits§

AuthHeaderProvider
AuthPlugin
AuthStorage
AuthenticationFlow
Generic authentication flow trait that providers can implement
DynAuthenticationFlow
Type-erased authentication flow for dynamic dispatch
ModelVisibilityPolicy

Type Aliases§

AuthTokens
Result