ManagedIdentityParameters Class

  • java.lang.Object
    • com.microsoft.aad.msal4j.ManagedIdentityParameters

Implements

com.microsoft.aad.msal4j.IAcquireTokenParameters

public class ManagedIdentityParameters
implements com.microsoft.aad.msal4j.IAcquireTokenParameters

Object containing parameters for managed identity flow. Can be used as parameter to acquireTokenForManagedIdentity(ManagedIdentityParameters managedIdentityParameters)

Method Summary

Modifier and Type Method and Description
static ManagedIdentityParametersBuilder builder(String resource)

Builder for ManagedIdentityParameters

ClaimsRequest claims()
java.util.Map<java.lang.String,java.lang.String> extraHttpHeaders()
java.util.Map<java.lang.String,java.lang.String> extraQueryParameters()
boolean forceRefresh()
java.lang.String resource()
java.util.Set<java.lang.String> scopes()
java.lang.String tenant()

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Method Details

builder

public static ManagedIdentityParameters.ManagedIdentityParametersBuilder builder(String resource)

Builder for ManagedIdentityParameters

Parameters:

resource - scopes application is requesting access to

Returns:

builder that can be used to construct ManagedIdentityParameters

claims

public ClaimsRequest claims()

extraHttpHeaders

public Map extraHttpHeaders()

extraQueryParameters

public Map extraQueryParameters()

forceRefresh

public boolean forceRefresh()

resource

public String resource()

scopes

public Set scopes()

tenant

public String tenant()

Applies to