UNPKG
auth-service-nestjs
Version:
latest (0.0.11)
0.0.11
0.0.10
0.0.9
0.0.7
0.0.6
0.0.5
0.0.4
0.0.3
0.0.2
Authorization service for lightweight systems
github.com/trotill/
trotill/auth-service
auth-service-nestjs
/
src
/
auth
/
auth.types.ts
19 lines
(16 loc)
•
279 B
text/typescript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
export
interface
JwtTokenPayload
{
login
:
string
;
role
:
string
;
sessionId
:
string
;
type
:
string
;
iat
:
number
;
exp
:
number
; }
export
interface
JwtPair
{
access
:
string
;
refresh
:
string
; }
export
interface
SessionStat
{
totalRemoved
:
number
;
total
:
number
; }