CompositeSecurityEventTokenValidator Class
The composite the step family collapses into: runs its members in order and stops at the first error, so a step sees only tokens that survived everything before it.
public sealed class CompositeSecurityEventTokenValidator : Abblix.SecurityEvents.Validation.ISecurityEventTokenValidatorInheritance System.Object → CompositeSecurityEventTokenValidator
Implements ISecurityEventTokenValidator
Remarks
The family is composed through the dependency-injection machinery the rest of the product line uses - members registered as ordinary ISecurityEventTokenValidator implementations collapse behind the singular contract, and a consumer profile edits them in place through the live composition cursor, inserting, replacing or removing steps without this package changing. The constructor takes the member array that machinery hands to a composite.
Constructors
CompositeSecurityEventTokenValidator(ISecurityEventTokenValidator[]) Constructor
The composite the step family collapses into: runs its members in order and stops at the first error, so a step sees only tokens that survived everything before it.
public CompositeSecurityEventTokenValidator(Abblix.SecurityEvents.Validation.ISecurityEventTokenValidator[] steps);Parameters
steps ISecurityEventTokenValidator[]
Remarks
The family is composed through the dependency-injection machinery the rest of the product line uses - members registered as ordinary ISecurityEventTokenValidator implementations collapse behind the singular contract, and a consumer profile edits them in place through the live composition cursor, inserting, replacing or removing steps without this package changing. The constructor takes the member array that machinery hands to a composite.
Methods
CompositeSecurityEventTokenValidator.ValidateAsync(SecurityEventTokenValidationContext, CancellationToken) Method
Checks the token in flight.
public System.Threading.Tasks.ValueTask<Abblix.SecurityEvents.Validation.SecurityEventTokenValidationError?> ValidateAsync(Abblix.SecurityEvents.Validation.SecurityEventTokenValidationContext context, System.Threading.CancellationToken cancellationToken);Parameters
context SecurityEventTokenValidationContext
The state accumulated by earlier steps.
cancellationToken System.Threading.CancellationToken
Cancels I/O the step performs, such as key retrieval.
Implements ValidateAsync(SecurityEventTokenValidationContext, CancellationToken)
Returns
System.Threading.Tasks.ValueTask<SecurityEventTokenValidationError>
Null to pass the token on; an error to stop the pipeline with that verdict.