UNPKG
token-guardian
Version:
latest (1.0.1)
1.0.1
1.0.0
A comprehensive solution for protecting and managing API tokens and secrets
token-guardian
/
dist
/
interfaces
/
JWT.d.ts
11 lines
(10 loc)
•
222 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
/** * Result of JWT token validation */
export
interface
JWTValidationResult
{
valid
:
boolean
;
error
?:
string
;
payload
?:
Record
<
string
,
unknown
>;
header
?:
Record
<
string
,
unknown
>;
expiresAt
?:
Date
; }