Crate azure_sdk_auth_aad

Source

Modules§

errors

Structs§

AuthObj
AzureCliCredential
Enables authentication to Azure Active Directory using Azure CLI to obtain an access token.
ClientId
Client identifier issued to the client during the registration process described by Section 2.2.
ClientSecret
Client password issued to the client during the registration process described by Section 2.2.
ClientSecretCredential
Enables authentication to Azure Active Directory using a client secret that was generated for an App Registration. More information on how to configure a client secret can be found here: https://docs.microsoft.com/en-us/azure/active-directory/develop/quickstart-configure-app-access-web-apis#add-credentials-to-your-web-application
DefaultCredential
Provides a default TokenCredential authentication flow for applications that will be deployed to Azure. The following credential types if enabled will be tried, in order:
DefaultCredentialBuilder
Provides a mechanism of selectively disabling credentials used for a DefaultCredential instance
DeviceCodeAuthorization
DeviceCodeErrorResponse
DeviceCodePhaseOneResponse
EnvironmentCredential
Enables authentication to Azure Active Directory using client secret, or username and password, details configured in the following environment variables:
LoginResponse
ManagedIdentityCredential
Attempts authentication using a managed identity that has been assigned to the deployment environment. This authentication type works in Azure VMs, App Service and Azure Functions applications, as well as the Azure Cloud Shell
TokenResponse
Represents an Azure service bearer access token with expiry information.

Enums§

DeviceCodeError
DeviceCodeResponse

Traits§

TokenCredential
Represents a credential capable of providing an OAuth token.

Functions§

authorize_client_credentials_flow
authorize_code_flow
begin_authorize_device_code_flow
exchange
exchange_refresh_token
naive_server