Dela via


SilentParameters.SilentParametersBuilder Class

  • java.lang.Object
    • com.microsoft.aad.msal4j.SilentParameters.SilentParametersBuilder

public static class SilentParameters.SilentParametersBuilder

Method Summary

Modifier and Type Method and Description
SilentParametersBuilder account(IAccount account)
SilentParametersBuilder authorityUrl(String authorityUrl)
SilentParameters build()
SilentParametersBuilder claims(ClaimsRequest claims)
SilentParametersBuilder extraHttpHeaders(Map<String,String> extraHttpHeaders)
SilentParametersBuilder extraQueryParameters(Map<String,String> extraQueryParameters)
SilentParametersBuilder forceRefresh(boolean forceRefresh)
SilentParametersBuilder proofOfPossession(HttpMethod httpMethod, URI uri, String nonce)
SilentParametersBuilder scopes(Set<String> scopes)
SilentParametersBuilder 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

account

public SilentParameters.SilentParametersBuilder account(IAccount account)

Parameters:

account

authorityUrl

public SilentParameters.SilentParametersBuilder authorityUrl(String authorityUrl)

Parameters:

authorityUrl

build

public SilentParameters build()

claims

public SilentParameters.SilentParametersBuilder claims(ClaimsRequest claims)

Parameters:

claims

extraHttpHeaders

public SilentParameters.SilentParametersBuilder extraHttpHeaders(Map extraHttpHeaders)

Parameters:

extraHttpHeaders

extraQueryParameters

public SilentParameters.SilentParametersBuilder extraQueryParameters(Map extraQueryParameters)

Parameters:

extraQueryParameters

forceRefresh

public SilentParameters.SilentParametersBuilder forceRefresh(boolean forceRefresh)

Parameters:

forceRefresh

proofOfPossession

public SilentParameters.SilentParametersBuilder proofOfPossession(HttpMethod httpMethod, URI uri, String nonce)

Parameters:

httpMethod
uri
nonce

scopes

public SilentParameters.SilentParametersBuilder scopes(Set scopes)

Parameters:

scopes

tenant

public SilentParameters.SilentParametersBuilder tenant(String tenant)

Parameters:

tenant

toString

public String toString()

Overrides:

SilentParameters.SilentParametersBuilder.toString()

Applies to