Business
License
Azure Identity Broker offers several account types for users looking to authenticate and manage their Azure resources. The primary account types include:
To utilize these account types, users must ensure they are using the appropriate version of the Azure Identity Broker package, specifically version 1.1.0 or higher.
Opening an account with Azure Identity Broker involves the following steps:
dotnet add package azure.identity.broker --version 1.1.0
Register Your Application: Navigate to the Azure portal and register your application under Microsoft Entra ID.
Set Up Redirect URIs: Add the WAM redirect URI in your app registration:
ms-appx-web://microsoft.aad.broker.plugin/{client_id}
Configure Authentication Settings: Under the app registration, enable public client flows to allow interactive logins.
Choose Account Type: Decide whether to use the Interactive Browser Credential or the Interactive Browser Broker Credential based on your application's needs.
Implement Authentication Code: Use the appropriate code to implement authentication in your application. For example, to authenticate using the Interactive Browser Broker Credential:
import win32gui
from azure.identity.broker import InteractiveBrowserBrokerCredential
window_handle = win32gui.get_foreground_window()
credential = InteractiveBrowserBrokerCredential(parent_window_handle=window_handle, use_default_broker_account=True)
By following these steps, users can effectively set up their Azure Identity Broker accounts and utilize the authentication features provided.
Explore broker markets account types: forex/trading accounts with demo access.