@aikidosec/firewall
Version:
Zen by Aikido is an embedded Application Firewall that autonomously protects Node.js apps against common and critical attacks, provides rate limiting, detects malicious traffic (including bots), and more.
9 lines (8 loc) • 471 B
TypeScript
declare const AUTH_SCHEMES: readonly ["basic", "bearer", "digest", "dpop", "gnap", "hoba", "mutal", "negotiate", "privatetoken", "scram-sha-1", "scram-sha-256", "vapid"];
export type HTTPAuthScheme = (typeof AUTH_SCHEMES)[number];
/**
* Checks if a string is a valid HTTP authentication scheme.
* https://www.iana.org/assignments/http-authschemes/http-authschemes.xhtml
*/
export declare function isHTTPAuthScheme(scheme: string): scheme is HTTPAuthScheme;
export {};