Files
passport/lib/interfaces/token.interface.ts
Дмитрий d49b2cf7e5
Some checks failed
Publish / Publish Job (push) Has been cancelled
feat: add generic from payload data
2026-03-27 11:36:20 +03:00

4 lines
116 B
TypeScript

export type VerifyResult<T = any> =
| { valid: true; payload: T; jti: string }
| { valid: false; reason: string }