Skip to content

OAuthException

Namespace: E2E.OAuth

public sealed class OAuthException : E2EException, ISerializable

Why a subscription login or a request made with it failed. Code is one of the constants.

Inheritance: object → Exception → E2EException

Implements: ISerializable

View source

public OAuthException(string code, string message)

Parameters

Name Type Description
code string
message string

View source

public OAuthException(string code, string message, Exception inner)

Parameters

Name Type Description
code string
message string
inner Exception

View source

public const string Cancelled = "CANCELLED"

The user or the caller cancelled the flow.

Value: string

View source

public const string FlowFailed = "FLOW_FAILED"

The authorization server or the vendor API answered with an error during a flow.

Value: string

View source

public const string LoginRequired = "LOGIN_REQUIRED"

The token or refresh token was rejected; the user signs in again.

Value: string

View source

public const string Misconfigured = "MISCONFIGURED"

The flow needs an option the caller did not give (a client id, a CLI).

Value: string

View source

public const string NotLoggedIn = "NOT_LOGGED_IN"

No stored credentials for the provider.

Value: string

View source

public const string Timeout = "TIMEOUT"

The flow ran out of time waiting for the user.

Value: string

View source