The access token provided is expired, revoked, or invalid.

Do not use this error for refresh tokens. When a refresh token is expired, revoked, or invalid, user InvalidGrantError instead.

This is defined by IndieAuth, not OAuth 2.0.

Hierarchy (View Summary)

Constructors

Properties

cause?: unknown
code: string
error: string
error_description?: string
error_uri?: string
message: string
name: string
stack?: string
state?: string
statusCode: number
prepareStackTrace?: (err: Error, stackTraces: CallSite[]) => any

Optional override for formatting stack traces

stackTraceLimit: number

Methods

  • Parameters

    Returns
        | {
            error: string;
            error_description: undefined
            | string;
            error_uri: undefined | string;
            state: undefined | string;
        }
        | {
            error: string;
            error_description?: undefined;
            error_uri?: undefined;
            state?: undefined;
        }

  • Create .stack property on a target object

    Parameters

    • targetObject: object
    • OptionalconstructorOpt: Function

    Returns void