Skip to main content

IBackChannelAuthenticationContextValidator Interface

Abblix.Oidc.Server

Abblix.Oidc.Server.Endpoints.BackChannelAuthentication.Validation

IBackChannelAuthenticationContextValidator Interface

Defines a contract for validating the context of a backchannel authentication request. Implementations of this interface are responsible for ensuring that the backchannel authentication request meets all necessary validation criteria based on the context, which may include client information, requested scopes, and other parameters.

public interface IBackChannelAuthenticationContextValidator

Derived
BackChannelAuthenticationValidatorComposite
BackChannelAuthorizationDetailsValidator
ClientValidator
PingModeValidator
PushModeValidator
RequestedExpiryValidator
ResourceValidator
ScopeValidator
UserCodeValidator
UserIdentityValidator

Methods

IBackChannelAuthenticationContextValidator.ValidateAsync(BackChannelAuthenticationValidationContext) Method

Asynchronously validates the backchannel authentication request context. This method checks the context of the request, including client information and requested parameters, to ensure compliance with security and protocol requirements.

System.Threading.Tasks.Task<Abblix.Oidc.Server.Common.OidcError?> ValidateAsync(Abblix.Oidc.Server.Endpoints.BackChannelAuthentication.Validation.BackChannelAuthenticationValidationContext context);

Parameters

context BackChannelAuthenticationValidationContext

The context of the backchannel authentication request that needs to be validated.

Returns

System.Threading.Tasks.Task<OidcError>
A task that represents the asynchronous validation operation. The task result contains a OidcError if validation fails, or null if the context is valid.