Class ValidationResult
- Namespace
- Duende.IdentityServer.Validation
- Assembly
- Duende.IdentityServer.dll
Minimal validation result class (base-class for more complex validation results)
public class ValidationResult
- Inheritance
-
ValidationResult
- Derived
- Inherited Members
Constructors
ValidationResult()
public ValidationResult()
Properties
Error
Gets or sets the error.
public string? Error { get; set; }
Property Value
- string
The error.
ErrorDescription
Gets or sets the error description.
public string? ErrorDescription { get; set; }
Property Value
- string
The error description.
IsError
Gets or sets a value indicating whether the validation was successful.
public bool IsError { get; set; }
Property Value
- bool
true
if the validation is failed; otherwise,false
.