Skip to main content

steer_core/auth/
mod.rs

1pub mod api_key;
2pub mod error;
3pub mod plugin_registry;
4pub mod registry;
5pub mod storage;
6
7pub use error::{AuthError, Result};
8pub use plugin_registry::AuthPluginRegistry;
9pub use registry::ProviderRegistry;
10pub use steer_auth_plugin::flow::{
11    AuthFlowWrapper, AuthMethod, AuthProgress, AuthenticationFlow, DynAuthenticationFlow,
12};
13pub use steer_auth_plugin::identifiers::{ModelId, ProviderId};
14pub use steer_auth_plugin::{AnthropicAuth, AuthPlugin, OpenAiResponsesAuth};
15pub use steer_auth_plugin::{
16    ApiKeyOrigin, AuthDirective, AuthErrorAction, AuthErrorContext, AuthHeaderContext,
17    AuthHeaderProvider, AuthSource, HeaderPair, InstructionPolicy, ModelVisibilityPolicy,
18    RequestKind,
19};
20pub use storage::{AuthStorage, AuthTokens, Credential, CredentialType, DefaultAuthStorage};