OAuthError
@authgear/web / 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
Properties
error
error:
string
error_description?
optionalerror_description:string
error_uri?
optionalerror_uri:string
state?
optionalstate:string
underlyingError?
optionalunderlyingError: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.