public class InteractiveBrowserCredentialBuilder extends AadCredentialBuilderBase<InteractiveBrowserCredentialBuilder>
InteractiveBrowserCredential.InteractiveBrowserCredential| Constructor and Description |
|---|
InteractiveBrowserCredentialBuilder() |
| Modifier and Type | Method and Description |
|---|---|
InteractiveBrowserCredential |
build()
Creates a new
InteractiveBrowserCredential with the current configurations. |
InteractiveBrowserCredentialBuilder |
port(int port)
Sets the port for the local HTTP server, for which
http://localhost:{port} must be
registered as a valid reply URL on the application. |
authorityHost, clientId, tenantIdmaxRetry, proxyOptions, retryTimeoutpublic InteractiveBrowserCredentialBuilder port(int port)
http://localhost:{port} must be
registered as a valid reply URL on the application.port - the port on which the credential will listen for the browser authentication resultpublic InteractiveBrowserCredential build()
InteractiveBrowserCredential with the current configurations.InteractiveBrowserCredential with the current configurations.Copyright © 2020 Microsoft Corporation. All rights reserved.