ez-token 0.1.0

CLI tool for generating OAuth2 access tokens via PKCE and Client Credentials for Microsoft Entra ID and Auth0
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//! Authentication flow implementations for Microsoft Entra ID (Azure AD) and Auth0.
//!
//! This module provides the core OAuth2 authentication logic, kept intentionally
//! separate from CLI concerns in [`crate::cli`]. Each submodule implements a
//! specific grant type or shared abstraction.
//!
//!
/// The [`Authenticator`](authenticator::Authenticator) trait and execution helpers.
pub mod authenticator;

/// Machine-to-machine flow via the Client Credentials grant.
pub mod client_credentials;

/// Interactive browser login via the Authorization Code flow with PKCE.
pub mod pkce;

/// OAuth2 endpoint URL builder for supported identity providers.
pub mod urls;