IntegratedWindowsAuthenticationParameters.IntegratedWindowsAuthenticationParametersBuilder Class

  • java.lang.Object
    • com.microsoft.aad.msal4j.IntegratedWindowsAuthenticationParameters.IntegratedWindowsAuthenticationParametersBuilder

public static class IntegratedWindowsAuthenticationParameters.IntegratedWindowsAuthenticationParametersBuilder

Method Summary

Modifier and Type Method and Description
IntegratedWindowsAuthenticationParameters build()
IntegratedWindowsAuthenticationParametersBuilder claims(ClaimsRequest claims)

Claims to be requested through the OIDC claims request parameter, allowing requests for standard and custom claims

IntegratedWindowsAuthenticationParametersBuilder extraHttpHeaders(Map<String,String> extraHttpHeaders)

Adds additional headers to the token request

IntegratedWindowsAuthenticationParametersBuilder extraQueryParameters(Map<String,String> extraQueryParameters)

Deprecated

Not recommended for production scenarios. It will be removed in a future release, and the behavior may be replaced by a new API.

Adds additional parameters to the token request

IntegratedWindowsAuthenticationParametersBuilder scopes(Set<String> scopes)

Scopes that the application is requesting access to

IntegratedWindowsAuthenticationParametersBuilder tenant(String tenant)

Overrides the tenant value in the authority URL for this request

java.lang.String toString()
IntegratedWindowsAuthenticationParametersBuilder username(String username)

Identifier of user account for which to acquire tokens for

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 IntegratedWindowsAuthenticationParameters build()

claims

public IntegratedWindowsAuthenticationParameters.IntegratedWindowsAuthenticationParametersBuilder claims(ClaimsRequest claims)

Claims to be requested through the OIDC claims request parameter, allowing requests for standard and custom claims

Parameters:

claims

extraHttpHeaders

public IntegratedWindowsAuthenticationParameters.IntegratedWindowsAuthenticationParametersBuilder extraHttpHeaders(Map<String,String> extraHttpHeaders)

Adds additional headers to the token request

Parameters:

extraHttpHeaders

extraQueryParameters


public IntegratedWindowsAuthenticationParameters.IntegratedWindowsAuthenticationParametersBuilder extraQueryParameters(Map<String,String> extraQueryParameters)

Deprecated

Not recommended for production scenarios. It will be removed in a future release, and the behavior may be replaced by a new API.

Adds additional parameters to the token request

Parameters:

extraQueryParameters

scopes

public IntegratedWindowsAuthenticationParameters.IntegratedWindowsAuthenticationParametersBuilder scopes(Set<String> scopes)

Scopes that the application is requesting access to

Parameters:

scopes

tenant

public IntegratedWindowsAuthenticationParameters.IntegratedWindowsAuthenticationParametersBuilder tenant(String tenant)

Overrides the tenant value in the authority URL for this request

Parameters:

tenant

toString

public String toString()

Overrides:

IntegratedWindowsAuthenticationParameters.IntegratedWindowsAuthenticationParametersBuilder.toString()

username

public IntegratedWindowsAuthenticationParameters.IntegratedWindowsAuthenticationParametersBuilder username(String username)

Identifier of user account for which to acquire tokens for

Parameters:

username

Applies to