Skip to main content

IEndSessionRequestValidator Interface

Abblix.Oidc.Server

Abblix.Oidc.Server.Endpoints.EndSession.Interfaces

IEndSessionRequestValidator Interface

Validates incoming RP-initiated logout requests against the rules of OpenID Connect RP-Initiated Logout 1.0 §2 (e.g. id_token_hint integrity, post_logout_redirect_uri against the client's registered list, end-user confirmation when no id_token_hint is provided).

public interface IEndSessionRequestValidator

Derived
EndSessionRequestValidator

Methods

IEndSessionRequestValidator.ValidateAsync(EndSessionRequest) Method

Runs the configured validation pipeline over the raw end-session request.

System.Threading.Tasks.Task<Abblix.Utils.Result<Abblix.Oidc.Server.Endpoints.EndSession.Interfaces.ValidEndSessionRequest,Abblix.Oidc.Server.Common.OidcError>> ValidateAsync(Abblix.Oidc.Server.Model.EndSessionRequest request);

Parameters

request EndSessionRequest

The wire-level request to validate.

Returns

System.Threading.Tasks.Task<Abblix.Utils.Result<ValidEndSessionRequest,OidcError>>
A ValidEndSessionRequest on success, or an OidcError identifying the first failed step.