| Modifier and Type | Class and Description |
|---|---|
static class |
Broker.Builder |
| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<IAuthenticationResult> |
acquireToken(PublicClientApplication application,
InteractiveRequestParameters parameters) |
CompletableFuture<IAuthenticationResult> |
acquireToken(PublicClientApplication application,
SilentParameters parameters) |
CompletableFuture<IAuthenticationResult> |
acquireToken(PublicClientApplication application,
UserNamePasswordParameters parameters)
Deprecated.
|
void |
enableBrokerLogging(boolean enableLogging)
Toggles whether or not detailed MSALRuntime logs will appear in MSAL Java's normal logging framework.
|
void |
enableBrokerPIILogging(boolean enablePII)
If enabled, Personal Identifiable Information (PII) can appear in logs and error messages produced by MSALRuntime.
|
boolean |
isBrokerAvailable()
Calls MSALRuntime's startup API.
|
void |
removeAccount(PublicClientApplication application,
IAccount msalJavaAccount) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitparseBrokerAuthResultpublic CompletableFuture<IAuthenticationResult> acquireToken(PublicClientApplication application, SilentParameters parameters)
acquireToken in interface IBrokerpublic CompletableFuture<IAuthenticationResult> acquireToken(PublicClientApplication application, InteractiveRequestParameters parameters)
acquireToken in interface IBroker@Deprecated public CompletableFuture<IAuthenticationResult> acquireToken(PublicClientApplication application, UserNamePasswordParameters parameters)
acquireToken in interface IBrokerpublic void removeAccount(PublicClientApplication application, IAccount msalJavaAccount)
removeAccount in interface IBrokerpublic boolean isBrokerAvailable()
isBrokerAvailable in interface IBrokerpublic void enableBrokerLogging(boolean enableLogging)
enableLogging - true to enable MSALRuntime logs, false to disable itpublic void enableBrokerPIILogging(boolean enablePII)
enablePII - true to allow PII to appear in logs and error messages, false to disallow itCopyright © 2022–2023. All rights reserved.