Skip to main content

steer_auth_plugin/
lib.rs

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