public static class UserFederatedIdentityCredentialParameters.UserFederatedIdentityCredentialParametersBuilder extends Object
| Modifier and Type | Method and Description |
|---|---|
UserFederatedIdentityCredentialParameters |
build() |
UserFederatedIdentityCredentialParameters.UserFederatedIdentityCredentialParametersBuilder |
claims(ClaimsRequest claims)
Claims to be requested through the OIDC claims request parameter.
|
UserFederatedIdentityCredentialParameters.UserFederatedIdentityCredentialParametersBuilder |
claimsFromClient(String claimsJson)
Specifies client-originated claims (a raw JSON object string) to forward to the token
endpoint as the OAuth
claims request parameter. |
UserFederatedIdentityCredentialParameters.UserFederatedIdentityCredentialParametersBuilder |
extraHttpHeaders(Map<String,String> extraHttpHeaders)
Adds additional headers to the token request.
|
UserFederatedIdentityCredentialParameters.UserFederatedIdentityCredentialParametersBuilder |
extraQueryParameters(Map<String,String> extraQueryParameters)
Deprecated.
Present only to satisfy the
IAcquireTokenParameters interface contract.
Not recommended for use — this API is scheduled for removal across all parameter classes
and will be replaced by a new mechanism in a future release. |
UserFederatedIdentityCredentialParameters.UserFederatedIdentityCredentialParametersBuilder |
forceRefresh(boolean forceRefresh)
Forces MSAL to refresh the token from the identity provider even if a cached token is available.
|
UserFederatedIdentityCredentialParameters.UserFederatedIdentityCredentialParametersBuilder |
tenant(String tenant)
Overrides the tenant value in the authority URL for this request.
|
public UserFederatedIdentityCredentialParameters.UserFederatedIdentityCredentialParametersBuilder forceRefresh(boolean forceRefresh)
forceRefresh - true to bypass the cache; otherwise false. Default is false.public UserFederatedIdentityCredentialParameters.UserFederatedIdentityCredentialParametersBuilder claims(ClaimsRequest claims)
public UserFederatedIdentityCredentialParameters.UserFederatedIdentityCredentialParametersBuilder extraHttpHeaders(Map<String,String> extraHttpHeaders)
@Deprecated public UserFederatedIdentityCredentialParameters.UserFederatedIdentityCredentialParametersBuilder extraQueryParameters(Map<String,String> extraQueryParameters)
IAcquireTokenParameters interface contract.
Not recommended for use — this API is scheduled for removal across all parameter classes
and will be replaced by a new mechanism in a future release.public UserFederatedIdentityCredentialParameters.UserFederatedIdentityCredentialParametersBuilder tenant(String tenant)
public UserFederatedIdentityCredentialParameters.UserFederatedIdentityCredentialParametersBuilder claimsFromClient(String claimsJson)
claims request parameter. Unlike claims(ClaimsRequest)
(server-issued claims challenges, which bypass the cache), tokens acquired with client claims
are cached and the cache entry is keyed on the claims value, so distinct claim values produce
separate cache entries. Use stable, non-dynamic values to avoid cache fragmentation. Send the identical value on every
request for a given token; because the raw value is part of the cache key, changing or
omitting it routes the request to a different cache partition.
A blank value is ignored; an invalid JSON object throws MsalClientException.claimsJson - a valid JSON object string containing the client claimspublic UserFederatedIdentityCredentialParameters build()
Copyright © 2013–2026. All rights reserved.