IManagedIdentityApplication Gränssnitt

Implementeringar

com.microsoft.aad.msal4j.IApplicationBase

public interface IManagedIdentityApplication
extends com.microsoft.aad.msal4j.IApplicationBase

Gränssnitt som representerar ett hanterat identitetsprogram. Program för hanterade identiteter används för att hämta en token för hanterad identitet som tilldelats en azure resurs, till exempel Azure funktion, apptjänst, virtuell dator osv. för att hämta en token utan att använda autentiseringsuppgifter. Mer information finns i https://aka.ms/msal4jclientapplications

Metodsammanfattning

Modifierare och typ Metod och beskrivning
abstract java.util.concurrent.CompletableFuture<IAuthenticationResult> acquireTokenForManagedIdentity(ManagedIdentityParameters parameters)

Hämtar token från den konfigurerade hanterade identiteten på en Azure-resurs.

Metodinformation

acquireTokenForManagedIdentity

public abstract CompletableFuture<IAuthenticationResult> acquireTokenForManagedIdentity(ManagedIdentityParameters parameters)

Hämtar token från den konfigurerade hanterade identiteten på en Azure-resurs.

Parametrar:

parameters - instans av ManagedIdentityParameters

Returer:

CompletableFuture innehåller en IAuthenticationResult

Kast:

java.lang.Exception

Gäller för