@wristband/express-auth
Version:
SDK for integrating your ExpressJS application with Wristband. Handles user authentication, session management, and token management.
12 lines (11 loc) • 646 B
TypeScript
export declare const FORM_URLENCODED_MEDIA_TYPE: string;
export declare const JSON_MEDIA_TYPE: string;
export declare const LOGIN_REQUIRED_ERROR: string;
export declare const LOGIN_STATE_COOKIE_SEPARATOR: string;
export declare const LOGIN_STATE_COOKIE_PREFIX: string;
export declare const MAX_REFRESH_ATTEMPTS: number;
export declare const MAX_REFRESH_ATTEMPT_DELAY_MS: number;
export declare const TENANT_DOMAIN_PLACEHOLDER: string;
export declare const TENANT_NAME_PLACEHOLDER: string;
export declare const TENANT_PLACEHOLDER_REGEX: RegExp;
export declare const TENANT_PLACEHOLDER_MSG = "\"{tenant_name}\" or \"{tenant_domain}\" placeholder";