PublicClientApplication.Builder Class
- java.
lang. Object - com.
microsoft. aad. msal4j. AbstractApplicationBase. Builder<T> - com.
microsoft. aad. msal4j. AbstractClientApplicationBase. Builder<T> - com.
microsoft. aad. msal4j. PublicClientApplication. Builder
- com.
- com.
- com.
public static class PublicClientApplication.Builder
extends Builder<Builder>
Method Summary
Modifier and Type | Method and Description |
---|---|
Builder |
broker(IBroker val)
Implementation of IBroker that will be used to retrieve tokens |
Public |
build() |
protected Builder | self() |
Methods inherited from Builder
aadInstanceDiscoveryResponse
applicationName
applicationVersion
authority
autoDetectRegion
azureRegion
b2cAuthority
clientCapabilities
connectTimeoutForDefaultHttpClient
correlationId
executorService
httpClient
instanceDiscovery
logPii
oidcAuthority
proxy
readTimeoutForDefaultHttpClient
setTokenCacheAccessAspect
sslSocketFactory
validateAuthority
Methods inherited from java.lang.Object
java.lang.Object.clone
java.lang.Object.equals
java.lang.Object.finalize
java.lang.Object.getClass
java.lang.Object.hashCode
java.lang.Object.notify
java.lang.Object.notifyAll
java.lang.Object.toString
java.lang.Object.wait
java.lang.Object.wait
java.lang.Object.wait
Method Details
broker
public PublicClientApplication.Builder broker(IBroker val)
Implementation of IBroker that will be used to retrieve tokens
Setting this will cause MSAL Java to use the given broker implementation to retrieve tokens from a broker (such as WAM/MSALRuntime) in flows that support it
Parameters:
val
build
public PublicClientApplication build()
self
protected PublicClientApplication.Builder self()