PostLogoutRedirectUrisValidator Class
Abblix.Oidc.Server
Abblix.Oidc.Server.Endpoints.EndSession.Validation
PostLogoutRedirectUrisValidator Class
Verifies that the request's post_logout_redirect_uri is one of the URIs the
resolved client previously registered (OpenID Connect RP-Initiated Logout 1.0 §2).
A request without post_logout_redirect_uri is allowed; if one is present but
the client cannot be resolved from client_id or id_token_hint, the
redirect URI cannot be safely validated and the request is rejected.
public class PostLogoutRedirectUrisValidator : Abblix.Oidc.Server.Endpoints.EndSession.Validation.IEndSessionContextValidator
Inheritance System.Object → PostLogoutRedirectUrisValidator
Implements IEndSessionContextValidator
Constructors
PostLogoutRedirectUrisValidator(ILogger<PostLogoutRedirectUrisValidator>) Constructor
Verifies that the request's post_logout_redirect_uri is one of the URIs the
resolved client previously registered (OpenID Connect RP-Initiated Logout 1.0 §2).
A request without post_logout_redirect_uri is allowed; if one is present but
the client cannot be resolved from client_id or id_token_hint, the
redirect URI cannot be safely validated and the request is rejected.
public PostLogoutRedirectUrisValidator(Microsoft.Extensions.Logging.ILogger<Abblix.Oidc.Server.Endpoints.EndSession.Validation.PostLogoutRedirectUrisValidator> logger);
Parameters
logger Microsoft.Extensions.Logging.ILogger<PostLogoutRedirectUrisValidator>
Methods
PostLogoutRedirectUrisValidator.ValidateAsync(EndSessionValidationContext) Method
Performs this validator's check against the shared context.
public 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).
Implements ValidateAsync(EndSessionValidationContext)
Returns
System.Threading.Tasks.Task<OidcError>
null if the request passes this step, otherwise the error to surface.