UNPKG

@foal/jwt

Version:

Authentication with JWT for FoalTS

4 lines (3 loc) 186 B
import { Context } from '@foal/core'; import { JWTOptions } from '../jwt.hook'; export declare function shouldVerifyCsrfToken(request: Context['request'], options: JWTOptions): boolean;