import { Token } from "https://deno.land/x/faster@v12.1/middlewares/token.ts";
Static Methods
generate(data?: any, exp?): Promise<string>
getPayload(token: string): Promise<any>
middleware(ctx: Context, next: NextFunc)
setConfigs(configs: any): void
setSecret(secret: string): void