Class OAuthException
A generic OAuthException to be serialized to json for correct oauth handling
Inheritance
System.Object
OAuthException
Namespace: ImageVault.Common.Security.OAuth
Assembly: ImageVault.Common.dll
Syntax
public class OAuthException : Exception
Constructors
OAuthException(String, String)
Initializes a new instance of the OAuthException class.
Declaration
public OAuthException(string errorCode, string message)
Parameters
Type | Name | Description |
---|---|---|
System.String | errorCode | |
System.String | message |
Properties
OAuthErrorData
Get/Sets the OAuthErrorData of the OAuthException
Declaration
public OAuthErrorData OAuthErrorData { get; set; }
Property Value
Type | Description |
---|---|
OAuthErrorData |
Methods
ToJsonResponse()
Declaration
public string ToJsonResponse()
Returns
Type | Description |
---|---|
System.String |