Skip to main content

ResponseModeValidator Class

Abblix.Oidc.Server

Abblix.Oidc.Server.Endpoints.Authorization.Validation

ResponseModeValidator Class

Verifies that an explicit response_mode is compatible with the OAuth 2.0 flow derived from response_type (OAuth 2.0 Multiple Response Types §2.1, OAuth 2.0 Form Post Response Mode). For the authorization-code flow any of query, fragment, form_post is allowed; flows that issue tokens at the authorization endpoint (implicit, hybrid) refuse query because credentials must not appear in the URL query string.

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

Inheritance System.ObjectSyncAuthorizationContextValidatorBase → ResponseModeValidator

Constructors

ResponseModeValidator(ILogger<ResponseModeValidator>) Constructor

Verifies that an explicit response_mode is compatible with the OAuth 2.0 flow derived from response_type (OAuth 2.0 Multiple Response Types §2.1, OAuth 2.0 Form Post Response Mode). For the authorization-code flow any of query, fragment, form_post is allowed; flows that issue tokens at the authorization endpoint (implicit, hybrid) refuse query because credentials must not appear in the URL query string.

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

Parameters

logger Microsoft.Extensions.Logging.ILogger<ResponseModeValidator>