Language

AssertionRequestOptions Class

Definition

Information about the client assertion that need to be generated See https://aka.ms/msal-net-client-assertion

public class AssertionRequestOptions
type AssertionRequestOptions = class
Public Class AssertionRequestOptions
Inheritance
AssertionRequestOptions

Remarks

Use the provided information to generate the client assertion payload

Constructors

Name Description
AssertionRequestOptions()

Default constructor for AssertionRequestOptions

Properties

Name Description
Authority

The authority URL (e.g., https://login.microsoftonline.com/{tenantId})

CancellationToken

Cancellation token to cancel the operation

Claims

Claims to be included in the client assertion

ClientAssertionFmiPath

FMI path to be used for client assertion. Tokens are associated with this path in the cache.

ClientCapabilities

Capabilities that the client application has declared. If the callback implementer calls the token issuer using another client application object (e.g. ManagedIdentityApplication or ConfidentialClientApplication), the same capabilities should be used there.

ClientID

Client ID for which a signed assertion is requested

CorrelationId

Correlation ID of the authentication request. Use this to propagate the same correlation ID to downstream token requests (e.g., Managed Identity) for coherent end-to-end tracing.

OtelTagsEnricher

The OpenTelemetry tags enricher configured on the outer request via WithOtelTagsEnricher, if any. When the client-assertion callback acquires the assertion by issuing another token request (e.g. via ITokenAcquirer.GetTokenForAppAsync for a Federated Identity Credential), forward this delegate to that inner request so the inner acquisition's metrics carry the same enrichment tags as the outer request. Null when no enricher was configured.

TenantId

Tenant ID for the authentication request

TokenEndpoint

The intended token endpoint

Applies to