Skip to main content

Microsoft Azure Identity Broker plugin for Python

Project description

Azure Identity Broker plugin for Python

Getting started

Install the package

Install the Azure Identity Broker plugin for Python with pip:

pip install azure-identity-broker

Examples

Now you can create azure.identity.broker.InteractiveBrowserBrokerCredential and azure.identity.broker.UsernamePasswordBrokerCredential with broker support.

import win32gui
from azure.identity.broker import InteractiveBrowserBrokerCredential

# Get the handle of the current window
current_window_handle = win32gui.GetForegroundWindow()

credential = InteractiveBrowserBrokerCredential(allow_broker=True, parent_window_handle=current_window_handle)

Troubleshooting

This client raises exceptions defined in Azure Core.

Contributing

This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.microsoft.com.

When you submit a pull request, a CLA-bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.

Release History

1.0.0b1 (2023-10-12)

Features Added

  • Added azure.identity.broker.InteractiveBrowserBrokerCredential and azure.identity.broker.UsernamePasswordBrokerCredential which have broker support.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

azure-identity-broker-1.0.0b1.tar.gz (9.6 kB view details)

Uploaded Source

Built Distribution

azure_identity_broker-1.0.0b1-py3-none-any.whl (10.3 kB view details)

Uploaded Python 3

File details

Details for the file azure-identity-broker-1.0.0b1.tar.gz.

File metadata

File hashes

Hashes for azure-identity-broker-1.0.0b1.tar.gz
Algorithm Hash digest
SHA256 f321700bad3efbe0e127c4acfb63ad2233fb41ee093e13652296df421fca05b8
MD5 639b46751a0fe5d034640875fa0db11a
BLAKE2b-256 78f5e2c6d246825f6f6db18b1686589b714d24ba40f50e5d878c0f1ea47e95fa

See more details on using hashes here.

File details

Details for the file azure_identity_broker-1.0.0b1-py3-none-any.whl.

File metadata

File hashes

Hashes for azure_identity_broker-1.0.0b1-py3-none-any.whl
Algorithm Hash digest
SHA256 ad66792e898fc027e3954d3bd61168cf8b790ae3f2ae85d4b405c136ac438cb3
MD5 9062a646011881dffe80e0da968b5771
BLAKE2b-256 4f126221dd7795c7e9666158f47dc57ef600e647467086a4446c9bfd9d71e322

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page