Represents errors related to authentication and authorization in a format conforming to the OAuth 2.0 specification.

interface AuthErrorResponse {
    error: string;
    error_description?: string;
    errors: ErrorObject[];
    message: string;
    statusCode: number;
}

Hierarchy

Properties

error: string

Error code as per the OAuth 2.0 specification. For example: "access_denied".

error_description?: string

Plain text description of the first error.

errors: ErrorObject[]

Authentication and authorization-related errors returned for a request.

message: string

First error message in the errors array.

statusCode: number

HTTP status code corresponding to the error.

Generated using TypeDoc