ConfidentialClientApplication.Builder Class
- java.
lang. Object - com.
microsoft. aad. msal4j. AbstractApplicationBase. Builder<T> - com.
microsoft. aad. msal4j. AbstractClientApplicationBase. Builder<T> - com.
microsoft. aad. msal4j. ConfidentialClientApplication. Builder
- com.
- com.
- com.
public static class ConfidentialClientApplication.Builder
extends Builder<Builder>
Method Summary
Modifier and Type | Method and Description |
---|---|
Builder | appTokenProvider(Function<AppTokenProviderParameters,CompletableFuture<TokenProviderResult>> appTokenProvider) |
Confidential |
build() |
protected Builder | self() |
Builder |
sendX5c(boolean val)
Specifies if the x5c claim (public key of the certificate) should be sent to the STS. |
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
appTokenProvider
public ConfidentialClientApplication.Builder appTokenProvider(Function
Parameters:
appTokenProvider
build
public ConfidentialClientApplication build()
self
protected ConfidentialClientApplication.Builder self()
sendX5c
public ConfidentialClientApplication.Builder sendX5c(boolean val)
Specifies if the x5c claim (public key of the certificate) should be sent to the STS. Default value is true
Parameters:
val
- true if the x5c should be sent. Otherwise false
Returns:
instance of the Builder on which method was called