Table of Contents

Class PushedAuthorizationValidationResult

Namespace
Duende.IdentityServer.Validation
Assembly
Duende.IdentityServer.dll

Represents the results of validating a pushed authorization request.

public class PushedAuthorizationValidationResult : ValidationResult
Inheritance
PushedAuthorizationValidationResult
Inherited Members

Constructors

PushedAuthorizationValidationResult(ValidatedPushedAuthorizationRequest)

Initializes a new instance of the PushedAuthorizationValidationResult class, indicating that PAR specific validation succeeded.

public PushedAuthorizationValidationResult(ValidatedPushedAuthorizationRequest validatedParRequest)

Parameters

validatedParRequest ValidatedPushedAuthorizationRequest

The validated pushed authorization request.

PushedAuthorizationValidationResult(string, string)

Initializes a new instance of the PushedAuthorizationValidationResult class, indicating that validation failed while validating the request specifically as for pushed authorization.

public PushedAuthorizationValidationResult(string error, string errorDescription)

Parameters

error string

The error code, as specified by RFC 9126, etc

errorDescription string

The error description: "human-readable ASCII text providing additional information, used to assist the client developer in understanding the error that occurred."

PushedAuthorizationValidationResult(string?, string?, ValidatedAuthorizeRequest)

Initializes a new instance of the PushedAuthorizationValidationResult class, indicating that validation failed while validating the pushed parameters for use as authorize parameters. In other words, the pushed parameters contain an error that would be an error even if the pushed parameters were used directly at the authorize endpoint.

public PushedAuthorizationValidationResult(string? error, string? errorDescription, ValidatedAuthorizeRequest authorizeRequest)

Parameters

error string

The error code, as specified by RFC 9126, etc

errorDescription string

The error description: "human-readable ASCII text providing additional information, used to assist the client developer in understanding the error that occurred."

authorizeRequest ValidatedAuthorizeRequest

The partial results of validating the pushed authorize parameters.

Properties

PartiallyValidatedAuthorizeRequest

The partially validated authorize request returned by the IAuthorizeRequestValidator when authorize request validation errors occur, or null otherwise.

If errors occur while the pushed authorization parameters are being validated as an authorize request, the ValidatedAuthorizeRequest that is being populated by that validation process can be used to enhance diagnostics and logging.

public ValidatedAuthorizeRequest? PartiallyValidatedAuthorizeRequest { get; set; }

Property Value

ValidatedAuthorizeRequest

ValidatedRequest

The validated pushed authorization request, or null if a validation error occurred.

public ValidatedPushedAuthorizationRequest? ValidatedRequest { get; set; }

Property Value

ValidatedPushedAuthorizationRequest