import { Token } from "https://deno.land/x/faster@v11.7/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