OAuthException
Namespace: E2E.OAuth
public sealed class OAuthException : E2EException, ISerializableWhy a subscription login or a request made with it failed. Code is one of the constants.
Inheritance: object → Exception → E2EException
Implements: ISerializable
Constructors
Section titled “Constructors”OAuthException(string, string)
Section titled “OAuthException(string, string)”public OAuthException(string code, string message)Parameters
| Name | Type | Description |
|---|---|---|
code |
string | |
message |
string |
OAuthException(string, string, Exception)
Section titled “OAuthException(string, string, Exception)”public OAuthException(string code, string message, Exception inner)Parameters
| Name | Type | Description |
|---|---|---|
code |
string | |
message |
string | |
inner |
Exception |
Fields
Section titled “Fields”Cancelled
Section titled “Cancelled”public const string Cancelled = "CANCELLED"The user or the caller cancelled the flow.
Value: string
FlowFailed
Section titled “FlowFailed”public const string FlowFailed = "FLOW_FAILED"The authorization server or the vendor API answered with an error during a flow.
Value: string
LoginRequired
Section titled “LoginRequired”public const string LoginRequired = "LOGIN_REQUIRED"The token or refresh token was rejected; the user signs in again.
Value: string
Misconfigured
Section titled “Misconfigured”public const string Misconfigured = "MISCONFIGURED"The flow needs an option the caller did not give (a client id, a CLI).
Value: string
NotLoggedIn
Section titled “NotLoggedIn”public const string NotLoggedIn = "NOT_LOGGED_IN"No stored credentials for the provider.
Value: string
Timeout
Section titled “Timeout”public const string Timeout = "TIMEOUT"The flow ran out of time waiting for the user.
Value: string