UNPKG

alinea

Version:
19 lines (18 loc) 505 B
import { HttpError } from 'alinea/core/HttpError'; export declare enum AuthAction { Status = "status", Handshake = "handshake", Login = "login", Logout = "logout", Refresh = "refresh" } export declare class AuthError extends HttpError { name: string; constructor(message: string, options?: ErrorOptions); } export declare class MissingCredentialsError extends AuthError { name: string; } export declare class InvalidCredentialsError extends AuthError { name: string; }