@wristband/nextjs-auth
Version:
SDK for integrating your Next.js application with Wristband. Handles user authentication, session management, and token management.
21 lines (20 loc) • 776 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 = "#";
export declare const LOGIN_STATE_COOKIE_PREFIX: string;
export declare const NO_CACHE_HEADERS: {
'Cache-Control': string;
Pragma: string;
};
export declare const REDIRECT_RESPONSE_INIT: {
status: number;
headers: {
'Cache-Control': string;
Pragma: string;
};
};
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";