From 4568e5a5abccce570e53024207c55ce746c4bea4 Mon Sep 17 00:00:00 2001 From: Dessalines Date: Fri, 19 Mar 2021 10:22:47 -0400 Subject: [PATCH] Updating claims. --- src/shared/services/UserService.ts | 3 ++- tsconfig.json | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/shared/services/UserService.ts b/src/shared/services/UserService.ts index acef3616..286b468c 100644 --- a/src/shared/services/UserService.ts +++ b/src/shared/services/UserService.ts @@ -5,8 +5,9 @@ import jwt_decode from "jwt-decode"; import { Subject, BehaviorSubject } from "rxjs"; interface Claims { - local_user_id: number; + sub: number; iss: string; + iat: number; } export class UserService { diff --git a/tsconfig.json b/tsconfig.json index aae5ae70..cd9bc8d0 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -22,6 +22,6 @@ }, "include": [ "src/**/*", - "node_modules/inferno/dist/index.d.ts", + "node_modules/inferno/dist/index.d.ts" ] }