IntegratedWindowsAuthenticationParameters Class
- java.
lang. Object - com.
microsoft. aad. msal4j. IntegratedWindowsAuthenticationParameters
- com.
Implements
public class IntegratedWindowsAuthenticationParameters
implements com.microsoft.aad.msal4j.IAcquireTokenParameters
Object containing parameters for Integrated Windows Authentication. Can be used as parameter to acquireToken(IntegratedWindowsAuthenticationParameters parameters)`
For more details, see https://aka.ms/msal4j-iwa
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Integrated |
builder(Set<String> scopes, String username)
Builder for IntegratedWindowsAuthenticationParameters |
Claims |
claims()
Claims to be requested through the OIDC claims request parameter, allowing requests for standard and custom claims |
java.util.Map<java.lang.String,java.lang.String> |
extraHttpHeaders()
Adds additional headers to the token request |
java.util.Map<java.lang.String,java.lang.String> |
extraQueryParameters()
Adds additional parameters to the token request |
@lombok.NonNull java.util.Set<java.lang.String> |
scopes()
Scopes that the application is requesting access to |
java.lang.String |
tenant()
Overrides the tenant value in the authority URL for this request |
@lombok.NonNull java.lang.String |
username()
Identifier of user account for which to acquire tokens for |
Methods inherited from java.lang.Object
Method Details
builder
public static IntegratedWindowsAuthenticationParameters.IntegratedWindowsAuthenticationParametersBuilder builder(Set
Builder for IntegratedWindowsAuthenticationParameters
Parameters:
e.g. john.doe@contoso.com.
Returns:
claims
public ClaimsRequest claims()
Claims to be requested through the OIDC claims request parameter, allowing requests for standard and custom claims
extraHttpHeaders
public Map
Adds additional headers to the token request
extraQueryParameters
public Map
Adds additional parameters to the token request
scopes
public @NonNull Set
Scopes that the application is requesting access to
tenant
public String tenant()
Overrides the tenant value in the authority URL for this request
username
public @NonNull String username()
Identifier of user account for which to acquire tokens for