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)
Deprecated.
Configure the redirect URL as
http://localhost:{port} via
InteractiveBrowserCredentialBuilder.redirectUrl(String) instead. |
InteractiveBrowserCredentialBuilder |
redirectUrl(String redirectUrl)
Sets the Redirect URL where STS will callback the application with the security code.
|
authorityHost, clientId, executorService, tenantIdhttpClient, httpPipeline, maxRetry, proxyOptions, retryTimeout@Deprecated public InteractiveBrowserCredentialBuilder port(int port)
http://localhost:{port} via
InteractiveBrowserCredentialBuilder.redirectUrl(String) instead.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 InteractiveBrowserCredentialBuilder redirectUrl(String redirectUrl)
AadCredentialBuilderBase.clientId(String) and must match the
redirect URL specified during the application registration.redirectUrl - the redirect URL to listen on and receive security code.public InteractiveBrowserCredential build()
InteractiveBrowserCredential with the current configurations.InteractiveBrowserCredential with the current configurations.Copyright © 2020 Microsoft Corporation. All rights reserved.