UNPKG

@wristband/express-auth

Version:

SDK for integrating your ExpressJS application with Wristband. Handles user authentication and token management.

7 lines (6 loc) 382 B
export const FORM_URLENCODED_MEDIA_TYPE = 'application/x-www-form-urlencoded'; export const JSON_MEDIA_TYPE = 'application/json;charset=UTF-8'; export const LOGIN_REQUIRED_ERROR = 'login_required'; export const LOGIN_STATE_COOKIE_SEPARATOR = '#'; export const LOGIN_STATE_COOKIE_PREFIX = `login${LOGIN_STATE_COOKIE_SEPARATOR}`; export const TENANT_DOMAIN_TOKEN = '{tenant_domain}';