ClientCredentialParameters.ClientCredentialParametersBuilder Class

  • java.lang.Object
    • com.microsoft.aad.msal4j.ClientCredentialParameters.ClientCredentialParametersBuilder

public static class ClientCredentialParameters.ClientCredentialParametersBuilder

Method Summary

Modifier and Type Method and Description
ClientCredentialParameters build()
ClientCredentialParametersBuilder claims(ClaimsRequest claims)
ClientCredentialParametersBuilder clientCredential(IClientCredential clientCredential)
ClientCredentialParametersBuilder extraHttpHeaders(Map<String,String> extraHttpHeaders)
ClientCredentialParametersBuilder extraQueryParameters(Map<String,String> extraQueryParameters)
ClientCredentialParametersBuilder scopes(Set<String> scopes)
ClientCredentialParametersBuilder skipCache(Boolean skipCache)
ClientCredentialParametersBuilder tenant(String tenant)
java.lang.String toString()

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

build

public ClientCredentialParameters build()

claims

public ClientCredentialParameters.ClientCredentialParametersBuilder claims(ClaimsRequest claims)

Parameters:

claims

clientCredential

public ClientCredentialParameters.ClientCredentialParametersBuilder clientCredential(IClientCredential clientCredential)

Parameters:

clientCredential

extraHttpHeaders

public ClientCredentialParameters.ClientCredentialParametersBuilder extraHttpHeaders(Map extraHttpHeaders)

Parameters:

extraHttpHeaders

extraQueryParameters

public ClientCredentialParameters.ClientCredentialParametersBuilder extraQueryParameters(Map extraQueryParameters)

Parameters:

extraQueryParameters

scopes

public ClientCredentialParameters.ClientCredentialParametersBuilder scopes(Set scopes)

Parameters:

scopes

skipCache

public ClientCredentialParameters.ClientCredentialParametersBuilder skipCache(Boolean skipCache)

Parameters:

skipCache

tenant

public ClientCredentialParameters.ClientCredentialParametersBuilder tenant(String tenant)

Parameters:

tenant

toString

public String toString()

Overrides:

ClientCredentialParameters.ClientCredentialParametersBuilder.toString()

Applies to