Перейти к содержимому
Abblix
Эта страница ещё не переведена.

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.

C#
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.

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

Parameters

logger Microsoft.Extensions.Logging.ILogger<ResponseModeValidator>