AADTokenCredentials Class
Credentials objects for AAD token retrieved through external process e.g. Python ADAL lib.
If you just provide "token", refresh will be done on Public Azure with default public Azure "resource". You can set "cloud_environment", "tenant", "resource" and "client_id" to change that behavior.
Optional kwargs may include:
cloud_environment (msrestazure.azure_cloud.Cloud): A targeted cloud environment
china (bool): Configure auth for China-based service, default is 'False'.
tenant (str): Alternative tenant, default is 'common'.
resource (str): Alternative authentication resource, default is 'https://management.core.windows.net/'.
verify (bool): Verify secure connection, default is 'True'.
cache (adal.TokenCache): A adal.TokenCache, see ADAL configuration
for details. This parameter is not used here and directly passed to ADAL.
- Inheritance
-
AADTokenCredentials
Constructor
AADTokenCredentials(token, client_id=None, **kwargs)
Parameters
Feedback
Submit and view feedback for