AuthFailedException

Namespace: ASPSecurityKit
Assembly: ASPSecurityKit.dll

Summary

Represents an exception that can be thrown from any part of the authentication/authorization flow to indicate failure and thus terminate the request with appropriate reason and details.

Constructors

#ctor(reason,message)

Summary

Initializes a new instance of the AuthFailedException class.

Parameters
Name Type Description
reason ASPSecurityKit.OpResult The reason for auth failure.
message System.String The error message.

Properties

Reason

Summary

Gets the reason of why authentication/authorization failed.

Value

The reason of why authentication/authorization failed.

Errors

Summary

Gets the individual data points representing the exact cause of, or the useful detailed information to help in troubleshooting the failure.

Value

The individual data points representing the exact cause of, or the useful detailed information to help in troubleshooting the failure.