Skip to main content

Module services

Module services 

Source
Expand description

Core service implementations for authentication, HTTP, and local server.

Contains the OAuth2 flow implementations (services::authentication), the shared HTTP client (services::http_client), and the local callback server (services::local_server) used during interactive login. Core service implementations for ez-token.

This module groups the infrastructure layer, kept intentionally separate from CLI concerns in crate::cli. Each submodule handles a distinct technical responsibility required by the OAuth2 flows.

Modulesยง

authentication
OAuth2 flow implementations for Microsoft Entra ID and Auth0. Authentication flow implementations for Microsoft Entra ID (Azure AD) and Auth0.
http_client
Shared HTTP client configured for OAuth2 token requests. Shared HTTP client configuration for OAuth2 requests.
local_server
Local callback server for the PKCE authorization redirect. Local HTTP server for receiving OAuth2 callbacks.