Skip to main content

OAuthError

@authgear/react-native / OAuthError

Class: OAuthError

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

Hierarchy

Table of contents

Constructors

Properties

Constructors

constructor

new OAuthError(__namedParameters)

Parameters

NameType
__namedParametersObject
__namedParameters.errorstring
__namedParameters.error_description?string
__namedParameters.error_uri?string
__namedParameters.state?string

Overrides

AuthgearError.constructor

Defined in

packages/authgear-react-native/index.d.ts:75

Properties

error

error: string

Defined in

packages/authgear-react-native/index.d.ts:72


error_description

Optional error_description: string

Defined in

packages/authgear-react-native/index.d.ts:73


error_uri

Optional error_uri: string

Defined in

packages/authgear-react-native/index.d.ts:74


state

Optional state: string

Defined in

packages/authgear-react-native/index.d.ts:71


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

Defined in

packages/authgear-react-native/index.d.ts:14