Language

ClientAssertionProviderBase.GetSignedAssertionWithBindingAsync Method

Definition

Acquires a signed assertion together with its binding certificate, used by confidential clients configured for mTLS Proof-of-Possession. Returns null when the provider does not support token binding (the default).

public virtual System.Threading.Tasks.Task<Microsoft.Identity.Client.ClientSignedAssertion?> GetSignedAssertionWithBindingAsync(Microsoft.Identity.Client.AssertionRequestOptions? assertionRequestOptions, System.Threading.CancellationToken cancellationToken = default);
abstract member GetSignedAssertionWithBindingAsync : Microsoft.Identity.Client.AssertionRequestOptions * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Identity.Client.ClientSignedAssertion>
override this.GetSignedAssertionWithBindingAsync : Microsoft.Identity.Client.AssertionRequestOptions * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Identity.Client.ClientSignedAssertion>
Public Overridable Function GetSignedAssertionWithBindingAsync (assertionRequestOptions As AssertionRequestOptions, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ClientSignedAssertion)

Parameters

assertionRequestOptions
AssertionRequestOptions

Input options populated by MSAL.

cancellationToken
CancellationToken

Cancellation token.

Returns

The signed assertion paired with its binding certificate, or null if the provider does not support token binding. Providers that return non-null must also return true from SupportsTokenBinding.

Applies to