From 399424f0a652a84c1c54451c34abe025b1c8b3ac Mon Sep 17 00:00:00 2001 From: Harini101133 Date: Sun, 31 Mar 2024 21:30:31 +0530 Subject: [PATCH 1/2] Updated token member --- .../src/app/dashboard-listing/dashboard-listing.component.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Angular-with-ASP.NETCore/ClientApp/src/app/dashboard-listing/dashboard-listing.component.ts b/Angular-with-ASP.NETCore/ClientApp/src/app/dashboard-listing/dashboard-listing.component.ts index 436219e..c1c7f71 100644 --- a/Angular-with-ASP.NETCore/ClientApp/src/app/dashboard-listing/dashboard-listing.component.ts +++ b/Angular-with-ASP.NETCore/ClientApp/src/app/dashboard-listing/dashboard-listing.component.ts @@ -69,9 +69,7 @@ export class DashboardListing implements OnInit { width:"100%", height:"100%", expirationTime:100000, - authorizationServer: { - url:this._appComponent.apiHost + this._appComponent.authorizationUrl - } + token: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6ImhhcmluaS5yYW1lc2hAc3luY2Z1c2lvbi5jb20iLCJ1cG4iOiJoYXJpbmkucmFtZXNoQHN5bmNmdXNpb24uY29tIiwibmFtZWlkIjoiMSIsInVuaXF1ZV9uYW1lIjoiYWU4NDU0ZmUtYzZlYy00Njg0LWJkYmEtMjM2NWUyNjU1MzBlIiwiSVAiOiI6OjEiLCJpc3N1ZWRfZGF0ZSI6IjE3MTE1NDI2MjMiLCJuYmYiOjE3MTE1NDI2MjMsImV4cCI6MTcxMjE0NzQyMywiaWF0IjoxNzExNTQyNjIzLCJpc3MiOiJodHRwOi8vbG9jYWxob3N0OjQ5OTk0L2JpL3NpdGUvc2l0ZTEiLCJhdWQiOiJodHRwOi8vbG9jYWxob3N0OjQ5OTk0L2JpL3NpdGUvc2l0ZTEifQ.JXhdSyRkFIwug7eQR0ZPLNhUkhy9ddoidiqlE915obE", }); console.log(this.dashboard); From 781e97a9aa7b9d05c70e0a89dc8bc642a3543c61 Mon Sep 17 00:00:00 2001 From: Harini101133 Date: Wed, 17 Apr 2024 18:08:36 +0530 Subject: [PATCH 2/2] updated the token --- .../src/app/dashboard-listing/dashboard-listing.component.ts | 4 +--- .../src/app/dashboard-listing/dashboard-listing.component.ts | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/Angular 14/src/app/dashboard-listing/dashboard-listing.component.ts b/Angular 14/src/app/dashboard-listing/dashboard-listing.component.ts index f72370f..814ac4a 100644 --- a/Angular 14/src/app/dashboard-listing/dashboard-listing.component.ts +++ b/Angular 14/src/app/dashboard-listing/dashboard-listing.component.ts @@ -70,9 +70,7 @@ export class DashboardListing implements OnInit { width:"100%", height:"100%", expirationTime:100000, - authorizationServer: { - url:this._appComponent.apiHost + this._appComponent.authorizationUrl - } + token: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkxNTQyNjOTk0L2JpL3NpdGUiJodHRwOi8R0ZPLNhUkhy9ddoidiqlE915obE" // This must be your unique user access token }); this.dashboard.loadDashboard(); diff --git a/Angular-with-ASP.NETCore/ClientApp/src/app/dashboard-listing/dashboard-listing.component.ts b/Angular-with-ASP.NETCore/ClientApp/src/app/dashboard-listing/dashboard-listing.component.ts index c1c7f71..fa535f3 100644 --- a/Angular-with-ASP.NETCore/ClientApp/src/app/dashboard-listing/dashboard-listing.component.ts +++ b/Angular-with-ASP.NETCore/ClientApp/src/app/dashboard-listing/dashboard-listing.component.ts @@ -69,7 +69,7 @@ export class DashboardListing implements OnInit { width:"100%", height:"100%", expirationTime:100000, - token: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6ImhhcmluaS5yYW1lc2hAc3luY2Z1c2lvbi5jb20iLCJ1cG4iOiJoYXJpbmkucmFtZXNoQHN5bmNmdXNpb24uY29tIiwibmFtZWlkIjoiMSIsInVuaXF1ZV9uYW1lIjoiYWU4NDU0ZmUtYzZlYy00Njg0LWJkYmEtMjM2NWUyNjU1MzBlIiwiSVAiOiI6OjEiLCJpc3N1ZWRfZGF0ZSI6IjE3MTE1NDI2MjMiLCJuYmYiOjE3MTE1NDI2MjMsImV4cCI6MTcxMjE0NzQyMywiaWF0IjoxNzExNTQyNjIzLCJpc3MiOiJodHRwOi8vbG9jYWxob3N0OjQ5OTk0L2JpL3NpdGUvc2l0ZTEiLCJhdWQiOiJodHRwOi8vbG9jYWxob3N0OjQ5OTk0L2JpL3NpdGUvc2l0ZTEifQ.JXhdSyRkFIwug7eQR0ZPLNhUkhy9ddoidiqlE915obE", + token: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkxNTQyNjOTk0L2JpL3NpdGUiJodHRwOi8R0ZPLNhUkhy9ddoidiqlE915obE" // This must be your unique user access token }); console.log(this.dashboard);