azr0.2.1 package

Credential Chain for Seamless 'OAuth 2.0' Authentication to 'Azure Services'

api_client

Azure API Client

api_graph_resource

Microsoft Graph API Resource

api_resource

Azure API Resource

api_service

API Service Base Class

AuthCodeCredential

Authorization code credential authentication

az_cli_account_show

Show Azure CLI Account Information

az_cli_get_token

Get Access Token from Azure CLI

az_cli_is_login

Check if User is Logged in to Azure CLI

az_cli_login

Azure CLI Device Code Login

az_cli_logout

Azure CLI Logout

azr_graph_client

Create a Microsoft Graph API Client

azr-package

azr: Credential Chain for Seamless 'OAuth 2.0' Authentication to 'Azur...

azure_authority_hosts

Azure Authority Host URLs

azure_client

Azure Default Client Configuration

azure_scopes

Common Azure OAuth Scopes

AzureCLICredential

Azure CLI credential authentication

ClientSecretCredential

Client secret credential authentication

credential_chain

Create Custom Credential Chain

default_azure_client_id

Get default Azure client ID

default_azure_client_secret

Get default Azure client secret

default_azure_config_dir

Get default Azure configuration directory

default_azure_host

Get default Azure authority host

default_azure_oauth_client

Create default Azure OAuth client

default_azure_scope

Get default Azure OAuth scope

default_azure_tenant_id

Get default Azure tenant ID

default_azure_url

Get default Azure OAuth URLs

default_credential_chain

Create Default Credential Chain

default_non_auth

Default No Authentication

default_redirect_uri

Get default OAuth redirect URI

default_response_handler

Default Response Handler

DefaultCredential

Default credential authentication

DeviceCodeCredential

Device code credential authentication

environment_variables

Azure Environment Variable Names

get_credential_auth

Get Credential Authentication Function

get_credential_provider

Get Credential Provider

get_request_authorizer

Get Default Request Authorizer Function

get_token_provider

Get Default Token Provider Function

get_token

Get Authentication Token

InteractiveCredential

Interactive credential base class

is_hosted_session

Detect if running in a hosted session

Implements a credential chain for 'Azure OAuth 2.0' authentication based on the package 'httr2''s 'OAuth' framework. Sequentially attempts authentication methods until one succeeds. During development allows interactive browser-based flows ('Device Code' and 'Auth Code' flows) and non-interactive flow ('Client Secret') in batch mode.

  • Maintainer: Pedro Baltazar
  • License: MIT + file LICENSE
  • Last published: 2026-01-07