CriticalHeaderContext Class
Abblix.Jwt
Abblix.Jwt
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.
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).
public Abblix.Jwt.ValidationParameters Parameters { get; init; }
Property Value
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).
public Abblix.Jwt.JsonWebToken Token { get; init; }