pyapacheatlas.auth.azcredential.AzCredentialWrapper#

class pyapacheatlas.auth.azcredential.AzCredentialWrapper(credential)#

Thin wrapper around azure.core.credentials.TokenCredential

__init__(credential)#
Parameters

credential (azure.core.credentials.TokenCredential) – The azure-identity credential you’ve provided. You most likely want to provide the DefaultAzureCredential().

Methods

__init__(credential)

param azure.core.credentials.TokenCredential credential

get_authentication_headers()

Gets the current access token or refreshes the token if it has expired.

get_graph_authentication_headers()

Gets the current graph access token or refreshes the token if it has expired.