Skip to main content

RedirectUriValidator Class

Abblix.Oidc.Server

Abblix.Oidc.Server.Endpoints.Authorization.Validation

RedirectUriValidator Class

Validates the redirect URI specified in the authorization request. This class checks whether the provided redirect URI matches one of the client's registered redirect URIs, as part of the authorization validation process. It is essential for ensuring that redirections only occur to pre-approved locations, enhancing security in the OAuth 2.0 flow.

public class RedirectUriValidator : Abblix.Oidc.Server.Endpoints.Authorization.Validation.SyncAuthorizationContextValidatorBase

Inheritance System.ObjectSyncAuthorizationContextValidatorBase → RedirectUriValidator

Constructors

RedirectUriValidator(ILogger<RedirectUriValidator>) Constructor

Validates the redirect URI specified in the authorization request. This class checks whether the provided redirect URI matches one of the client's registered redirect URIs, as part of the authorization validation process. It is essential for ensuring that redirections only occur to pre-approved locations, enhancing security in the OAuth 2.0 flow.

public RedirectUriValidator(Microsoft.Extensions.Logging.ILogger<Abblix.Oidc.Server.Endpoints.Authorization.Validation.RedirectUriValidator> logger);

Parameters

logger Microsoft.Extensions.Logging.ILogger<RedirectUriValidator>

The logger to be used for logging validation process and outcomes.