express-jwtoken
Version:
Simple express JSON Web Token library.
9 lines (8 loc) • 419 B
TypeScript
import ClientTokenEngine from "./clientTokenEngine";
/**
* Engine component to modifier the token on the client by using cookies.
* This engine requires the cookie-parser before using the JwtEngine.
* Optionally you can pass a string in the CookieCTE.
* This string will be used for the name of the cookie. The default name is: 'jwt'.
*/
export declare const CookieCTE: (cookieName?: string) => ClientTokenEngine;