Skip to main content

Crate authkestra_flow

Crate authkestra_flow 

Source
Expand description

§Authkestra 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.
  • Authkestra: The main service that holds providers, session stores, and token managers.
  • AuthkestraBuilder: A builder for configuring and creating an Authkestra instance.
  • CredentialsFlow: Orchestrates direct credentials-based authentication (e.g., email/password).

Re-exports§

pub use client_credentials_flow::ClientCredentialsFlow;
pub use device_flow::DeviceAuthorizationResponse;
pub use device_flow::DeviceFlow;

Modules§

client_credentials_flow
Client Credentials flow implementation.
device_flow
Device Authorization flow implementation.

Structs§

Authkestra
The unified Authkestra service.
AuthkestraBuilder
A builder for configuring and creating an Authkestra instance.
CredentialsFlow
Orchestrates a direct credentials flow.
OAuth2Flow
Orchestrates the standard OAuth2 Authorization Code flow.

Traits§

ErasedOAuthFlow
Orchestrates the Authorization Code flow.