Expand description
§Engine Flow
authkestra-flow orchestrates authentication flows, such as OAuth2 Authorization Code,
PKCE, Client Credentials, and Device Flow. It acts as the bridge between the core traits
and the framework-specific adapters.
§Key Components
OAuth2Flow: Orchestrates the standard OAuth2 Authorization Code flow.Engine: The main service that holds providers, session stores, and token managers.EngineBuilder: A builder for configuring and creating anEngineinstance.CredentialsFlow: Orchestrates direct credentials-based authentication (e.g., email/password).
Re-exports§
pub use crate::auth::ErasedOAuthFlow;pub use crate::auth::Session;pub use crate::auth::SessionConfig;pub use crate::auth::SessionStore;pub use crate::engine::Configured;pub use crate::engine::Engine;pub use crate::engine::EngineBuilder;pub use crate::engine::Missing;pub use client_credentials_flow::ClientCredentialsFlow;pub use device_flow::DeviceAuthorizationResponse;pub use device_flow::DeviceFlow;pub use oauth2::OAuth2Flow;pub use chrono;
Modules§
- client_
credentials_ flow - Client Credentials flow implementation.
- device_
flow - Device Authorization flow implementation.
- oauth2
- OAuth2 Authorization Code flow implementation.
Structs§
- Credentials
Flow - Orchestrates a direct credentials flow.
- Flow
Context - Context for an authentication flow.
Enums§
- Flow
Result - Result of an authentication flow execution.
Traits§
- Flow
- Orchestrates the steps of an authentication protocol (e.g., OAuth2, Device Flow).