Browser Credential Class
Opens a browser to interactively authenticate a user.
<xref:azure.identity.get_token> opens a browser to a login URL provided by Azure Active Directory and authenticates a user there with the authorization code flow, using PKCE (Proof Key for Code Exchange) internally to protect the code.
Authority of an Azure Active Directory endpoint, for example "login.microsoftonline.com", the authority for Azure Public Cloud (which is the default). AzureAuthorityHosts defines authorities for other clouds.
an Azure Active Directory tenant ID. Defaults to the "organizations" tenant, which can authenticate work or school accounts.
Client ID of the Azure Active Directory application users will sign in to. If unspecified, users will authenticate to an Azure development application.
a username suggestion to pre-fill the login page's username/email address field. A user may still log in with a different username.
a redirect URI for the application identified by client_id as configured in Azure Active Directory, for example "http://localhost:8400". This is only required when passing a value for client_id, and must match a redirect URI in the application's registration. The credential must be able to bind a socket to this URI.
AuthenticationRecord returned by <xref:azure.identity.authenticate>
if True, <xref:azure.identity.get_token> will raise AuthenticationRequiredError when user interaction is required to acquire a token. Defaults to False.
configuration for persistent token caching. If unspecified, the credential will cache tokens in memory.
seconds to wait for the user to complete authentication. Defaults to 300 (5 minutes).