ExAzureCore.Auth.OAuth2 (ex_azure_core v0.3.0)

Copy Markdown

OAuth2 token exchange for Azure AD.

Summary

Functions

Exchanges a client assertion for an access token.

Parses a successful token response.

Builds the token endpoint URL for the given tenant.

Functions

get_token(tenant_id, client_id, assertion, scope, cloud \\ :public)

Exchanges a client assertion for an access token.

parse_token_response(response)

Parses a successful token response.

token_endpoint(tenant_id, cloud \\ :public)

Builds the token endpoint URL for the given tenant.