OAuthException
Namespace: Wisej.Web
Assembly: Wisej.Framework (4.2.0.0)
The exception that faults the task returned by SignInAsync, and that GetAccessToken throws when the component is not signed in.
4.2.0+- C#
- VB.NET
public class OAuthException : Exception
Public Class OAuthException
Inherits Exception
Message is built from Reason, Error and HttpStatus only. It never contains an authorization code, state, nonce, PKCE verifier, token or client secret, and it never folds in ErrorDescription, which is attacker-influenceable on the callback.
Properties
Error
String: Returns the provider error code, or null.
ErrorDescription
String: Returns the provider error text, or null. Exposed as a property and never folded into Message.
ErrorUri
String: Returns the provider error URI, or null.
HttpStatus
Nullable<Int32>: Returns the HTTP status of the failing request, or null.
Provider
OAuthProvider: Returns the provider the attempt used.
Reason
OAuthError: Returns the typed failure reason.