UNPKG
@lokesh-kaushik/jwt-auth
Version:
latest (0.0.1)
0.0.1
Encode, Decode & Validate JSON Web Token (JWTs)
@lokesh-kaushik/jwt-auth
/
dist
/
decode.d.ts
6 lines
(5 loc)
•
136 B
TypeScript
View Raw
1
2
3
4
5
6
export
declare
function
decode_jwt
(
secret
:
string
,
jwt
:
string
): {
id
:
string
;
payload
:
object
;
expires_at
:
Date
|
null
; };