Skip to main content

IEndSessionContextValidator Interface

Abblix.Oidc.Server

Abblix.Oidc.Server.Endpoints.EndSession.Validation

IEndSessionContextValidator Interface

One step in the end-session validation pipeline. Each implementation inspects (and may enrich) a shared EndSessionValidationContext; returning a non-null OidcError aborts the pipeline. Implementations are composed via EndSessionContextValidatorComposite.

public interface IEndSessionContextValidator

Derived
ClientValidator
ConfirmationValidator
EndSessionContextValidatorComposite
IdTokenHintValidator
PostLogoutRedirectUrisValidator

Methods

IEndSessionContextValidator.ValidateAsync(EndSessionValidationContext) Method

Performs this validator's check against the shared context.

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

Parameters

context EndSessionValidationContext

Mutable validation context shared with subsequent steps; this validator may populate fields (such as resolved ClientInfo or parsed id_token_hint).

Returns

System.Threading.Tasks.Task<OidcError>
null if the request passes this step, otherwise the error to surface.