IManagedIdentityApplication Interfejs

Implementuje

com.microsoft.aad.msal4j.IApplicationBase

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

Interfejs reprezentujący aplikację tożsamości zarządzanej. Aplikacje tożsamości zarządzanej służą do uzyskiwania tokenu tożsamości zarządzanej przypisanej do zasobu azure, takiego jak funkcja Azure, usługa App Service, maszyna wirtualna itp. w celu uzyskania tokenu bez użycia poświadczeń. Aby uzyskać szczegółowe informacje, zobacz https://aka.ms/msal4jclientapplications

Podsumowanie metody

Modyfikator i typ Metoda i opis
abstract java.util.concurrent.CompletableFuture<IAuthenticationResult> acquireTokenForManagedIdentity(ManagedIdentityParameters parameters)

Uzyskuje tokeny ze skonfigurowanej tożsamości zarządzanej w zasobie platformy Azure.

Szczegóły metody

acquireTokenForManagedIdentity

public abstract CompletableFuture<IAuthenticationResult> acquireTokenForManagedIdentity(ManagedIdentityParameters parameters)

Uzyskuje tokeny ze skonfigurowanej tożsamości zarządzanej w zasobie platformy Azure.

Parametry:

parameters - wystąpienie obiektu ManagedIdentityParameters

Zwraca:

CompletableFuture zawierające IAuthenticationResult

Zgłasza:

java.lang.Exception

Dotyczy