Early Preview
This is currently very much a preview. Please feel free to try things out,
but don't be upset if anything is not yet working. Feedback is welcome over on our
GitHub Dicussions page.
class Duende.​IdentityServer.​Saml.​Validation.​AuthnRequestValidationResult
Assembly: Duende.IdentityServer
Inheritance: object → Validation.​ValidationResult → AuthnRequestValidationResult
Result of AuthnRequestValidation
Properties
public required
ValidatedAuthnRequest
ValidatedRequest
The validated request.
public
bool
IsError
Gets or sets a value indicating whether the validation was successful.
public
string
Error
Gets or sets the error.
public
string
ErrorDescription
Gets or sets the error description.
Methods
public static
AuthnRequestValidationResult
Valid​(ValidatedAuthnRequest validatedAuthnRequest)
Creates a valid validation result
Returns Valid validation result
validatedAuthnRequest
Validated request
public static
AuthnRequestValidationResult
InValid​(ValidatedAuthnRequest validatedAuthnRequest,
string saml2ErrorCode,
string errorDescription = null)
Creates an invalid validation result.
validatedAuthnRequest
The AuthnRequest validation context
saml2ErrorCode
Error code (a Saml2 status code)
errorDescription
Error description
public
bool
Equals​(object obj)
Inherited from object
protected
void
Finalize​()
Inherited from object
public
int
GetHashCode​()
Inherited from object
protected
object
MemberwiseClone​()
Inherited from object
public
string
ToString​()
Inherited from object