Aller au contenu
Abblix
Cette page n'a pas encore été traduite.

ClientValidator Class

Validates the client in a backchannel authentication request, ensuring the client is registered and authorized to perform the request as part of the authentication validation process.

C#
public class ClientValidator : Abblix.Oidc.Server.Endpoints.BackChannelAuthentication.Validation.IBackChannelAuthenticationContextValidator

Inheritance System.Object → ClientValidator

Implements IBackChannelAuthenticationContextValidator

Constructors

ClientValidator(IClientAuthenticator) Constructor

Validates the client in a backchannel authentication request, ensuring the client is registered and authorized to perform the request as part of the authentication validation process.

C#
public ClientValidator(Abblix.Oidc.Server.Features.ClientAuthentication.IClientAuthenticator clientAuthenticator);

Parameters

clientAuthenticator IClientAuthenticator

The service used to authenticate and retrieve client information.

Methods

ClientValidator.ValidateAsync(BackChannelAuthenticationValidationContext) Method

Validates the client in the context of a backchannel authentication request. Ensures that the client is recognized and authorized to make the request.

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

Parameters

context BackChannelAuthenticationValidationContext

The validation context containing the backchannel authentication request and client information.

Implements ValidateAsync(BackChannelAuthenticationValidationContext)

Returns

System.Threading.Tasks.Task<OidcError>
A OidcError if the client is not valid, or null if the client is authorized.