Table of Contents

Interface IClientSecretValidator

Namespace
Fdyay.IdentityServer.Validation
Assembly
Fdyay.IdentityServer.Core.dll

Authenticates a client from a credential taken off the request.

public interface IClientSecretValidator

Methods

ValidateAsync(ParsedSecret, CancellationToken)

Finds the client the credential names and checks the credential against the client's secrets.

Task<ClientSecretValidationResult> ValidateAsync(ParsedSecret parsedSecret, CancellationToken cancellationToken = default)

Parameters

parsedSecret ParsedSecret

The client id and credential a secret parser read off the request.

cancellationToken CancellationToken

Cancels the client lookup and the secret validation.

Returns

Task<ClientSecretValidationResult>

The authenticated client, or the error to answer with.