UNPKG

@thesinding/authentication-api-key

Version:

API Key authentication strategy for @feathers/authentication

8 lines (6 loc) 203 B
import { FeathersError } from "@feathersjs/errors"; export class InvalidAPIError extends FeathersError { constructor() { super("Invalid API key", "InvalidAPIKey", 401, "InvalidAPIKey", {}); } }