public class InteractiveRequestParameters extends Object
PublicClientApplication.acquireToken(InteractiveRequestParameters).
For more details, see https://aka.ms/msal4j-interactive-request.| Modifier and Type | Class and Description |
|---|---|
static class |
InteractiveRequestParameters.InteractiveRequestParametersBuilder |
| Modifier and Type | Method and Description |
|---|---|
static InteractiveRequestParameters.InteractiveRequestParametersBuilder |
builder(URI redirectUri) |
ClaimsRequest |
claims()
Claims to be requested through the OIDC claims request parameter, allowing requests for standard and custom claims
|
String |
claimsChallenge() |
String |
domainHint()
Provides a hint about the tenant or domain that the user should use to sign in.
|
Map<String,String> |
extraHttpHeaders()
Adds additional headers to the token request
|
boolean |
instanceAware()
If set to true, the authorization result will contain the authority for the user's home cloud, and this authority
will be used for the token request instead of the authority set in the application.
|
String |
loginHint()
Can be used to pre-fill the username/email address field of the sign-in page for the user,
if you know the username/email address ahead of time.
|
Prompt |
prompt()
Indicate the type of user interaction that is required.
|
@NonNull URI |
redirectUri()
Redirect URI where MSAL will listen to for the authorization code returned by Azure AD.
|
Set<String> |
scopes()
Scopes that the application is requesting access to and the user will consent to.
|
SystemBrowserOptions |
systemBrowserOptions()
Sets
SystemBrowserOptions to be used by the PublicClientApplication |
public static InteractiveRequestParameters.InteractiveRequestParametersBuilder builder(URI redirectUri)
@NonNull public @NonNull URI redirectUri()
public ClaimsRequest claims()
public Set<String> scopes()
public Prompt prompt()
public String loginHint()
public String domainHint()
public SystemBrowserOptions systemBrowserOptions()
SystemBrowserOptions to be used by the PublicClientApplicationpublic String claimsChallenge()
public Map<String,String> extraHttpHeaders()
public boolean instanceAware()
Copyright © 2013–2021. All rights reserved.