public interface IConfidentialClientApplication extends IClientApplicationBase
DEFAULT_AUTHORITY| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<IAuthenticationResult> |
acquireToken(ClientCredentialParameters parameters)
Acquires tokens from the authority configured in the application, for the confidential client
itself
|
CompletableFuture<IAuthenticationResult> |
acquireToken(OnBehalfOfParameters parameters)
Acquires an access token for this application (usually a Web API) from the authority configured
in the application, in order to access another downstream protected Web API on behalf of a user
using the On-Behalf-Of flow.
|
acquireToken, acquireToken, acquireTokenSilently, authority, clientId, correlationId, getAccounts, logPii, proxy, removeAccount, sslSocketFactory, telemetryConsumer, tokenCache, validateAuthorityCompletableFuture<IAuthenticationResult> acquireToken(ClientCredentialParameters parameters)
parameters - instance of ClientCredentialParametersCompletableFuture containing an IAuthenticationResultCompletableFuture<IAuthenticationResult> acquireToken(OnBehalfOfParameters parameters)
UserAssertion to the OnBehalfOfParametersparameters - instance of OnBehalfOfParametersCompletableFuture containing an IAuthenticationResultCopyright © 2013–2019. All rights reserved.