ConfidentialClientApplication.Builder Class

public static class ConfidentialClientApplication.Builder
extends Builder<Builder>

Method Summary

Modifier and Type Method and Description
Builder appTokenProvider(Function<AppTokenProviderParameters,CompletableFuture<TokenProviderResult>> appTokenProvider)
ConfidentialClientApplication 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

Methods inherited from Builder

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<>> appTokenProvider)

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

Applies to