BackChannelAuthenticationValidatorComposite Class
Abblix.Oidc.Server
Abblix.Oidc.Server.Endpoints.BackChannelAuthentication.Validation
BackChannelAuthenticationValidatorComposite Class
Represents a composite validator for backchannel authentication contexts, aggregating multiple validation steps into a single validation process. This class implements IBackChannelAuthenticationContextValidator and allows for the combination of multiple validators that are executed sequentially.
public class BackChannelAuthenticationValidatorComposite : Abblix.Oidc.Server.Endpoints.BackChannelAuthentication.Validation.IBackChannelAuthenticationContextValidator
Inheritance System.Object → BackChannelAuthenticationValidatorComposite
Implements IBackChannelAuthenticationContextValidator
Constructors
BackChannelAuthenticationValidatorComposite(IBackChannelAuthenticationContextValidator[]) Constructor
Represents a composite validator for backchannel authentication contexts, aggregating multiple validation steps into a single validation process. This class implements IBackChannelAuthenticationContextValidator and allows for the combination of multiple validators that are executed sequentially.
public BackChannelAuthenticationValidatorComposite(Abblix.Oidc.Server.Endpoints.BackChannelAuthentication.Validation.IBackChannelAuthenticationContextValidator[] validators);
Parameters
validators IBackChannelAuthenticationContextValidator[]
An array of validators that define the validation process.
Methods
BackChannelAuthenticationValidatorComposite.ValidateAsync(BackChannelAuthenticationValidationContext) Method
Asynchronously validates a BackChannelAuthenticationValidationContext. Iterates through each validation step, returning the first encountered error, if any.
public System.Threading.Tasks.Task<Abblix.Oidc.Server.Common.OidcError?> ValidateAsync(Abblix.Oidc.Server.Endpoints.BackChannelAuthentication.Validation.BackChannelAuthenticationValidationContext context);
Parameters
context BackChannelAuthenticationValidationContext
The backchannel authentication validation context to be validated.
Implements ValidateAsync(BackChannelAuthenticationValidationContext)
Returns
System.Threading.Tasks.Task<OidcError>
A task that represents the asynchronous validation operation.
The task result contains a OidcError
if a validation error is found, or null if validation succeeds.