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
andazure.identity.broker.UsernamePasswordBrokerCredential
which have broker support.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file azure-identity-broker-1.0.0b1.tar.gz
.
File metadata
- Download URL: azure-identity-broker-1.0.0b1.tar.gz
- Upload date:
- Size: 9.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: RestSharp/106.13.0.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f321700bad3efbe0e127c4acfb63ad2233fb41ee093e13652296df421fca05b8 |
|
MD5 | 639b46751a0fe5d034640875fa0db11a |
|
BLAKE2b-256 | 78f5e2c6d246825f6f6db18b1686589b714d24ba40f50e5d878c0f1ea47e95fa |
File details
Details for the file azure_identity_broker-1.0.0b1-py3-none-any.whl
.
File metadata
- Download URL: azure_identity_broker-1.0.0b1-py3-none-any.whl
- Upload date:
- Size: 10.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: RestSharp/106.13.0.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ad66792e898fc027e3954d3bd61168cf8b790ae3f2ae85d4b405c136ac438cb3 |
|
MD5 | 9062a646011881dffe80e0da968b5771 |
|
BLAKE2b-256 | 4f126221dd7795c7e9666158f47dc57ef600e647467086a4446c9bfd9d71e322 |