azure_identity_helpers/lib.rs
1//! # Azure Identity Helpers
2//!
3//! `azure-identity-helpers` provides unofficial utility components for handling
4//! Azure authentication and identity management in Rust applications.
5//!
6//! This crate offers helper components for Azure authentication scenarios,
7//! including [AzureAuth CLI](https://github.com/AzureAD/microsoft-authentication-cli)
8//! integration, credential chaining, device code authentication, and refresh
9//! token handling.
10//!
11//! ## Modules
12//!
13//! - `azureauth_cli_credentials`: Implements [AzureAuth CLI](https://github.com/AzureAD/microsoft-authentication-cli) based authentication. Originally from `azure_identity` 0.20.0.
14//! - `cache`: Re-implements the azure-identity caching provider
15//! - `chained_token_credential`: Implements credential chaining to try multiple authentication methods. This method has been added to an unreleased version of the upstream `azure_identity` crate. This will be removed once the updated upstream crate is released.
16//! - `device_code`: Provides device code flow authentication support for Azure services. Originally from `azure_identity` 0.20.0.
17//! - `devicecode_credentials`: Implements a credential that can authenticate using device code flow. Uses the `device_code` module's functionality.
18//! - `refresh_token`: Handles refresh token operations for maintaining authentication sessions. Originally from `azure_identity` 0.20.0.
19//!
20
21#![forbid(unsafe_code)]
22#![deny(
23 clippy::indexing_slicing,
24 clippy::manual_assert,
25 clippy::panic,
26 clippy::expect_used,
27 clippy::unwrap_used
28)]
29
30pub mod azureauth_cli_credentials;
31pub mod cache;
32pub mod chained_token_credential;
33pub mod device_code;
34pub mod devicecode_credentials;
35pub mod refresh_token;