Zum Inhalt springen
Abblix
Diese Seite wurde noch nicht übersetzt.

CriticalHeaderContext Class

Per-call context passed to HandleAsync(CriticalHeaderContext, CancellationToken). Reference type with init-only properties so adding a future field is a non-breaking change for handler implementations.

C#
public sealed class CriticalHeaderContext

Inheritance System.Object → CriticalHeaderContext

Properties

CriticalHeaderContext.Parameters Property

The host-supplied validation parameters in force for this call. Handlers consult these to honour caller policy (algorithm allowlists, time skew, audience/issuer hooks).

C#
public Abblix.Jwt.ValidationParameters Parameters { get; init; }

Property Value

ValidationParameters

CriticalHeaderContext.Token Property

The parsed JWS being validated. Handlers typically read Token.Header.Json[name] for their declared name; payload access is available when the extension's semantics span both halves (e.g. RFC 8225 PASSporT profile rules).

C#
public Abblix.Jwt.JsonWebToken Token { get; init; }

Property Value

JsonWebToken