Language

ManagedIdentityClientAssertion Class

Definition

public class ManagedIdentityClientAssertion : Microsoft.Identity.Web.ClientAssertionProviderBase
type ManagedIdentityClientAssertion = class
    inherit ClientAssertionProviderBase
Public Class ManagedIdentityClientAssertion
Inherits ClientAssertionProviderBase
Inheritance
ManagedIdentityClientAssertion

Constructors

Name Description
ManagedIdentityClientAssertion(String, String, ILogger, IKeyAttestationProvider)

Creates a managed identity client assertion provider with optional key attestation support.

ManagedIdentityClientAssertion(String, String, ILogger)

See https://aka.ms/ms-id-web/certificateless.

ManagedIdentityClientAssertion(String, String)

See https://aka.ms/ms-id-web/certificateless.

ManagedIdentityClientAssertion(String)

See https://aka.ms/ms-id-web/certificateless.

Properties

Name Description
Expiry

Expiry of the client assertion.

(Inherited from ClientAssertionProviderBase)
SupportsTokenBinding

Returns true: managed identity provides a binding certificate alongside the federated assertion via MSAL's IMDS V2 mTLS PoP flow.

Methods

Name Description
GetClientAssertionAsync(AssertionRequestOptions)

Prototype of certificate-less authentication using a signed assertion acquired with managed identity (certificateless).

GetSignedAssertionAsync(AssertionRequestOptions)

Get the signed assertion (and refreshes it if needed).

(Inherited from ClientAssertionProviderBase)
GetSignedAssertionWithBindingAsync(AssertionRequestOptions, CancellationToken)

Acquires a managed identity token bound to a binding certificate via mTLS PoP, returning both the assertion and the binding certificate so MSAL can pin the outer confidential client request to the same certificate (FIC + mTLS PoP, two-leg flow).

Applies to