IManagedIdentityApplication Interface
Implements
public interface IManagedIdentityApplication
extends com.microsoft.aad.msal4j.IApplicationBase
Interface representing a managed identity application. Managed identity applications are used to acquire a token for managed identity assigned to an azure resource such as Azure function, app service, virtual machine, etc. to acquire a token without using credentials. For details see https://aka.ms/msal4jclientapplications
Method Summary
Modifier and Type | Method and Description |
---|---|
abstract
java.util.concurrent.CompletableFuture<IAuthentication |
acquireTokenForManagedIdentity(ManagedIdentityParameters parameters)
Acquires tokens from the configured managed identity on an azure resource. |
Method Details
acquireTokenForManagedIdentity
public abstract CompletableFuture
Acquires tokens from the configured managed identity on an azure resource.
Parameters:
Returns:
Throws: