public class OnBehalfOfParameters extends Object
ConfidentialClientApplication.acquireToken(OnBehalfOfParameters)
For more details, see https://aka.ms/msal4j-on-behalf-of
Modifier and Type | Class and Description |
---|---|
static class |
OnBehalfOfParameters.OnBehalfOfParametersBuilder |
Modifier and Type | Method and Description |
---|---|
static OnBehalfOfParameters.OnBehalfOfParametersBuilder |
builder(Set<String> scopes,
UserAssertion userAssertion)
Builder for
OnBehalfOfParameters |
ClaimsRequest |
claims()
Claims to be requested through the OIDC claims request parameter, allowing requests for standard and custom claims
|
Map<String,String> |
extraHttpHeaders()
Adds additional headers to the token request
|
@NonNull Set<String> |
scopes() |
Boolean |
skipCache()
Indicates whether the request should skip looking into the token cache.
|
String |
tenant()
Overrides the tenant value in the authority URL for this request
|
@NonNull IUserAssertion |
userAssertion() |
public static OnBehalfOfParameters.OnBehalfOfParametersBuilder builder(Set<String> scopes, UserAssertion userAssertion)
OnBehalfOfParameters
scopes
- scopes application is requesting access touserAssertion
- UserAssertion
created from access token receivedpublic Boolean skipCache()
@NonNull public @NonNull IUserAssertion userAssertion()
public ClaimsRequest claims()
public Map<String,String> extraHttpHeaders()
public String tenant()
Copyright © 2013–2022. All rights reserved.