Skip to main content

OAuthError

@authgear/capacitor


@authgear/capacitor / OAuthError

Class: OAuthError

OAuthError represents the oauth error response. https://tools.ietf.org/html/rfc6749#section-4.1.2.1

Extends​

Constructors​

Constructor​

new OAuthError(__namedParameters): OAuthError

Parameters​

__namedParameters​
error​

string

error_description?​

string

error_uri?​

string

state?​

string

Returns​

OAuthError

Overrides​

AuthgearError.constructor

Properties​

error​

error: string


error_description?​

optional error_description: string


error_uri?​

optional error_uri: string


state?​

optional state: string


underlyingError?​

optional underlyingError: unknown

underlyingError is the underlying error. The type is unknown because it is possible to throw anything in JavaScript. Use ordinary approaches, such as instanceof operator, to identify what it is.

Inherited from​

AuthgearError.underlyingError