UNPKG

@thesinding/authentication-api-key

Version:

API Key authentication strategy for @feathers/authentication

11 lines (10 loc) 362 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.InvalidAPIError = void 0; const errors_1 = require("@feathersjs/errors"); class InvalidAPIError extends errors_1.FeathersError { constructor() { super("Invalid API key", "InvalidAPIKey", 401, "InvalidAPIKey", {}); } } exports.InvalidAPIError = InvalidAPIError;