Class InteractiveBrowserCredential

java.lang.Object
com.azure.identity.InteractiveBrowserCredential
All Implemented Interfaces:
TokenCredential

public class InteractiveBrowserCredential extends Object implements TokenCredential
An AAD credential that acquires a token for an AAD application by prompting the login in the default browser. When authenticated, the oauth2 flow will notify the credential of the authentication code through the reply URL.

The application to authenticate to must have delegated user login permissions and have http://localhost:{port} listed as a valid reply URL.