Skip to main content

ez_token/services/authentication/
mod.rs

1//! Authentication flow implementations for Microsoft Entra ID (Azure AD) and Auth0.
2//!
3//! This module provides the core OAuth2 authentication logic, kept intentionally
4//! separate from CLI concerns in [`crate::cli`]. Each submodule implements a
5//! specific grant type or shared abstraction.
6//!
7//!
8/// The [`Authenticator`](authenticator::Authenticator) trait and execution helpers.
9pub mod authenticator;
10
11/// Machine-to-machine flow via the Client Credentials grant.
12pub mod client_credentials;
13
14/// Interactive browser login via the Authorization Code flow with PKCE.
15pub mod pkce;
16
17/// OAuth2 endpoint URL builder for supported identity providers.
18pub mod urls;