IntegratedWindowsAuthenticationParameters.IntegratedWindowsAuthenticationParametersBuilder Class
- java.
lang. Object - com.
microsoft. aad. msal4j. IntegratedWindowsAuthenticationParameters. IntegratedWindowsAuthenticationParametersBuilder
- com.
public static class IntegratedWindowsAuthenticationParameters.IntegratedWindowsAuthenticationParametersBuilder
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Integrated |
build() |
|
Integrated |
claims(ClaimsRequest claims)
Claims to be requested through the OIDC claims request parameter, allowing requests for standard and custom claims |
|
Integrated |
extraHttpHeaders(Map<String,String> extraHttpHeaders)
Adds additional headers to the token request |
|
Integrated |
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 |
|
Integrated |
scopes(Set<String> scopes)
Scopes that the application is requesting access to |
|
Integrated |
tenant(String tenant)
Overrides the tenant value in the authority URL for this request |
| java.lang.String | toString() |
|
Integrated |
username(String username)
Identifier of user account for which to acquire tokens for |
Methods inherited from java.lang.Object
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:
extraHttpHeaders
public IntegratedWindowsAuthenticationParameters.IntegratedWindowsAuthenticationParametersBuilder extraHttpHeaders(Map<String,String> extraHttpHeaders)
Adds additional headers to the token request
Parameters:
extraQueryParameters
public IntegratedWindowsAuthenticationParameters.IntegratedWindowsAuthenticationParametersBuilder extraQueryParameters(Map<String,String> extraQueryParameters)
Deprecated
Adds additional parameters to the token request
Parameters:
scopes
public IntegratedWindowsAuthenticationParameters.IntegratedWindowsAuthenticationParametersBuilder scopes(Set<String> scopes)
Scopes that the application is requesting access to
Parameters:
tenant
public IntegratedWindowsAuthenticationParameters.IntegratedWindowsAuthenticationParametersBuilder tenant(String tenant)
Overrides the tenant value in the authority URL for this request
Parameters:
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: