2025-11-25 07:30:54.0814||DEBUG|Authentication.Program|init main function 2025-11-25 07:30:59.1499|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 07:30:59.7651|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (15ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT 1 2025-11-25 07:30:59.7864|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (13ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT OBJECT_ID(N'[__EFMigrationsHistory]'); 2025-11-25 07:30:59.7926|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT 1 2025-11-25 07:30:59.7926|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT OBJECT_ID(N'[__EFMigrationsHistory]'); 2025-11-25 07:30:59.7926|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT [MigrationId], [ProductVersion] FROM [__EFMigrationsHistory] ORDER BY [MigrationId]; 2025-11-25 07:30:59.9362|20405|INFO|Microsoft.EntityFrameworkCore.Migrations|No migrations were applied. The database is already up to date. 2025-11-25 07:31:00.4689||INFO|Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager|User profile not available. Using 'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ASP.NET\4.0.30319.0\AutoGenKeys\S-1-5-82-2404559740-2321761809-584227669-3522060946-2110276425\DataProtection' as key repository and Windows DPAPI to encrypt keys at rest. 2025-11-25 07:31:00.6468|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignIn 2025-11-25 07:31:00.6768|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 07:31:00.6853|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 39.0114ms 204 2025-11-25 07:31:00.7241|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignIn application/json 64 2025-11-25 07:31:00.7293|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 07:31:00.7293|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.SignIn (Authentication)' 2025-11-25 07:31:00.7791|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "SignIn", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] SignIn(Authentication.Data.Models.Identity.AuthBindingModel) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 07:31:00.7791|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 07:31:01.0693|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (25ms) [Parameters=[@__ToLower_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE LOWER([a].[UserName]) = @__ToLower_0 2025-11-25 07:31:01.1630|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (14ms) [Parameters=[@__checkUser_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__checkUser_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) ORDER BY [u].[Id] DESC 2025-11-25 07:31:01.2036|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (15ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[NormalizedUserName] = @__normalizedUserName_0 2025-11-25 07:31:01.2652|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[ClaimType], [a].[ClaimValue], [a].[Discriminator], [a].[UserId] FROM [AspNetUserClaims] AS [a] WHERE [a].[Discriminator] IN (N'IdentityUserClaim', N'UserClaim') AND ([a].[UserId] = @__user_Id_0) 2025-11-25 07:31:01.2966|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 07:31:01.3132|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__normalizedName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[InstitutionId], [a].[IsActive], [a].[Name], [a].[NormalizedName], [a].[UpdatedBy], [a].[UserType] FROM [AspNetRoles] AS [a] WHERE [a].[NormalizedName] = @__normalizedName_0 2025-11-25 07:31:01.3317|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__role_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[ClaimType], [a].[ClaimValue] FROM [AspNetRoleClaims] AS [a] WHERE [a].[RoleId] = @__role_Id_0 2025-11-25 07:31:01.3440|10|INFO|Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationHandler|AuthenticationScheme: Identity.Application signed in. 2025-11-25 07:31:01.3440|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (3ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[NormalizedUserName] = @__normalizedUserName_0 2025-11-25 07:31:01.9779|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (3ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 07:31:01.9913|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [p].[Code] FROM [UserPermissions] AS [u] INNER JOIN [Permissions] AS [p] ON [u].[PermissionId] = [p].[Id] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 07:31:02.2710|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (11ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 07:31:02.3859|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; INSERT INTO [UserToken] ([DateCreated], [ExpiryDate], [IsActive], [SessionExpiryDate], [Token], [UserId]) VALUES (@p0, @p1, @p2, @p3, @p4, @p5); SELECT [Id] FROM [UserToken] WHERE @@ROWCOUNT = 1 AND [Id] = scope_identity(); 2025-11-25 07:31:02.4241|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 07:31:02.4241||INFO|Authentication.Controllers.AccountController|userakaicombey@MOF role is gotten 2025-11-25 07:31:02.4394|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [u].[Id], [u].[CreatedBy], [u].[DateCreated], [u].[DateUpdated], [u].[IsActive], [u].[IsDeleted], [u].[PermissionId], [u].[RowVersion], [u].[UpdatedBy], [u].[UserId] FROM [UserPermissions] AS [u] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 07:31:02.4582|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 07:31:02.4582|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 07:31:02.4640|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 07:31:02.4640|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 07:31:02.4640|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 07:31:02.4640|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 07:31:02.4640|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 07:31:02.4640|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 07:31:02.4640|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 07:31:02.4640|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 07:31:02.4640|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 07:31:02.4801|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 07:31:02.4801|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 07:31:02.4801|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (0ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 07:31:02.4801|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (0ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 07:31:02.4801|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (0ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 07:31:02.4801|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (0ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 07:31:02.4801|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (0ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 07:31:02.4801|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (0ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 07:31:02.4801||INFO|Authentication.Controllers.AccountController|user akaicombey@MOF is signin but about to call corporate service 2025-11-25 07:31:02.6405|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'AuditTrailUtility.Utility.SaveResponse'. 2025-11-25 07:31:02.6622|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.SignIn (Authentication) in 1878.2001ms 2025-11-25 07:31:02.6622|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.SignIn (Authentication)' 2025-11-25 07:31:02.6680|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1943.9889ms 200 application/json; charset=utf-8 2025-11-25 07:31:02.8109|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/Admin/GetAllUsersByCorporateId?corporateId=207 2025-11-25 07:31:02.8109|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 07:31:02.8109|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 7.0246ms 204 2025-11-25 07:31:02.8300|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/Admin/GetAllUsersByCorporateId?corporateId=207 2025-11-25 07:31:02.8388|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 07:31:02.8388|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.GetAllUsersByCorporateId (Authentication)' 2025-11-25 07:31:02.8545|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllUsersByCorporateId", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllUsersByCorporateId(Int64) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 07:31:02.8814|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 07:31:02.8954|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (3ms) [Parameters=[@__corporateId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[UserTypeId] = @__corporateId_0 2025-11-25 07:31:02.9253|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[Authentication.Data.Models.Identity.UserBindingModel, Authentication.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2025-11-25 07:31:02.9375|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.GetAllUsersByCorporateId (Authentication) in 81.7299ms 2025-11-25 07:31:02.9375|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.GetAllUsersByCorporateId (Authentication)' 2025-11-25 07:31:02.9375|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 110.7911ms 200 application/json; charset=utf-8 2025-11-25 07:35:46.7451|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignOut/578 2025-11-25 07:35:46.7451|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 07:35:46.7524|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 7.7682ms 204 2025-11-25 07:35:46.7524|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignOut/578 2025-11-25 07:35:46.7674|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 07:35:46.7674|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.SignOut (Authentication)' 2025-11-25 07:35:46.7852|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "SignOut", controller = "Account"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult SignOut(Int64) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 07:35:46.7991|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 07:35:46.8307|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (11ms) [Parameters=[@__UserId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__UserId_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 07:35:46.8530|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@p6='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [UserToken] SET [DateCreated] = @p0, [ExpiryDate] = @p1, [IsActive] = @p2, [SessionExpiryDate] = @p3, [Token] = @p4, [UserId] = @p5 WHERE [Id] = @p6; SELECT @@ROWCOUNT; 2025-11-25 07:35:46.8647|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'AuditTrailUtility.Utility.SaveResponse'. 2025-11-25 07:35:46.8647|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.SignOut (Authentication) in 79.8636ms 2025-11-25 07:35:46.8647|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.SignOut (Authentication)' 2025-11-25 07:35:46.8647|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 105.5691ms 200 application/json; charset=utf-8 2025-11-25 07:55:22.3073|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignIn 2025-11-25 07:55:22.3073|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 07:55:22.3073|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 4.8877ms 204 2025-11-25 07:55:22.8563|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignIn application/json 65 2025-11-25 07:55:22.8563|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 07:55:22.8563|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.SignIn (Authentication)' 2025-11-25 07:55:22.8666|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "SignIn", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] SignIn(Authentication.Data.Models.Identity.AuthBindingModel) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 07:55:22.8666|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 07:55:22.8885|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__ToLower_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE LOWER([a].[UserName]) = @__ToLower_0 2025-11-25 07:55:22.9069|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (14ms) [Parameters=[@__checkUser_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__checkUser_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) ORDER BY [u].[Id] DESC 2025-11-25 07:55:22.9069|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (3ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[NormalizedUserName] = @__normalizedUserName_0 2025-11-25 07:55:22.9214|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[ClaimType], [a].[ClaimValue], [a].[Discriminator], [a].[UserId] FROM [AspNetUserClaims] AS [a] WHERE [a].[Discriminator] IN (N'IdentityUserClaim', N'UserClaim') AND ([a].[UserId] = @__user_Id_0) 2025-11-25 07:55:22.9214|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 07:55:22.9310|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__normalizedName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[InstitutionId], [a].[IsActive], [a].[Name], [a].[NormalizedName], [a].[UpdatedBy], [a].[UserType] FROM [AspNetRoles] AS [a] WHERE [a].[NormalizedName] = @__normalizedName_0 2025-11-25 07:55:22.9310|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__role_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[ClaimType], [a].[ClaimValue] FROM [AspNetRoleClaims] AS [a] WHERE [a].[RoleId] = @__role_Id_0 2025-11-25 07:55:22.9310|10|INFO|Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationHandler|AuthenticationScheme: Identity.Application signed in. 2025-11-25 07:55:22.9467|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[NormalizedUserName] = @__normalizedUserName_0 2025-11-25 07:55:22.9648|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 07:55:22.9648|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (3ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [p].[Code] FROM [UserPermissions] AS [u] INNER JOIN [Permissions] AS [p] ON [u].[PermissionId] = [p].[Id] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 07:55:22.9856|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (13ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 07:55:22.9996|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; INSERT INTO [UserToken] ([DateCreated], [ExpiryDate], [IsActive], [SessionExpiryDate], [Token], [UserId]) VALUES (@p0, @p1, @p2, @p3, @p4, @p5); SELECT [Id] FROM [UserToken] WHERE @@ROWCOUNT = 1 AND [Id] = scope_identity(); 2025-11-25 07:55:22.9996|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 07:55:23.0077||INFO|Authentication.Controllers.AccountController|userrwilliams@MOF role is gotten 2025-11-25 07:55:23.0077|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [u].[Id], [u].[CreatedBy], [u].[DateCreated], [u].[DateUpdated], [u].[IsActive], [u].[IsDeleted], [u].[PermissionId], [u].[RowVersion], [u].[UpdatedBy], [u].[UserId] FROM [UserPermissions] AS [u] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 07:55:23.0077|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 07:55:23.0077|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 07:55:23.0077|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 07:55:23.0224|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 07:55:23.0224|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 07:55:23.0224|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 07:55:23.0224|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 07:55:23.0224|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (0ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 07:55:23.0224|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (0ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 07:55:23.0224|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (0ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 07:55:23.0224|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (0ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 07:55:23.0224|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (0ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 07:55:23.0224||INFO|Authentication.Controllers.AccountController|user rwilliams@MOF is signin but about to call corporate service 2025-11-25 07:55:23.1141|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'AuditTrailUtility.Utility.SaveResponse'. 2025-11-25 07:55:23.1168|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.SignIn (Authentication) in 248.4471ms 2025-11-25 07:55:23.1168|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.SignIn (Authentication)' 2025-11-25 07:55:23.1168|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 264.0121ms 200 application/json; charset=utf-8 2025-11-25 07:55:23.5171|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/Admin/GetAllUsersByCorporateId?corporateId=207 2025-11-25 07:55:23.5171|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 07:55:23.5303|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 13.0473ms 204 2025-11-25 07:55:23.7822|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/Admin/GetAllUsersByCorporateId?corporateId=207 2025-11-25 07:55:23.7822|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 07:55:23.7903|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.GetAllUsersByCorporateId (Authentication)' 2025-11-25 07:55:23.7903|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllUsersByCorporateId", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllUsersByCorporateId(Int64) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 07:55:23.7903|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 07:55:23.8048|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (3ms) [Parameters=[@__corporateId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[UserTypeId] = @__corporateId_0 2025-11-25 07:55:23.8048|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[Authentication.Data.Models.Identity.UserBindingModel, Authentication.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2025-11-25 07:55:23.8048|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.GetAllUsersByCorporateId (Authentication) in 23.3065ms 2025-11-25 07:55:23.8202|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.GetAllUsersByCorporateId (Authentication)' 2025-11-25 07:55:23.8202|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 41.6239ms 200 application/json; charset=utf-8 2025-11-25 07:56:58.0050|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignOut/493 2025-11-25 07:56:58.0050|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 07:56:58.0050|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 7.5795ms 204 2025-11-25 07:56:58.2866|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignOut/493 2025-11-25 07:56:58.2866|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 07:56:58.2944|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.SignOut (Authentication)' 2025-11-25 07:56:58.2944|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "SignOut", controller = "Account"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult SignOut(Int64) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 07:56:58.2944|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 07:56:58.3167|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (14ms) [Parameters=[@__UserId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__UserId_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 07:56:58.3273|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p6='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [UserToken] SET [DateCreated] = @p0, [ExpiryDate] = @p1, [IsActive] = @p2, [SessionExpiryDate] = @p3, [Token] = @p4, [UserId] = @p5 WHERE [Id] = @p6; SELECT @@ROWCOUNT; 2025-11-25 07:56:58.3273|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'AuditTrailUtility.Utility.SaveResponse'. 2025-11-25 07:56:58.3273|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.SignOut (Authentication) in 34.6842ms 2025-11-25 07:56:58.3273|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.SignOut (Authentication)' 2025-11-25 07:56:58.3273|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 48.732ms 200 application/json; charset=utf-8 2025-11-25 08:17:52.7436|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://127.0.0.1:4681/AUTHENTICATIONSERVICE/iisintegration 0 2025-11-25 08:17:52.7468|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 3.1977ms 202 2025-11-25 08:46:56.3558||DEBUG|Authentication.Program|init main function 2025-11-25 08:46:58.2803|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 08:46:58.5371|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (16ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT 1 2025-11-25 08:46:58.5592|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (13ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT OBJECT_ID(N'[__EFMigrationsHistory]'); 2025-11-25 08:46:58.5592|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT 1 2025-11-25 08:46:58.5592|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT OBJECT_ID(N'[__EFMigrationsHistory]'); 2025-11-25 08:46:58.5794|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT [MigrationId], [ProductVersion] FROM [__EFMigrationsHistory] ORDER BY [MigrationId]; 2025-11-25 08:46:58.5994|20405|INFO|Microsoft.EntityFrameworkCore.Migrations|No migrations were applied. The database is already up to date. 2025-11-25 08:46:58.7431||INFO|Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager|User profile not available. Using 'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ASP.NET\4.0.30319.0\AutoGenKeys\S-1-5-82-2404559740-2321761809-584227669-3522060946-2110276425\DataProtection' as key repository and Windows DPAPI to encrypt keys at rest. 2025-11-25 08:46:59.0357|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignIn 2025-11-25 08:46:59.0652|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 08:46:59.0772|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 41.5501ms 204 2025-11-25 08:46:59.0926|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignIn application/json 59 2025-11-25 08:46:59.0926|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 08:46:59.1051|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.SignIn (Authentication)' 2025-11-25 08:46:59.1365|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "SignIn", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] SignIn(Authentication.Data.Models.Identity.AuthBindingModel) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 08:46:59.1365|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 08:46:59.4178|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (25ms) [Parameters=[@__ToLower_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE LOWER([a].[UserName]) = @__ToLower_0 2025-11-25 08:46:59.5032|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (8ms) [Parameters=[@__checkUser_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__checkUser_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) ORDER BY [u].[Id] DESC 2025-11-25 08:46:59.5391|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (15ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[NormalizedUserName] = @__normalizedUserName_0 2025-11-25 08:46:59.5880|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (3ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[ClaimType], [a].[ClaimValue], [a].[Discriminator], [a].[UserId] FROM [AspNetUserClaims] AS [a] WHERE [a].[Discriminator] IN (N'IdentityUserClaim', N'UserClaim') AND ([a].[UserId] = @__user_Id_0) 2025-11-25 08:46:59.6226|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 08:46:59.6226|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__normalizedName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[InstitutionId], [a].[IsActive], [a].[Name], [a].[NormalizedName], [a].[UpdatedBy], [a].[UserType] FROM [AspNetRoles] AS [a] WHERE [a].[NormalizedName] = @__normalizedName_0 2025-11-25 08:46:59.6524|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__role_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[ClaimType], [a].[ClaimValue] FROM [AspNetRoleClaims] AS [a] WHERE [a].[RoleId] = @__role_Id_0 2025-11-25 08:46:59.6524|10|INFO|Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationHandler|AuthenticationScheme: Identity.Application signed in. 2025-11-25 08:46:59.6672|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[NormalizedUserName] = @__normalizedUserName_0 2025-11-25 08:46:59.8673|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 08:46:59.8760|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [p].[Code] FROM [UserPermissions] AS [u] INNER JOIN [Permissions] AS [p] ON [u].[PermissionId] = [p].[Id] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 08:46:59.9337|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (6ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 08:47:00.0557|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; INSERT INTO [UserToken] ([DateCreated], [ExpiryDate], [IsActive], [SessionExpiryDate], [Token], [UserId]) VALUES (@p0, @p1, @p2, @p3, @p4, @p5); SELECT [Id] FROM [UserToken] WHERE @@ROWCOUNT = 1 AND [Id] = scope_identity(); 2025-11-25 08:47:00.0958|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 08:47:00.0958||INFO|Authentication.Controllers.AccountController|userrcoker@MOF role is gotten 2025-11-25 08:47:00.1080|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [u].[Id], [u].[CreatedBy], [u].[DateCreated], [u].[DateUpdated], [u].[IsActive], [u].[IsDeleted], [u].[PermissionId], [u].[RowVersion], [u].[UpdatedBy], [u].[UserId] FROM [UserPermissions] AS [u] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 08:47:00.1229|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 08:47:00.1229|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 08:47:00.1229|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 08:47:00.1229|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 08:47:00.1229|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 08:47:00.1352|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 08:47:00.1352|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 08:47:00.1352|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 08:47:00.1352|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 08:47:00.1352|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (0ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 08:47:00.1352||INFO|Authentication.Controllers.AccountController|user rcoker@MOF is signin but about to call corporate service 2025-11-25 08:47:00.2887|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'AuditTrailUtility.Utility.SaveResponse'. 2025-11-25 08:47:00.3094|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.SignIn (Authentication) in 1168.7963ms 2025-11-25 08:47:00.3094|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.SignIn (Authentication)' 2025-11-25 08:47:00.3094|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1223.5598ms 200 application/json; charset=utf-8 2025-11-25 08:47:00.3504|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/Admin/GetAllUsersByCorporateId?corporateId=207 2025-11-25 08:47:00.3544|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 08:47:00.3544|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6.551ms 204 2025-11-25 08:47:00.3544|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/Admin/GetAllUsersByCorporateId?corporateId=207 2025-11-25 08:47:00.3798|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 08:47:00.3798|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.GetAllUsersByCorporateId (Authentication)' 2025-11-25 08:47:00.3895|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllUsersByCorporateId", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllUsersByCorporateId(Int64) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 08:47:00.4152|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 08:47:00.4307|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (3ms) [Parameters=[@__corporateId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[UserTypeId] = @__corporateId_0 2025-11-25 08:47:00.4624|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[Authentication.Data.Models.Identity.UserBindingModel, Authentication.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2025-11-25 08:47:00.4767|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.GetAllUsersByCorporateId (Authentication) in 86.1085ms 2025-11-25 08:47:00.4803|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.GetAllUsersByCorporateId (Authentication)' 2025-11-25 08:47:00.4803|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 118.6ms 200 application/json; charset=utf-8 2025-11-25 08:47:45.3958|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignOut/492 2025-11-25 08:47:45.3958|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 08:47:45.3958|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 11.911ms 204 2025-11-25 08:47:45.4158|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignOut/492 2025-11-25 08:47:45.4158|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 08:47:45.4158|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.SignOut (Authentication)' 2025-11-25 08:47:45.4303|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "SignOut", controller = "Account"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult SignOut(Int64) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 08:47:45.4412|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 08:47:45.4621|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (7ms) [Parameters=[@__UserId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__UserId_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 08:47:45.4760|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p6='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [UserToken] SET [DateCreated] = @p0, [ExpiryDate] = @p1, [IsActive] = @p2, [SessionExpiryDate] = @p3, [Token] = @p4, [UserId] = @p5 WHERE [Id] = @p6; SELECT @@ROWCOUNT; 2025-11-25 08:47:45.4760|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'AuditTrailUtility.Utility.SaveResponse'. 2025-11-25 08:47:45.4760|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.SignOut (Authentication) in 50.9908ms 2025-11-25 08:47:45.4760|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.SignOut (Authentication)' 2025-11-25 08:47:45.4760|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 70.3876ms 200 application/json; charset=utf-8 2025-11-25 08:54:25.6683|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignIn 2025-11-25 08:54:25.6683|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 08:54:25.6683|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6.2035ms 204 2025-11-25 08:54:25.6824|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignIn application/json 61 2025-11-25 08:54:25.6824|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 08:54:25.6824|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.SignIn (Authentication)' 2025-11-25 08:54:25.6824|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "SignIn", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] SignIn(Authentication.Data.Models.Identity.AuthBindingModel) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 08:54:25.6824|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 08:54:25.7148|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__ToLower_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE LOWER([a].[UserName]) = @__ToLower_0 2025-11-25 08:54:25.7148|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__checkUser_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__checkUser_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) ORDER BY [u].[Id] DESC 2025-11-25 08:54:25.7260|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[NormalizedUserName] = @__normalizedUserName_0 2025-11-25 08:54:25.7260|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[ClaimType], [a].[ClaimValue], [a].[Discriminator], [a].[UserId] FROM [AspNetUserClaims] AS [a] WHERE [a].[Discriminator] IN (N'IdentityUserClaim', N'UserClaim') AND ([a].[UserId] = @__user_Id_0) 2025-11-25 08:54:25.7460|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 08:54:25.7460|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__normalizedName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[InstitutionId], [a].[IsActive], [a].[Name], [a].[NormalizedName], [a].[UpdatedBy], [a].[UserType] FROM [AspNetRoles] AS [a] WHERE [a].[NormalizedName] = @__normalizedName_0 2025-11-25 08:54:25.7460|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__role_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[ClaimType], [a].[ClaimValue] FROM [AspNetRoleClaims] AS [a] WHERE [a].[RoleId] = @__role_Id_0 2025-11-25 08:54:25.7599|10|INFO|Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationHandler|AuthenticationScheme: Identity.Application signed in. 2025-11-25 08:54:25.7599|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (3ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[NormalizedUserName] = @__normalizedUserName_0 2025-11-25 08:54:25.7854|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 08:54:25.7913|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [p].[Code] FROM [UserPermissions] AS [u] INNER JOIN [Permissions] AS [p] ON [u].[PermissionId] = [p].[Id] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 08:54:25.8082|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (12ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 08:54:25.8082|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p6='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [UserToken] SET [DateCreated] = @p0, [ExpiryDate] = @p1, [IsActive] = @p2, [SessionExpiryDate] = @p3, [Token] = @p4, [UserId] = @p5 WHERE [Id] = @p6; SELECT @@ROWCOUNT; 2025-11-25 08:54:25.8248|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; INSERT INTO [UserToken] ([DateCreated], [ExpiryDate], [IsActive], [SessionExpiryDate], [Token], [UserId]) VALUES (@p0, @p1, @p2, @p3, @p4, @p5); SELECT [Id] FROM [UserToken] WHERE @@ROWCOUNT = 1 AND [Id] = scope_identity(); 2025-11-25 08:54:25.8248|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 08:54:25.8248||INFO|Authentication.Controllers.AccountController|userabbangura@AGD role is gotten 2025-11-25 08:54:25.8388|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [u].[Id], [u].[CreatedBy], [u].[DateCreated], [u].[DateUpdated], [u].[IsActive], [u].[IsDeleted], [u].[PermissionId], [u].[RowVersion], [u].[UpdatedBy], [u].[UserId] FROM [UserPermissions] AS [u] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 08:54:25.8388|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 08:54:25.8388|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 08:54:25.8388|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 08:54:25.8512|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 08:54:25.8512|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 08:54:25.8512|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 08:54:25.8512||INFO|Authentication.Controllers.AccountController|user abbangura@AGD is signin but about to call corporate service 2025-11-25 08:54:25.9027|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'AuditTrailUtility.Utility.SaveResponse'. 2025-11-25 08:54:25.9027|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.SignIn (Authentication) in 215.2285ms 2025-11-25 08:54:25.9027|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.SignIn (Authentication)' 2025-11-25 08:54:25.9027|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 227.1676ms 200 application/json; charset=utf-8 2025-11-25 08:54:25.9875|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/Admin/GetAllUsersByCorporateId?corporateId=208 2025-11-25 08:54:25.9875|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 08:54:25.9926|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 5.2018ms 204 2025-11-25 08:54:25.9926|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/Admin/GetAllUsersByCorporateId?corporateId=208 2025-11-25 08:54:25.9926|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 08:54:25.9926|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.GetAllUsersByCorporateId (Authentication)' 2025-11-25 08:54:25.9926|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllUsersByCorporateId", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllUsersByCorporateId(Int64) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 08:54:25.9926|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 08:54:26.0102|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__corporateId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[UserTypeId] = @__corporateId_0 2025-11-25 08:54:26.0102|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[Authentication.Data.Models.Identity.UserBindingModel, Authentication.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2025-11-25 08:54:26.0102|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.GetAllUsersByCorporateId (Authentication) in 11.7681ms 2025-11-25 08:54:26.0102|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.GetAllUsersByCorporateId (Authentication)' 2025-11-25 08:54:26.0102|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 21.2301ms 200 application/json; charset=utf-8 2025-11-25 09:14:55.0946|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://127.0.0.1:6188/AUTHENTICATIONSERVICE/iisintegration 0 2025-11-25 09:14:55.1001|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 5.7737ms 202 2025-11-25 09:27:18.7554||DEBUG|Authentication.Program|init main function 2025-11-25 09:27:20.5333|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 09:27:20.7657|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (15ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT 1 2025-11-25 09:27:20.7864|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (12ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT OBJECT_ID(N'[__EFMigrationsHistory]'); 2025-11-25 09:27:20.7912|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT 1 2025-11-25 09:27:20.7912|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT OBJECT_ID(N'[__EFMigrationsHistory]'); 2025-11-25 09:27:20.7912|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT [MigrationId], [ProductVersion] FROM [__EFMigrationsHistory] ORDER BY [MigrationId]; 2025-11-25 09:27:20.8202|20405|INFO|Microsoft.EntityFrameworkCore.Migrations|No migrations were applied. The database is already up to date. 2025-11-25 09:27:20.9421||INFO|Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager|User profile not available. Using 'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ASP.NET\4.0.30319.0\AutoGenKeys\S-1-5-82-2404559740-2321761809-584227669-3522060946-2110276425\DataProtection' as key repository and Windows DPAPI to encrypt keys at rest. 2025-11-25 09:27:21.2163|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignIn 2025-11-25 09:27:21.2457|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 09:27:21.2457|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 37.9487ms 204 2025-11-25 09:27:21.9441|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignIn application/json 60 2025-11-25 09:27:21.9481|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 09:27:21.9481|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.SignIn (Authentication)' 2025-11-25 09:27:21.9912|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "SignIn", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] SignIn(Authentication.Data.Models.Identity.AuthBindingModel) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 09:27:22.0052|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 09:27:22.2892|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (27ms) [Parameters=[@__ToLower_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE LOWER([a].[UserName]) = @__ToLower_0 2025-11-25 09:27:22.3902|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (13ms) [Parameters=[@__checkUser_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__checkUser_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) ORDER BY [u].[Id] DESC 2025-11-25 09:27:22.4188|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (7ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[NormalizedUserName] = @__normalizedUserName_0 2025-11-25 09:27:22.4684|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (3ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[ClaimType], [a].[ClaimValue], [a].[Discriminator], [a].[UserId] FROM [AspNetUserClaims] AS [a] WHERE [a].[Discriminator] IN (N'IdentityUserClaim', N'UserClaim') AND ([a].[UserId] = @__user_Id_0) 2025-11-25 09:27:22.4956|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 09:27:22.4956|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__normalizedName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[InstitutionId], [a].[IsActive], [a].[Name], [a].[NormalizedName], [a].[UpdatedBy], [a].[UserType] FROM [AspNetRoles] AS [a] WHERE [a].[NormalizedName] = @__normalizedName_0 2025-11-25 09:27:22.5212|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__role_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[ClaimType], [a].[ClaimValue] FROM [AspNetRoleClaims] AS [a] WHERE [a].[RoleId] = @__role_Id_0 2025-11-25 09:27:22.5293|10|INFO|Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationHandler|AuthenticationScheme: Identity.Application signed in. 2025-11-25 09:27:22.5293|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[NormalizedUserName] = @__normalizedUserName_0 2025-11-25 09:27:22.7304|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 09:27:22.7438|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [p].[Code] FROM [UserPermissions] AS [u] INNER JOIN [Permissions] AS [p] ON [u].[PermissionId] = [p].[Id] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 09:27:22.7967|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (5ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 09:27:22.9082|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; INSERT INTO [UserToken] ([DateCreated], [ExpiryDate], [IsActive], [SessionExpiryDate], [Token], [UserId]) VALUES (@p0, @p1, @p2, @p3, @p4, @p5); SELECT [Id] FROM [UserToken] WHERE @@ROWCOUNT = 1 AND [Id] = scope_identity(); 2025-11-25 09:27:22.9345|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 09:27:22.9345||INFO|Authentication.Controllers.AccountController|userlcaulker@MOF role is gotten 2025-11-25 09:27:22.9513|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [u].[Id], [u].[CreatedBy], [u].[DateCreated], [u].[DateUpdated], [u].[IsActive], [u].[IsDeleted], [u].[PermissionId], [u].[RowVersion], [u].[UpdatedBy], [u].[UserId] FROM [UserPermissions] AS [u] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 09:27:22.9649|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 09:27:22.9649|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 09:27:22.9649|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (0ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 09:27:22.9649|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (0ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 09:27:22.9649|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (0ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 09:27:22.9649|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (0ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 09:27:22.9770|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (0ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 09:27:22.9770|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (0ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 09:27:22.9770|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 09:27:22.9770||INFO|Authentication.Controllers.AccountController|user lcaulker@MOF is signin but about to call corporate service 2025-11-25 09:27:23.1228|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'AuditTrailUtility.Utility.SaveResponse'. 2025-11-25 09:27:23.1437|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.SignIn (Authentication) in 1143.4076ms 2025-11-25 09:27:23.1437|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.SignIn (Authentication)' 2025-11-25 09:27:23.1492|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1205.2066ms 200 application/json; charset=utf-8 2025-11-25 09:27:23.2638|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/Admin/GetAllUsersByCorporateId?corporateId=207 2025-11-25 09:27:23.2638|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 09:27:23.2638|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6.3388ms 204 2025-11-25 09:27:23.4488|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/Admin/GetAllUsersByCorporateId?corporateId=207 2025-11-25 09:27:23.4488|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 09:27:23.4488|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.GetAllUsersByCorporateId (Authentication)' 2025-11-25 09:27:23.4642|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllUsersByCorporateId", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllUsersByCorporateId(Int64) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 09:27:23.4949|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 09:27:23.5101|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__corporateId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[UserTypeId] = @__corporateId_0 2025-11-25 09:27:23.5393|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[Authentication.Data.Models.Identity.UserBindingModel, Authentication.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2025-11-25 09:27:23.5393|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.GetAllUsersByCorporateId (Authentication) in 82.3181ms 2025-11-25 09:27:23.5393|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.GetAllUsersByCorporateId (Authentication)' 2025-11-25 09:27:23.5393|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 103.0144ms 200 application/json; charset=utf-8 2025-11-25 09:39:03.7757|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignIn 2025-11-25 09:39:03.7757|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 09:39:03.7863|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 10.8623ms 204 2025-11-25 09:39:03.7863|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignIn application/json 61 2025-11-25 09:39:03.7863|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 09:39:03.7863|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.SignIn (Authentication)' 2025-11-25 09:39:03.7863|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "SignIn", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] SignIn(Authentication.Data.Models.Identity.AuthBindingModel) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 09:39:03.8101|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 09:39:03.8367|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__ToLower_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE LOWER([a].[UserName]) = @__ToLower_0 2025-11-25 09:39:03.8367|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__checkUser_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__checkUser_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) ORDER BY [u].[Id] DESC 2025-11-25 09:39:03.8367|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[NormalizedUserName] = @__normalizedUserName_0 2025-11-25 09:39:03.8611|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[ClaimType], [a].[ClaimValue], [a].[Discriminator], [a].[UserId] FROM [AspNetUserClaims] AS [a] WHERE [a].[Discriminator] IN (N'IdentityUserClaim', N'UserClaim') AND ([a].[UserId] = @__user_Id_0) 2025-11-25 09:39:03.8678|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 09:39:03.8678|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__normalizedName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[InstitutionId], [a].[IsActive], [a].[Name], [a].[NormalizedName], [a].[UpdatedBy], [a].[UserType] FROM [AspNetRoles] AS [a] WHERE [a].[NormalizedName] = @__normalizedName_0 2025-11-25 09:39:03.8793|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__role_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[ClaimType], [a].[ClaimValue] FROM [AspNetRoleClaims] AS [a] WHERE [a].[RoleId] = @__role_Id_0 2025-11-25 09:39:03.8793|10|INFO|Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationHandler|AuthenticationScheme: Identity.Application signed in. 2025-11-25 09:39:03.8793|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[NormalizedUserName] = @__normalizedUserName_0 2025-11-25 09:39:03.9015|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 09:39:03.9015|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [p].[Code] FROM [UserPermissions] AS [u] INNER JOIN [Permissions] AS [p] ON [u].[PermissionId] = [p].[Id] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 09:39:03.9203|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (13ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 09:39:03.9347|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@p6='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [UserToken] SET [DateCreated] = @p0, [ExpiryDate] = @p1, [IsActive] = @p2, [SessionExpiryDate] = @p3, [Token] = @p4, [UserId] = @p5 WHERE [Id] = @p6; SELECT @@ROWCOUNT; 2025-11-25 09:39:03.9416|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; INSERT INTO [UserToken] ([DateCreated], [ExpiryDate], [IsActive], [SessionExpiryDate], [Token], [UserId]) VALUES (@p0, @p1, @p2, @p3, @p4, @p5); SELECT [Id] FROM [UserToken] WHERE @@ROWCOUNT = 1 AND [Id] = scope_identity(); 2025-11-25 09:39:03.9416|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 09:39:03.9416||INFO|Authentication.Controllers.AccountController|userabbangura@AGD role is gotten 2025-11-25 09:39:03.9416|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [u].[Id], [u].[CreatedBy], [u].[DateCreated], [u].[DateUpdated], [u].[IsActive], [u].[IsDeleted], [u].[PermissionId], [u].[RowVersion], [u].[UpdatedBy], [u].[UserId] FROM [UserPermissions] AS [u] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 09:39:03.9416|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 09:39:03.9576|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 09:39:03.9576|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 09:39:03.9576|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 09:39:03.9576|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 09:39:03.9737|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 09:39:03.9737||INFO|Authentication.Controllers.AccountController|user abbangura@AGD is signin but about to call corporate service 2025-11-25 09:39:04.0288|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'AuditTrailUtility.Utility.SaveResponse'. 2025-11-25 09:39:04.0288|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.SignIn (Authentication) in 234.0114ms 2025-11-25 09:39:04.0352|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.SignIn (Authentication)' 2025-11-25 09:39:04.0352|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 244.4009ms 200 application/json; charset=utf-8 2025-11-25 09:39:04.0871|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/Admin/GetAllUsersByCorporateId?corporateId=208 2025-11-25 09:39:04.0871|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 09:39:04.0871|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 5.9781ms 204 2025-11-25 09:39:04.1019|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/Admin/GetAllUsersByCorporateId?corporateId=208 2025-11-25 09:39:04.1019|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 09:39:04.1019|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.GetAllUsersByCorporateId (Authentication)' 2025-11-25 09:39:04.1019|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllUsersByCorporateId", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllUsersByCorporateId(Int64) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 09:39:04.1019|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 09:39:04.1177|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__corporateId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[UserTypeId] = @__corporateId_0 2025-11-25 09:39:04.1177|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[Authentication.Data.Models.Identity.UserBindingModel, Authentication.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2025-11-25 09:39:04.1177|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.GetAllUsersByCorporateId (Authentication) in 11.5964ms 2025-11-25 09:39:04.1177|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.GetAllUsersByCorporateId (Authentication)' 2025-11-25 09:39:04.1177|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 24.816ms 200 application/json; charset=utf-8 2025-11-25 09:47:24.6292|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=FsRIBxnzd5/pkHFNrsVKEQAK0+zO/5otS0ZQ95M+7Ag= 2025-11-25 09:47:24.6292|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=FsRIBxnzd5/pkHFNrsVKEQAK0+zO/5otS0ZQ95M+7Ag= 2025-11-25 09:47:24.6292|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=FsRIBxnzd5/pkHFNrsVKEQAK0+zO/5otS0ZQ95M+7Ag= 2025-11-25 09:47:24.6292|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=FsRIBxnzd5/pkHFNrsVKEQAK0+zO/5otS0ZQ95M+7Ag= 2025-11-25 09:47:24.6292|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=FsRIBxnzd5/pkHFNrsVKEQAK0+zO/5otS0ZQ95M+7Ag= 2025-11-25 09:47:24.6292|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 09:47:24.6292|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 09:47:24.6292|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 09:47:24.6292|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 09:47:24.6292|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 09:47:24.6292|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 12.4816ms 204 2025-11-25 09:47:24.6292|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 11.4968ms 204 2025-11-25 09:47:24.6292|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 11.3362ms 204 2025-11-25 09:47:24.6455|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 13.7686ms 204 2025-11-25 09:47:24.6455|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 15.0614ms 204 2025-11-25 09:47:24.6455|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=FsRIBxnzd5/pkHFNrsVKEQAK0+zO/5otS0ZQ95M+7Ag= 0 2025-11-25 09:47:24.6455|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=FsRIBxnzd5/pkHFNrsVKEQAK0+zO/5otS0ZQ95M+7Ag= 0 2025-11-25 09:47:24.6455|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=FsRIBxnzd5/pkHFNrsVKEQAK0+zO/5otS0ZQ95M+7Ag= 0 2025-11-25 09:47:24.6455|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=FsRIBxnzd5/pkHFNrsVKEQAK0+zO/5otS0ZQ95M+7Ag= 0 2025-11-25 09:47:24.6455|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=FsRIBxnzd5/pkHFNrsVKEQAK0+zO/5otS0ZQ95M+7Ag= 0 2025-11-25 09:47:24.6455|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 09:47:24.6455|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 09:47:24.6603|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 09:47:24.6603|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 09:47:24.6603|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 09:47:24.6603|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 09:47:24.6603|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 09:47:24.6603|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 09:47:24.6603|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 09:47:24.6603|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 09:47:24.6809|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "RefreshToken", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] RefreshToken(System.String) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 09:47:24.6809|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "RefreshToken", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] RefreshToken(System.String) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 09:47:24.6809|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "RefreshToken", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] RefreshToken(System.String) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 09:47:24.6809|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 09:47:24.6809|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 09:47:24.6809|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 09:47:24.6809|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "RefreshToken", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] RefreshToken(System.String) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 09:47:24.6809|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "RefreshToken", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] RefreshToken(System.String) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 09:47:24.6918|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 09:47:24.6918|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 09:47:24.7195|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (15ms) [Parameters=[@__Token_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE [u].[Token] = @__Token_0 2025-11-25 09:47:24.7244|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'Microsoft.AspNetCore.Mvc.ProblemDetails'. 2025-11-25 09:47:24.7244|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (18ms) [Parameters=[@__Token_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE [u].[Token] = @__Token_0 2025-11-25 09:47:24.7244|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'Microsoft.AspNetCore.Mvc.ProblemDetails'. 2025-11-25 09:47:24.7244|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (12ms) [Parameters=[@__Token_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE [u].[Token] = @__Token_0 2025-11-25 09:47:24.7382|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'Microsoft.AspNetCore.Mvc.ProblemDetails'. 2025-11-25 09:47:24.7382|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (18ms) [Parameters=[@__Token_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE [u].[Token] = @__Token_0 2025-11-25 09:47:24.7382|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.RefreshToken (Authentication) in 48.7717ms 2025-11-25 09:47:24.7382|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.RefreshToken (Authentication) in 59.0281ms 2025-11-25 09:47:24.7382|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.RefreshToken (Authentication) in 58.1894ms 2025-11-25 09:47:24.7382|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'Microsoft.AspNetCore.Mvc.ProblemDetails'. 2025-11-25 09:47:24.7382|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 09:47:24.7382|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 09:47:24.7382|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 09:47:24.7382|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.RefreshToken (Authentication) in 64.2886ms 2025-11-25 09:47:24.7382|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (20ms) [Parameters=[@__Token_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE [u].[Token] = @__Token_0 2025-11-25 09:47:24.7382|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 93.4335ms 401 application/problem+json; charset=utf-8 2025-11-25 09:47:24.7382|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 99.5737ms 401 application/problem+json; charset=utf-8 2025-11-25 09:47:24.7382|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 102.7708ms 401 application/problem+json; charset=utf-8 2025-11-25 09:47:24.7541|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 09:47:24.7541|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'Microsoft.AspNetCore.Mvc.ProblemDetails'. 2025-11-25 09:47:24.7541|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 109.7302ms 401 application/problem+json; charset=utf-8 2025-11-25 09:47:24.7541|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.RefreshToken (Authentication) in 76.0711ms 2025-11-25 09:47:24.7709|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 09:47:24.7709|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 121.0293ms 401 application/problem+json; charset=utf-8 2025-11-25 09:48:10.9223|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignIn 2025-11-25 09:48:10.9280|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 09:48:10.9280|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 7.9231ms 204 2025-11-25 09:48:11.3083|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignIn application/json 60 2025-11-25 09:48:11.3137|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 09:48:11.3137|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.SignIn (Authentication)' 2025-11-25 09:48:11.3137|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "SignIn", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] SignIn(Authentication.Data.Models.Identity.AuthBindingModel) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 09:48:11.3137|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 09:48:11.3320|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (3ms) [Parameters=[@__ToLower_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE LOWER([a].[UserName]) = @__ToLower_0 2025-11-25 09:48:11.3320|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__checkUser_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__checkUser_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) ORDER BY [u].[Id] DESC 2025-11-25 09:48:11.3320|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[NormalizedUserName] = @__normalizedUserName_0 2025-11-25 09:48:11.3535|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[ClaimType], [a].[ClaimValue], [a].[Discriminator], [a].[UserId] FROM [AspNetUserClaims] AS [a] WHERE [a].[Discriminator] IN (N'IdentityUserClaim', N'UserClaim') AND ([a].[UserId] = @__user_Id_0) 2025-11-25 09:48:11.3535|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 09:48:11.3600|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__normalizedName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[InstitutionId], [a].[IsActive], [a].[Name], [a].[NormalizedName], [a].[UpdatedBy], [a].[UserType] FROM [AspNetRoles] AS [a] WHERE [a].[NormalizedName] = @__normalizedName_0 2025-11-25 09:48:11.3600|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__role_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[ClaimType], [a].[ClaimValue] FROM [AspNetRoleClaims] AS [a] WHERE [a].[RoleId] = @__role_Id_0 2025-11-25 09:48:11.3600|10|INFO|Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationHandler|AuthenticationScheme: Identity.Application signed in. 2025-11-25 09:48:11.3600|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[NormalizedUserName] = @__normalizedUserName_0 2025-11-25 09:48:11.3900|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 09:48:11.3940|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [p].[Code] FROM [UserPermissions] AS [u] INNER JOIN [Permissions] AS [p] ON [u].[PermissionId] = [p].[Id] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 09:48:11.3940|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (10ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 09:48:11.4130|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p6='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [UserToken] SET [DateCreated] = @p0, [ExpiryDate] = @p1, [IsActive] = @p2, [SessionExpiryDate] = @p3, [Token] = @p4, [UserId] = @p5 WHERE [Id] = @p6; SELECT @@ROWCOUNT; 2025-11-25 09:48:11.4130|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; INSERT INTO [UserToken] ([DateCreated], [ExpiryDate], [IsActive], [SessionExpiryDate], [Token], [UserId]) VALUES (@p0, @p1, @p2, @p3, @p4, @p5); SELECT [Id] FROM [UserToken] WHERE @@ROWCOUNT = 1 AND [Id] = scope_identity(); 2025-11-25 09:48:11.4253|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 09:48:11.4253||INFO|Authentication.Controllers.AccountController|userlcaulker@MOF role is gotten 2025-11-25 09:48:11.4253|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [u].[Id], [u].[CreatedBy], [u].[DateCreated], [u].[DateUpdated], [u].[IsActive], [u].[IsDeleted], [u].[PermissionId], [u].[RowVersion], [u].[UpdatedBy], [u].[UserId] FROM [UserPermissions] AS [u] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 09:48:11.4394|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 09:48:11.4394|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 09:48:11.4394|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 09:48:11.4394|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 09:48:11.4394|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 09:48:11.4394|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 09:48:11.4551|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 09:48:11.4551|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 09:48:11.4551|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 09:48:11.4551||INFO|Authentication.Controllers.AccountController|user lcaulker@MOF is signin but about to call corporate service 2025-11-25 09:48:11.5154|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'AuditTrailUtility.Utility.SaveResponse'. 2025-11-25 09:48:11.5186|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.SignIn (Authentication) in 197.4565ms 2025-11-25 09:48:11.5186|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.SignIn (Authentication)' 2025-11-25 09:48:11.5186|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 213.2632ms 200 application/json; charset=utf-8 2025-11-25 09:48:11.6923|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/Admin/GetAllUsersByCorporateId?corporateId=207 2025-11-25 09:48:11.6923|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 09:48:11.6923|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 5.2826ms 204 2025-11-25 09:48:11.7059|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/Admin/GetAllUsersByCorporateId?corporateId=207 2025-11-25 09:48:11.7059|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 09:48:11.7059|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.GetAllUsersByCorporateId (Authentication)' 2025-11-25 09:48:11.7059|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllUsersByCorporateId", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllUsersByCorporateId(Int64) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 09:48:11.7059|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 09:48:11.7375|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (16ms) [Parameters=[@__corporateId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[UserTypeId] = @__corporateId_0 2025-11-25 09:48:11.7512|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[Authentication.Data.Models.Identity.UserBindingModel, Authentication.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2025-11-25 09:48:11.7512|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.GetAllUsersByCorporateId (Authentication) in 43.5682ms 2025-11-25 09:48:11.7512|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.GetAllUsersByCorporateId (Authentication)' 2025-11-25 09:48:11.7512|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 53.3707ms 200 application/json; charset=utf-8 2025-11-25 10:08:17.5963|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://127.0.0.1:2600/AUTHENTICATIONSERVICE/iisintegration 0 2025-11-25 10:08:17.5963|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 4.3518ms 202 2025-11-25 10:12:35.9070||DEBUG|Authentication.Program|init main function 2025-11-25 10:12:37.9172|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 10:12:38.1291|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (14ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT 1 2025-11-25 10:12:38.1484|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (12ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT OBJECT_ID(N'[__EFMigrationsHistory]'); 2025-11-25 10:12:38.1484|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT 1 2025-11-25 10:12:38.1484|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT OBJECT_ID(N'[__EFMigrationsHistory]'); 2025-11-25 10:12:38.1484|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT [MigrationId], [ProductVersion] FROM [__EFMigrationsHistory] ORDER BY [MigrationId]; 2025-11-25 10:12:38.1771|20405|INFO|Microsoft.EntityFrameworkCore.Migrations|No migrations were applied. The database is already up to date. 2025-11-25 10:12:38.2848||INFO|Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager|User profile not available. Using 'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ASP.NET\4.0.30319.0\AutoGenKeys\S-1-5-82-2404559740-2321761809-584227669-3522060946-2110276425\DataProtection' as key repository and Windows DPAPI to encrypt keys at rest. 2025-11-25 10:12:38.4922|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignIn 2025-11-25 10:12:38.5181|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 10:12:38.5225|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 30.7275ms 204 2025-11-25 10:12:38.5225|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignIn application/json 60 2025-11-25 10:12:38.5225|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 10:12:38.5437|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.SignIn (Authentication)' 2025-11-25 10:12:38.5706|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "SignIn", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] SignIn(Authentication.Data.Models.Identity.AuthBindingModel) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 10:12:38.5706|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 10:12:38.8311|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (23ms) [Parameters=[@__ToLower_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE LOWER([a].[UserName]) = @__ToLower_0 2025-11-25 10:12:38.9019|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__checkUser_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__checkUser_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) ORDER BY [u].[Id] DESC 2025-11-25 10:12:38.9366|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (7ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[NormalizedUserName] = @__normalizedUserName_0 2025-11-25 10:12:38.9571||WARN|Microsoft.AspNetCore.Identity.UserManager|Invalid password for user 519. 2025-11-25 10:12:38.9605|2|WARN|Microsoft.AspNetCore.Identity.SignInManager|User 519 failed to provide the correct password. 2025-11-25 10:12:38.9605|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[NormalizedUserName] = @__normalizedUserName_0 2025-11-25 10:12:39.0607|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (3ms) [Parameters=[@p32='?' (DbType = Int64), @p0='?' (DbType = Int32), @p1='?' (Size = 4000), @p2='?' (DbType = Int64), @p3='?' (Size = 4000), @p33='?' (Size = 4000), @p4='?' (DbType = Int64), @p5='?' (DbType = DateTime2), @p6='?' (DbType = DateTime2), @p7='?' (DbType = DateTime2), @p8='?' (DbType = Int64), @p9='?' (Size = 256), @p10='?' (DbType = Boolean), @p11='?' (Size = 4000), @p12='?' (DbType = Boolean), @p13='?' (DbType = Boolean), @p14='?' (DbType = Boolean), @p15='?' (Size = 4000), @p16='?' (DbType = DateTime2), @p17='?' (DbType = Boolean), @p18='?' (DbType = DateTimeOffset), @p19='?' (Size = 4000), @p20='?' (Size = 4000), @p21='?' (Size = 256), @p22='?' (Size = 256), @p23='?' (Size = 4000), @p24='?' (Size = 4000), @p25='?' (DbType = Boolean), @p34='?' (Size = 8) (DbType = Binary), @p26='?' (Size = 4000), @p27='?' (DbType = Boolean), @p28='?' (DbType = Int64), @p29='?' (Size = 256), @p30='?' (DbType = Int32), @p31='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [AspNetUsers] SET [AccessFailedCount] = @p0, [Address] = @p1, [BranchId] = @p2, [ConcurrencyStamp] = @p3, [CreatedBy] = @p4, [DOB] = @p5, [DateCreated] = @p6, [DateUpdated] = @p7, [DeletedBy] = @p8, [Email] = @p9, [EmailConfirmed] = @p10, [FirstName] = @p11, [IsActive] = @p12, [IsDeleted] = @p13, [IsFirstLogin] = @p14, [LastName] = @p15, [LastPasswordChangeDate] = @p16, [LockoutEnabled] = @p17, [LockoutEnd] = @p18, [MiddleName] = @p19, [MobileNumber] = @p20, [NormalizedEmail] = @p21, [NormalizedUserName] = @p22, [PasswordHash] = @p23, [PhoneNumber] = @p24, [PhoneNumberConfirmed] = @p25, [SecurityStamp] = @p26, [TwoFactorEnabled] = @p27, [UpdatedBy] = @p28, [UserName] = @p29, [UserType] = @p30, [UserTypeId] = @p31 WHERE [Id] = @p32 AND [ConcurrencyStamp] = @p33 AND [RowVersion] = @p34; SELECT [RowVersion] FROM [AspNetUsers] WHERE @@ROWCOUNT = 1 AND [Id] = @p32; 2025-11-25 10:12:39.1230|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.String'. 2025-11-25 10:12:39.1230|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.SignIn (Authentication) in 553.9923ms 2025-11-25 10:12:39.1230|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.SignIn (Authentication)' 2025-11-25 10:12:39.1322|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 598.9361ms 400 text/plain; charset=utf-8 2025-11-25 10:13:30.7258|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignIn 2025-11-25 10:13:30.7258|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 10:13:30.7338|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 8.0471ms 204 2025-11-25 10:13:30.7338|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignIn application/json 60 2025-11-25 10:13:30.7338|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 10:13:30.7486|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.SignIn (Authentication)' 2025-11-25 10:13:30.7486|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "SignIn", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] SignIn(Authentication.Data.Models.Identity.AuthBindingModel) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 10:13:30.7796|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 10:13:30.7796|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__ToLower_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE LOWER([a].[UserName]) = @__ToLower_0 2025-11-25 10:13:30.7796|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__checkUser_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__checkUser_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) ORDER BY [u].[Id] DESC 2025-11-25 10:13:30.7960|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[NormalizedUserName] = @__normalizedUserName_0 2025-11-25 10:13:30.7960|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[NormalizedUserName] = @__normalizedUserName_0 2025-11-25 10:13:30.8110|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p32='?' (DbType = Int64), @p0='?' (DbType = Int32), @p1='?' (Size = 4000), @p2='?' (DbType = Int64), @p3='?' (Size = 4000), @p33='?' (Size = 4000), @p4='?' (DbType = Int64), @p5='?' (DbType = DateTime2), @p6='?' (DbType = DateTime2), @p7='?' (DbType = DateTime2), @p8='?' (DbType = Int64), @p9='?' (Size = 256), @p10='?' (DbType = Boolean), @p11='?' (Size = 4000), @p12='?' (DbType = Boolean), @p13='?' (DbType = Boolean), @p14='?' (DbType = Boolean), @p15='?' (Size = 4000), @p16='?' (DbType = DateTime2), @p17='?' (DbType = Boolean), @p18='?' (DbType = DateTimeOffset), @p19='?' (Size = 4000), @p20='?' (Size = 4000), @p21='?' (Size = 256), @p22='?' (Size = 256), @p23='?' (Size = 4000), @p24='?' (Size = 4000), @p25='?' (DbType = Boolean), @p34='?' (Size = 8) (DbType = Binary), @p26='?' (Size = 4000), @p27='?' (DbType = Boolean), @p28='?' (DbType = Int64), @p29='?' (Size = 256), @p30='?' (DbType = Int32), @p31='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [AspNetUsers] SET [AccessFailedCount] = @p0, [Address] = @p1, [BranchId] = @p2, [ConcurrencyStamp] = @p3, [CreatedBy] = @p4, [DOB] = @p5, [DateCreated] = @p6, [DateUpdated] = @p7, [DeletedBy] = @p8, [Email] = @p9, [EmailConfirmed] = @p10, [FirstName] = @p11, [IsActive] = @p12, [IsDeleted] = @p13, [IsFirstLogin] = @p14, [LastName] = @p15, [LastPasswordChangeDate] = @p16, [LockoutEnabled] = @p17, [LockoutEnd] = @p18, [MiddleName] = @p19, [MobileNumber] = @p20, [NormalizedEmail] = @p21, [NormalizedUserName] = @p22, [PasswordHash] = @p23, [PhoneNumber] = @p24, [PhoneNumberConfirmed] = @p25, [SecurityStamp] = @p26, [TwoFactorEnabled] = @p27, [UpdatedBy] = @p28, [UserName] = @p29, [UserType] = @p30, [UserTypeId] = @p31 WHERE [Id] = @p32 AND [ConcurrencyStamp] = @p33 AND [RowVersion] = @p34; SELECT [RowVersion] FROM [AspNetUsers] WHERE @@ROWCOUNT = 1 AND [Id] = @p32; 2025-11-25 10:13:30.8442|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[ClaimType], [a].[ClaimValue], [a].[Discriminator], [a].[UserId] FROM [AspNetUserClaims] AS [a] WHERE [a].[Discriminator] IN (N'IdentityUserClaim', N'UserClaim') AND ([a].[UserId] = @__user_Id_0) 2025-11-25 10:13:30.8752|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 10:13:30.8903|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__normalizedName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[InstitutionId], [a].[IsActive], [a].[Name], [a].[NormalizedName], [a].[UpdatedBy], [a].[UserType] FROM [AspNetRoles] AS [a] WHERE [a].[NormalizedName] = @__normalizedName_0 2025-11-25 10:13:30.9092|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__role_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[ClaimType], [a].[ClaimValue] FROM [AspNetRoleClaims] AS [a] WHERE [a].[RoleId] = @__role_Id_0 2025-11-25 10:13:30.9225|10|INFO|Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationHandler|AuthenticationScheme: Identity.Application signed in. 2025-11-25 10:13:30.9225|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[NormalizedUserName] = @__normalizedUserName_0 2025-11-25 10:13:31.1367|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 10:13:31.1495|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [p].[Code] FROM [UserPermissions] AS [u] INNER JOIN [Permissions] AS [p] ON [u].[PermissionId] = [p].[Id] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 10:13:31.2109|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (8ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 10:13:31.2349|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p6='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [UserToken] SET [DateCreated] = @p0, [ExpiryDate] = @p1, [IsActive] = @p2, [SessionExpiryDate] = @p3, [Token] = @p4, [UserId] = @p5 WHERE [Id] = @p6; SELECT @@ROWCOUNT; 2025-11-25 10:13:31.2605|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; INSERT INTO [UserToken] ([DateCreated], [ExpiryDate], [IsActive], [SessionExpiryDate], [Token], [UserId]) VALUES (@p0, @p1, @p2, @p3, @p4, @p5); SELECT [Id] FROM [UserToken] WHERE @@ROWCOUNT = 1 AND [Id] = scope_identity(); 2025-11-25 10:13:31.2735|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 10:13:31.2735||INFO|Authentication.Controllers.AccountController|usersjalloh@MOF role is gotten 2025-11-25 10:13:31.2856|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [u].[Id], [u].[CreatedBy], [u].[DateCreated], [u].[DateUpdated], [u].[IsActive], [u].[IsDeleted], [u].[PermissionId], [u].[RowVersion], [u].[UpdatedBy], [u].[UserId] FROM [UserPermissions] AS [u] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 10:13:31.2995|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 10:13:31.2995|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 10:13:31.2995|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 10:13:31.2995|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 10:13:31.2995||INFO|Authentication.Controllers.AccountController|user sjalloh@MOF is signin but about to call corporate service 2025-11-25 10:13:31.4341|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'AuditTrailUtility.Utility.SaveResponse'. 2025-11-25 10:13:31.4509|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.SignIn (Authentication) in 697.8255ms 2025-11-25 10:13:31.4509|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.SignIn (Authentication)' 2025-11-25 10:13:31.4509|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 715.7804ms 200 application/json; charset=utf-8 2025-11-25 10:13:31.5126|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/Admin/GetAllUsersByCorporateId?corporateId=207 2025-11-25 10:13:31.5159|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 10:13:31.5159|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 4.3985ms 204 2025-11-25 10:13:31.5159|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/Admin/GetAllUsersByCorporateId?corporateId=207 2025-11-25 10:13:31.5159|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 10:13:31.5297|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.GetAllUsersByCorporateId (Authentication)' 2025-11-25 10:13:31.5297|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllUsersByCorporateId", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllUsersByCorporateId(Int64) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 10:13:31.5471|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 10:13:31.5648|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__corporateId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[UserTypeId] = @__corporateId_0 2025-11-25 10:13:31.5887|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[Authentication.Data.Models.Identity.UserBindingModel, Authentication.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2025-11-25 10:13:31.5977|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.GetAllUsersByCorporateId (Authentication) in 59.6746ms 2025-11-25 10:13:31.5977|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.GetAllUsersByCorporateId (Authentication)' 2025-11-25 10:13:31.5977|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 79.0769ms 200 application/json; charset=utf-8 2025-11-25 10:13:50.3450|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignIn 2025-11-25 10:13:50.3450|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 10:13:50.3450|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 4.832ms 204 2025-11-25 10:13:50.3450|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignIn application/json 62 2025-11-25 10:13:50.3450|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 10:13:50.3450|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.SignIn (Authentication)' 2025-11-25 10:13:50.3450|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "SignIn", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] SignIn(Authentication.Data.Models.Identity.AuthBindingModel) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 10:13:50.3601|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 10:13:50.3601|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__ToLower_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE LOWER([a].[UserName]) = @__ToLower_0 2025-11-25 10:13:50.3601|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__checkUser_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__checkUser_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) ORDER BY [u].[Id] DESC 2025-11-25 10:13:50.3601|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[NormalizedUserName] = @__normalizedUserName_0 2025-11-25 10:13:50.3791|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[ClaimType], [a].[ClaimValue], [a].[Discriminator], [a].[UserId] FROM [AspNetUserClaims] AS [a] WHERE [a].[Discriminator] IN (N'IdentityUserClaim', N'UserClaim') AND ([a].[UserId] = @__user_Id_0) 2025-11-25 10:13:50.3791|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 10:13:50.3791|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__normalizedName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[InstitutionId], [a].[IsActive], [a].[Name], [a].[NormalizedName], [a].[UpdatedBy], [a].[UserType] FROM [AspNetRoles] AS [a] WHERE [a].[NormalizedName] = @__normalizedName_0 2025-11-25 10:13:50.3791|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__role_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[ClaimType], [a].[ClaimValue] FROM [AspNetRoleClaims] AS [a] WHERE [a].[RoleId] = @__role_Id_0 2025-11-25 10:13:50.3791|10|INFO|Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationHandler|AuthenticationScheme: Identity.Application signed in. 2025-11-25 10:13:50.3913|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[NormalizedUserName] = @__normalizedUserName_0 2025-11-25 10:13:50.3913|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 10:13:50.3913|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [p].[Code] FROM [UserPermissions] AS [u] INNER JOIN [Permissions] AS [p] ON [u].[PermissionId] = [p].[Id] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 10:13:50.4154|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (12ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 10:13:50.4244|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p6='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [UserToken] SET [DateCreated] = @p0, [ExpiryDate] = @p1, [IsActive] = @p2, [SessionExpiryDate] = @p3, [Token] = @p4, [UserId] = @p5 WHERE [Id] = @p6; SELECT @@ROWCOUNT; 2025-11-25 10:13:50.4244|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (0ms) [Parameters=[@p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; INSERT INTO [UserToken] ([DateCreated], [ExpiryDate], [IsActive], [SessionExpiryDate], [Token], [UserId]) VALUES (@p0, @p1, @p2, @p3, @p4, @p5); SELECT [Id] FROM [UserToken] WHERE @@ROWCOUNT = 1 AND [Id] = scope_identity(); 2025-11-25 10:13:50.4244|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 10:13:50.4244||INFO|Authentication.Controllers.AccountController|userabconteh@MOF role is gotten 2025-11-25 10:13:50.4244|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [u].[Id], [u].[CreatedBy], [u].[DateCreated], [u].[DateUpdated], [u].[IsActive], [u].[IsDeleted], [u].[PermissionId], [u].[RowVersion], [u].[UpdatedBy], [u].[UserId] FROM [UserPermissions] AS [u] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 10:13:50.4244|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (0ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 10:13:50.4376|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (0ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 10:13:50.4376|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (0ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 10:13:50.4376|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (0ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 10:13:50.4376|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (0ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 10:13:50.4376|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (0ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 10:13:50.4376|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (0ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 10:13:50.4376|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (0ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 10:13:50.4376|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (0ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 10:13:50.4376||INFO|Authentication.Controllers.AccountController|user abconteh@MOF is signin but about to call corporate service 2025-11-25 10:13:50.4949|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'AuditTrailUtility.Utility.SaveResponse'. 2025-11-25 10:13:50.4949|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.SignIn (Authentication) in 140.0083ms 2025-11-25 10:13:50.5007|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.SignIn (Authentication)' 2025-11-25 10:13:50.5007|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 147.3096ms 200 application/json; charset=utf-8 2025-11-25 10:13:50.5641|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/Admin/GetAllUsersByCorporateId?corporateId=207 2025-11-25 10:13:50.5641|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 10:13:50.5641|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 5.4893ms 204 2025-11-25 10:13:50.5954|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/Admin/GetAllUsersByCorporateId?corporateId=207 2025-11-25 10:13:50.5954|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 10:13:50.5954|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.GetAllUsersByCorporateId (Authentication)' 2025-11-25 10:13:50.5954|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllUsersByCorporateId", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllUsersByCorporateId(Int64) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 10:13:50.5954|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 10:13:50.6252|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (16ms) [Parameters=[@__corporateId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[UserTypeId] = @__corporateId_0 2025-11-25 10:13:50.6252|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[Authentication.Data.Models.Identity.UserBindingModel, Authentication.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2025-11-25 10:13:50.6252|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.GetAllUsersByCorporateId (Authentication) in 27.0371ms 2025-11-25 10:13:50.6252|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.GetAllUsersByCorporateId (Authentication)' 2025-11-25 10:13:50.6252|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 39.5006ms 200 application/json; charset=utf-8 2025-11-25 10:16:52.4572|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignIn 2025-11-25 10:16:52.4572|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 10:16:52.4572|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 7.6939ms 204 2025-11-25 10:16:52.4749|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignIn application/json 59 2025-11-25 10:16:52.4749|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 10:16:52.4749|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.SignIn (Authentication)' 2025-11-25 10:16:52.4749|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "SignIn", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] SignIn(Authentication.Data.Models.Identity.AuthBindingModel) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 10:16:52.4749|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 10:16:52.4935|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (3ms) [Parameters=[@__ToLower_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE LOWER([a].[UserName]) = @__ToLower_0 2025-11-25 10:16:52.5050|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (7ms) [Parameters=[@__checkUser_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__checkUser_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) ORDER BY [u].[Id] DESC 2025-11-25 10:16:52.5050|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[NormalizedUserName] = @__normalizedUserName_0 2025-11-25 10:16:52.5170|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[ClaimType], [a].[ClaimValue], [a].[Discriminator], [a].[UserId] FROM [AspNetUserClaims] AS [a] WHERE [a].[Discriminator] IN (N'IdentityUserClaim', N'UserClaim') AND ([a].[UserId] = @__user_Id_0) 2025-11-25 10:16:52.5170|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 10:16:52.5170|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__normalizedName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[InstitutionId], [a].[IsActive], [a].[Name], [a].[NormalizedName], [a].[UpdatedBy], [a].[UserType] FROM [AspNetRoles] AS [a] WHERE [a].[NormalizedName] = @__normalizedName_0 2025-11-25 10:16:52.5170|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__role_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[ClaimType], [a].[ClaimValue] FROM [AspNetRoleClaims] AS [a] WHERE [a].[RoleId] = @__role_Id_0 2025-11-25 10:16:52.5325|10|INFO|Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationHandler|AuthenticationScheme: Identity.Application signed in. 2025-11-25 10:16:52.5325|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[NormalizedUserName] = @__normalizedUserName_0 2025-11-25 10:16:52.5325|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 10:16:52.5482|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [p].[Code] FROM [UserPermissions] AS [u] INNER JOIN [Permissions] AS [p] ON [u].[PermissionId] = [p].[Id] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 10:16:52.5653|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (12ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 10:16:52.5653|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; INSERT INTO [UserToken] ([DateCreated], [ExpiryDate], [IsActive], [SessionExpiryDate], [Token], [UserId]) VALUES (@p0, @p1, @p2, @p3, @p4, @p5); SELECT [Id] FROM [UserToken] WHERE @@ROWCOUNT = 1 AND [Id] = scope_identity(); 2025-11-25 10:16:52.5813|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 10:16:52.5813||INFO|Authentication.Controllers.AccountController|userrcoker@MOF role is gotten 2025-11-25 10:16:52.5813|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [u].[Id], [u].[CreatedBy], [u].[DateCreated], [u].[DateUpdated], [u].[IsActive], [u].[IsDeleted], [u].[PermissionId], [u].[RowVersion], [u].[UpdatedBy], [u].[UserId] FROM [UserPermissions] AS [u] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 10:16:52.5813|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 10:16:52.5813|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 10:16:52.5813|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 10:16:52.5956|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 10:16:52.5956|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 10:16:52.5956|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 10:16:52.5956|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (0ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 10:16:52.5956|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 10:16:52.5956|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 10:16:52.5956|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 10:16:52.5956||INFO|Authentication.Controllers.AccountController|user rcoker@MOF is signin but about to call corporate service 2025-11-25 10:16:52.6742|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'AuditTrailUtility.Utility.SaveResponse'. 2025-11-25 10:16:52.6742|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.SignIn (Authentication) in 194.089ms 2025-11-25 10:16:52.6742|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.SignIn (Authentication)' 2025-11-25 10:16:52.6742|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 206.1098ms 200 application/json; charset=utf-8 2025-11-25 10:16:52.7606|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/Admin/GetAllUsersByCorporateId?corporateId=207 2025-11-25 10:16:52.7606|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 10:16:52.7606|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 4.4438ms 204 2025-11-25 10:16:52.7719|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/Admin/GetAllUsersByCorporateId?corporateId=207 2025-11-25 10:16:52.7719|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 10:16:52.7719|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.GetAllUsersByCorporateId (Authentication)' 2025-11-25 10:16:52.7719|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllUsersByCorporateId", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllUsersByCorporateId(Int64) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 10:16:52.7719|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 10:16:52.7843|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__corporateId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[UserTypeId] = @__corporateId_0 2025-11-25 10:16:52.7843|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[Authentication.Data.Models.Identity.UserBindingModel, Authentication.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2025-11-25 10:16:52.7843|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.GetAllUsersByCorporateId (Authentication) in 12.5331ms 2025-11-25 10:16:52.7843|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.GetAllUsersByCorporateId (Authentication)' 2025-11-25 10:16:52.7843|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 21.7573ms 200 application/json; charset=utf-8 2025-11-25 10:21:00.9801|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/User/ForgotPassword 2025-11-25 10:21:00.9801|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 10:21:00.9801|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 10.3191ms 204 2025-11-25 10:21:01.0119|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/User/ForgotPassword application/json 63 2025-11-25 10:21:01.0119|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 10:21:01.0119|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.ForgetPassword (Authentication)' 2025-11-25 10:21:01.0333|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "ForgetPassword", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] ForgetPassword(Authentication.Data.Models.Identity.ForgotPasswordResetBindingModel) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 10:21:01.0333|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 10:21:01.0647|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__model_UserName_0='?' (Size = 256), @__model_UserType_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE ([a].[UserName] = @__model_UserName_0) AND ([a].[UserType] = @__model_UserType_1) 2025-11-25 10:21:01.0896|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[NormalizedUserName] = @__normalizedUserName_0 2025-11-25 10:21:01.0896|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@p32='?' (DbType = Int64), @p0='?' (DbType = Int32), @p1='?' (Size = 4000), @p2='?' (DbType = Int64), @p3='?' (Size = 4000), @p33='?' (Size = 4000), @p4='?' (DbType = Int64), @p5='?' (DbType = DateTime2), @p6='?' (DbType = DateTime2), @p7='?' (DbType = DateTime2), @p8='?' (DbType = Int64), @p9='?' (Size = 256), @p10='?' (DbType = Boolean), @p11='?' (Size = 4000), @p12='?' (DbType = Boolean), @p13='?' (DbType = Boolean), @p14='?' (DbType = Boolean), @p15='?' (Size = 4000), @p16='?' (DbType = DateTime2), @p17='?' (DbType = Boolean), @p18='?' (DbType = DateTimeOffset), @p19='?' (Size = 4000), @p20='?' (Size = 4000), @p21='?' (Size = 256), @p22='?' (Size = 256), @p23='?' (Size = 4000), @p24='?' (Size = 4000), @p25='?' (DbType = Boolean), @p34='?' (Size = 8) (DbType = Binary), @p26='?' (Size = 4000), @p27='?' (DbType = Boolean), @p28='?' (DbType = Int64), @p29='?' (Size = 256), @p30='?' (DbType = Int32), @p31='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [AspNetUsers] SET [AccessFailedCount] = @p0, [Address] = @p1, [BranchId] = @p2, [ConcurrencyStamp] = @p3, [CreatedBy] = @p4, [DOB] = @p5, [DateCreated] = @p6, [DateUpdated] = @p7, [DeletedBy] = @p8, [Email] = @p9, [EmailConfirmed] = @p10, [FirstName] = @p11, [IsActive] = @p12, [IsDeleted] = @p13, [IsFirstLogin] = @p14, [LastName] = @p15, [LastPasswordChangeDate] = @p16, [LockoutEnabled] = @p17, [LockoutEnd] = @p18, [MiddleName] = @p19, [MobileNumber] = @p20, [NormalizedEmail] = @p21, [NormalizedUserName] = @p22, [PasswordHash] = @p23, [PhoneNumber] = @p24, [PhoneNumberConfirmed] = @p25, [SecurityStamp] = @p26, [TwoFactorEnabled] = @p27, [UpdatedBy] = @p28, [UserName] = @p29, [UserType] = @p30, [UserTypeId] = @p31 WHERE [Id] = @p32 AND [ConcurrencyStamp] = @p33 AND [RowVersion] = @p34; SELECT [RowVersion] FROM [AspNetUsers] WHERE @@ROWCOUNT = 1 AND [Id] = @p32; 2025-11-25 10:21:01.1090|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[NormalizedUserName] = @__normalizedUserName_0 2025-11-25 10:21:01.1090|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@p32='?' (DbType = Int64), @p0='?' (DbType = Int32), @p1='?' (Size = 4000), @p2='?' (DbType = Int64), @p3='?' (Size = 4000), @p33='?' (Size = 4000), @p4='?' (DbType = Int64), @p5='?' (DbType = DateTime2), @p6='?' (DbType = DateTime2), @p7='?' (DbType = DateTime2), @p8='?' (DbType = Int64), @p9='?' (Size = 256), @p10='?' (DbType = Boolean), @p11='?' (Size = 4000), @p12='?' (DbType = Boolean), @p13='?' (DbType = Boolean), @p14='?' (DbType = Boolean), @p15='?' (Size = 4000), @p16='?' (DbType = DateTime2), @p17='?' (DbType = Boolean), @p18='?' (DbType = DateTimeOffset), @p19='?' (Size = 4000), @p20='?' (Size = 4000), @p21='?' (Size = 256), @p22='?' (Size = 256), @p23='?' (Size = 4000), @p24='?' (Size = 4000), @p25='?' (DbType = Boolean), @p34='?' (Size = 8) (DbType = Binary), @p26='?' (Size = 4000), @p27='?' (DbType = Boolean), @p28='?' (DbType = Int64), @p29='?' (Size = 256), @p30='?' (DbType = Int32), @p31='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [AspNetUsers] SET [AccessFailedCount] = @p0, [Address] = @p1, [BranchId] = @p2, [ConcurrencyStamp] = @p3, [CreatedBy] = @p4, [DOB] = @p5, [DateCreated] = @p6, [DateUpdated] = @p7, [DeletedBy] = @p8, [Email] = @p9, [EmailConfirmed] = @p10, [FirstName] = @p11, [IsActive] = @p12, [IsDeleted] = @p13, [IsFirstLogin] = @p14, [LastName] = @p15, [LastPasswordChangeDate] = @p16, [LockoutEnabled] = @p17, [LockoutEnd] = @p18, [MiddleName] = @p19, [MobileNumber] = @p20, [NormalizedEmail] = @p21, [NormalizedUserName] = @p22, [PasswordHash] = @p23, [PhoneNumber] = @p24, [PhoneNumberConfirmed] = @p25, [SecurityStamp] = @p26, [TwoFactorEnabled] = @p27, [UpdatedBy] = @p28, [UserName] = @p29, [UserType] = @p30, [UserTypeId] = @p31 WHERE [Id] = @p32 AND [ConcurrencyStamp] = @p33 AND [RowVersion] = @p34; SELECT [RowVersion] FROM [AspNetUsers] WHERE @@ROWCOUNT = 1 AND [Id] = @p32; 2025-11-25 10:21:02.0390|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'AuditTrailUtility.Utility.SaveResponse'. 2025-11-25 10:21:02.0439|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.ForgetPassword (Authentication) in 1008.5997ms 2025-11-25 10:21:02.0439|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.ForgetPassword (Authentication)' 2025-11-25 10:21:02.0439|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1036.0711ms 200 application/json; charset=utf-8 2025-11-25 10:21:19.9080|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignIn 2025-11-25 10:21:19.9080|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 10:21:19.9080|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 5.6716ms 204 2025-11-25 10:21:19.9202|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignIn application/json 60 2025-11-25 10:21:19.9202|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 10:21:19.9202|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.SignIn (Authentication)' 2025-11-25 10:21:19.9202|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "SignIn", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] SignIn(Authentication.Data.Models.Identity.AuthBindingModel) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 10:21:19.9202|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 10:21:19.9360|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__ToLower_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE LOWER([a].[UserName]) = @__ToLower_0 2025-11-25 10:21:19.9360|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__checkUser_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__checkUser_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) ORDER BY [u].[Id] DESC 2025-11-25 10:21:19.9480|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (5ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[NormalizedUserName] = @__normalizedUserName_0 2025-11-25 10:21:19.9480||WARN|Microsoft.AspNetCore.Identity.UserManager|Invalid password for user 495. 2025-11-25 10:21:19.9480|2|WARN|Microsoft.AspNetCore.Identity.SignInManager|User 495 failed to provide the correct password. 2025-11-25 10:21:19.9480|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[NormalizedUserName] = @__normalizedUserName_0 2025-11-25 10:21:19.9723|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (6ms) [Parameters=[@p32='?' (DbType = Int64), @p0='?' (DbType = Int32), @p1='?' (Size = 4000), @p2='?' (DbType = Int64), @p3='?' (Size = 4000), @p33='?' (Size = 4000), @p4='?' (DbType = Int64), @p5='?' (DbType = DateTime2), @p6='?' (DbType = DateTime2), @p7='?' (DbType = DateTime2), @p8='?' (DbType = Int64), @p9='?' (Size = 256), @p10='?' (DbType = Boolean), @p11='?' (Size = 4000), @p12='?' (DbType = Boolean), @p13='?' (DbType = Boolean), @p14='?' (DbType = Boolean), @p15='?' (Size = 4000), @p16='?' (DbType = DateTime2), @p17='?' (DbType = Boolean), @p18='?' (DbType = DateTimeOffset), @p19='?' (Size = 4000), @p20='?' (Size = 4000), @p21='?' (Size = 256), @p22='?' (Size = 256), @p23='?' (Size = 4000), @p24='?' (Size = 4000), @p25='?' (DbType = Boolean), @p34='?' (Size = 8) (DbType = Binary), @p26='?' (Size = 4000), @p27='?' (DbType = Boolean), @p28='?' (DbType = Int64), @p29='?' (Size = 256), @p30='?' (DbType = Int32), @p31='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [AspNetUsers] SET [AccessFailedCount] = @p0, [Address] = @p1, [BranchId] = @p2, [ConcurrencyStamp] = @p3, [CreatedBy] = @p4, [DOB] = @p5, [DateCreated] = @p6, [DateUpdated] = @p7, [DeletedBy] = @p8, [Email] = @p9, [EmailConfirmed] = @p10, [FirstName] = @p11, [IsActive] = @p12, [IsDeleted] = @p13, [IsFirstLogin] = @p14, [LastName] = @p15, [LastPasswordChangeDate] = @p16, [LockoutEnabled] = @p17, [LockoutEnd] = @p18, [MiddleName] = @p19, [MobileNumber] = @p20, [NormalizedEmail] = @p21, [NormalizedUserName] = @p22, [PasswordHash] = @p23, [PhoneNumber] = @p24, [PhoneNumberConfirmed] = @p25, [SecurityStamp] = @p26, [TwoFactorEnabled] = @p27, [UpdatedBy] = @p28, [UserName] = @p29, [UserType] = @p30, [UserTypeId] = @p31 WHERE [Id] = @p32 AND [ConcurrencyStamp] = @p33 AND [RowVersion] = @p34; SELECT [RowVersion] FROM [AspNetUsers] WHERE @@ROWCOUNT = 1 AND [Id] = @p32; 2025-11-25 10:21:19.9723|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.String'. 2025-11-25 10:21:19.9791|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.SignIn (Authentication) in 51.9393ms 2025-11-25 10:21:19.9791|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.SignIn (Authentication)' 2025-11-25 10:21:19.9791|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 61.7354ms 400 text/plain; charset=utf-8 2025-11-25 10:22:15.9290|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignIn 2025-11-25 10:22:15.9333|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 10:22:15.9333|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6.7119ms 204 2025-11-25 10:22:15.9505|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignIn application/json 60 2025-11-25 10:22:15.9505|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 10:22:15.9505|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.SignIn (Authentication)' 2025-11-25 10:22:15.9505|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "SignIn", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] SignIn(Authentication.Data.Models.Identity.AuthBindingModel) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 10:22:15.9505|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 10:22:15.9694|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (3ms) [Parameters=[@__ToLower_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE LOWER([a].[UserName]) = @__ToLower_0 2025-11-25 10:22:15.9694|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__checkUser_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__checkUser_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) ORDER BY [u].[Id] DESC 2025-11-25 10:22:15.9799|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[NormalizedUserName] = @__normalizedUserName_0 2025-11-25 10:22:15.9799||WARN|Microsoft.AspNetCore.Identity.UserManager|Invalid password for user 495. 2025-11-25 10:22:15.9952|2|WARN|Microsoft.AspNetCore.Identity.SignInManager|User 495 failed to provide the correct password. 2025-11-25 10:22:15.9952|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[NormalizedUserName] = @__normalizedUserName_0 2025-11-25 10:22:15.9952|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (3ms) [Parameters=[@p32='?' (DbType = Int64), @p0='?' (DbType = Int32), @p1='?' (Size = 4000), @p2='?' (DbType = Int64), @p3='?' (Size = 4000), @p33='?' (Size = 4000), @p4='?' (DbType = Int64), @p5='?' (DbType = DateTime2), @p6='?' (DbType = DateTime2), @p7='?' (DbType = DateTime2), @p8='?' (DbType = Int64), @p9='?' (Size = 256), @p10='?' (DbType = Boolean), @p11='?' (Size = 4000), @p12='?' (DbType = Boolean), @p13='?' (DbType = Boolean), @p14='?' (DbType = Boolean), @p15='?' (Size = 4000), @p16='?' (DbType = DateTime2), @p17='?' (DbType = Boolean), @p18='?' (DbType = DateTimeOffset), @p19='?' (Size = 4000), @p20='?' (Size = 4000), @p21='?' (Size = 256), @p22='?' (Size = 256), @p23='?' (Size = 4000), @p24='?' (Size = 4000), @p25='?' (DbType = Boolean), @p34='?' (Size = 8) (DbType = Binary), @p26='?' (Size = 4000), @p27='?' (DbType = Boolean), @p28='?' (DbType = Int64), @p29='?' (Size = 256), @p30='?' (DbType = Int32), @p31='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [AspNetUsers] SET [AccessFailedCount] = @p0, [Address] = @p1, [BranchId] = @p2, [ConcurrencyStamp] = @p3, [CreatedBy] = @p4, [DOB] = @p5, [DateCreated] = @p6, [DateUpdated] = @p7, [DeletedBy] = @p8, [Email] = @p9, [EmailConfirmed] = @p10, [FirstName] = @p11, [IsActive] = @p12, [IsDeleted] = @p13, [IsFirstLogin] = @p14, [LastName] = @p15, [LastPasswordChangeDate] = @p16, [LockoutEnabled] = @p17, [LockoutEnd] = @p18, [MiddleName] = @p19, [MobileNumber] = @p20, [NormalizedEmail] = @p21, [NormalizedUserName] = @p22, [PasswordHash] = @p23, [PhoneNumber] = @p24, [PhoneNumberConfirmed] = @p25, [SecurityStamp] = @p26, [TwoFactorEnabled] = @p27, [UpdatedBy] = @p28, [UserName] = @p29, [UserType] = @p30, [UserTypeId] = @p31 WHERE [Id] = @p32 AND [ConcurrencyStamp] = @p33 AND [RowVersion] = @p34; SELECT [RowVersion] FROM [AspNetUsers] WHERE @@ROWCOUNT = 1 AND [Id] = @p32; 2025-11-25 10:22:16.0118|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.String'. 2025-11-25 10:22:16.0118|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.SignIn (Authentication) in 54.9684ms 2025-11-25 10:22:16.0118|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.SignIn (Authentication)' 2025-11-25 10:22:16.0118|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 66.6771ms 400 text/plain; charset=utf-8 2025-11-25 10:22:58.9004|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignIn 2025-11-25 10:22:58.9004|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 10:22:58.9004|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 4.9825ms 204 2025-11-25 10:22:58.9542|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignIn application/json 60 2025-11-25 10:22:58.9542|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 10:22:58.9542|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.SignIn (Authentication)' 2025-11-25 10:22:58.9542|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "SignIn", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] SignIn(Authentication.Data.Models.Identity.AuthBindingModel) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 10:22:58.9542|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 10:22:58.9750|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__ToLower_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE LOWER([a].[UserName]) = @__ToLower_0 2025-11-25 10:22:58.9750|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__checkUser_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__checkUser_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) ORDER BY [u].[Id] DESC 2025-11-25 10:22:58.9873|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[NormalizedUserName] = @__normalizedUserName_0 2025-11-25 10:22:58.9873||WARN|Microsoft.AspNetCore.Identity.UserManager|Invalid password for user 495. 2025-11-25 10:22:58.9873|2|WARN|Microsoft.AspNetCore.Identity.SignInManager|User 495 failed to provide the correct password. 2025-11-25 10:22:58.9873|12|WARN|Microsoft.AspNetCore.Identity.UserManager|User 495 is locked out. 2025-11-25 10:22:59.0028|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[NormalizedUserName] = @__normalizedUserName_0 2025-11-25 10:22:59.0028|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@p32='?' (DbType = Int64), @p0='?' (DbType = Int32), @p1='?' (Size = 4000), @p2='?' (DbType = Int64), @p3='?' (Size = 4000), @p33='?' (Size = 4000), @p4='?' (DbType = Int64), @p5='?' (DbType = DateTime2), @p6='?' (DbType = DateTime2), @p7='?' (DbType = DateTime2), @p8='?' (DbType = Int64), @p9='?' (Size = 256), @p10='?' (DbType = Boolean), @p11='?' (Size = 4000), @p12='?' (DbType = Boolean), @p13='?' (DbType = Boolean), @p14='?' (DbType = Boolean), @p15='?' (Size = 4000), @p16='?' (DbType = DateTime2), @p17='?' (DbType = Boolean), @p18='?' (DbType = DateTimeOffset), @p19='?' (Size = 4000), @p20='?' (Size = 4000), @p21='?' (Size = 256), @p22='?' (Size = 256), @p23='?' (Size = 4000), @p24='?' (Size = 4000), @p25='?' (DbType = Boolean), @p34='?' (Size = 8) (DbType = Binary), @p26='?' (Size = 4000), @p27='?' (DbType = Boolean), @p28='?' (DbType = Int64), @p29='?' (Size = 256), @p30='?' (DbType = Int32), @p31='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [AspNetUsers] SET [AccessFailedCount] = @p0, [Address] = @p1, [BranchId] = @p2, [ConcurrencyStamp] = @p3, [CreatedBy] = @p4, [DOB] = @p5, [DateCreated] = @p6, [DateUpdated] = @p7, [DeletedBy] = @p8, [Email] = @p9, [EmailConfirmed] = @p10, [FirstName] = @p11, [IsActive] = @p12, [IsDeleted] = @p13, [IsFirstLogin] = @p14, [LastName] = @p15, [LastPasswordChangeDate] = @p16, [LockoutEnabled] = @p17, [LockoutEnd] = @p18, [MiddleName] = @p19, [MobileNumber] = @p20, [NormalizedEmail] = @p21, [NormalizedUserName] = @p22, [PasswordHash] = @p23, [PhoneNumber] = @p24, [PhoneNumberConfirmed] = @p25, [SecurityStamp] = @p26, [TwoFactorEnabled] = @p27, [UpdatedBy] = @p28, [UserName] = @p29, [UserType] = @p30, [UserTypeId] = @p31 WHERE [Id] = @p32 AND [ConcurrencyStamp] = @p33 AND [RowVersion] = @p34; SELECT [RowVersion] FROM [AspNetUsers] WHERE @@ROWCOUNT = 1 AND [Id] = @p32; 2025-11-25 10:22:59.0028|3|WARN|Microsoft.AspNetCore.Identity.SignInManager|User 495 is currently locked out. 2025-11-25 10:22:59.0170|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[NormalizedUserName] = @__normalizedUserName_0 2025-11-25 10:22:59.0170|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (3ms) [Parameters=[@p32='?' (DbType = Int64), @p0='?' (DbType = Int32), @p1='?' (Size = 4000), @p2='?' (DbType = Int64), @p3='?' (Size = 4000), @p33='?' (Size = 4000), @p4='?' (DbType = Int64), @p5='?' (DbType = DateTime2), @p6='?' (DbType = DateTime2), @p7='?' (DbType = DateTime2), @p8='?' (DbType = Int64), @p9='?' (Size = 256), @p10='?' (DbType = Boolean), @p11='?' (Size = 4000), @p12='?' (DbType = Boolean), @p13='?' (DbType = Boolean), @p14='?' (DbType = Boolean), @p15='?' (Size = 4000), @p16='?' (DbType = DateTime2), @p17='?' (DbType = Boolean), @p18='?' (DbType = DateTimeOffset), @p19='?' (Size = 4000), @p20='?' (Size = 4000), @p21='?' (Size = 256), @p22='?' (Size = 256), @p23='?' (Size = 4000), @p24='?' (Size = 4000), @p25='?' (DbType = Boolean), @p34='?' (Size = 8) (DbType = Binary), @p26='?' (Size = 4000), @p27='?' (DbType = Boolean), @p28='?' (DbType = Int64), @p29='?' (Size = 256), @p30='?' (DbType = Int32), @p31='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [AspNetUsers] SET [AccessFailedCount] = @p0, [Address] = @p1, [BranchId] = @p2, [ConcurrencyStamp] = @p3, [CreatedBy] = @p4, [DOB] = @p5, [DateCreated] = @p6, [DateUpdated] = @p7, [DeletedBy] = @p8, [Email] = @p9, [EmailConfirmed] = @p10, [FirstName] = @p11, [IsActive] = @p12, [IsDeleted] = @p13, [IsFirstLogin] = @p14, [LastName] = @p15, [LastPasswordChangeDate] = @p16, [LockoutEnabled] = @p17, [LockoutEnd] = @p18, [MiddleName] = @p19, [MobileNumber] = @p20, [NormalizedEmail] = @p21, [NormalizedUserName] = @p22, [PasswordHash] = @p23, [PhoneNumber] = @p24, [PhoneNumberConfirmed] = @p25, [SecurityStamp] = @p26, [TwoFactorEnabled] = @p27, [UpdatedBy] = @p28, [UserName] = @p29, [UserType] = @p30, [UserTypeId] = @p31 WHERE [Id] = @p32 AND [ConcurrencyStamp] = @p33 AND [RowVersion] = @p34; SELECT [RowVersion] FROM [AspNetUsers] WHERE @@ROWCOUNT = 1 AND [Id] = @p32; 2025-11-25 10:22:59.0170|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.String'. 2025-11-25 10:22:59.0170|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.SignIn (Authentication) in 63.7121ms 2025-11-25 10:22:59.0170|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.SignIn (Authentication)' 2025-11-25 10:22:59.0324|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 78.4026ms 400 text/plain; charset=utf-8 2025-11-25 10:25:33.3391|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/Admin/LogIn 2025-11-25 10:25:33.3429|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 10:25:33.3429|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 5.5705ms 204 2025-11-25 10:25:33.3429|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/Admin/LogIn application/json 66 2025-11-25 10:25:33.3608|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 10:25:33.3608|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.LogIn (Authentication)' 2025-11-25 10:25:33.3785|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "LogIn", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] LogIn(Authentication.Data.Models.Identity.AuthBindingModel) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 10:25:33.3785|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 10:25:33.4059|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (13ms) [Parameters=[@__ToLower_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE LOWER([a].[UserName]) = @__ToLower_0 2025-11-25 10:25:33.4059||INFO|Authentication.Core.Services.ApiService|About to call Institution 2025-11-25 10:25:43.4250||INFO|Authentication.Core.Services.ApiService|url=https://rcpayapi.mof.gov.sl/InstitutionService/api/Institution/Detail/Security/80 2025-11-25 10:25:43.4373||INFO|Authentication.Core.Services.ApiService|success from institution=True 2025-11-25 10:25:43.4744|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (3ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[NormalizedUserName] = @__normalizedUserName_0 2025-11-25 10:25:43.4744|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[ClaimType], [a].[ClaimValue], [a].[Discriminator], [a].[UserId] FROM [AspNetUserClaims] AS [a] WHERE [a].[Discriminator] IN (N'IdentityUserClaim', N'UserClaim') AND ([a].[UserId] = @__user_Id_0) 2025-11-25 10:25:43.4857|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 10:25:43.4857|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__normalizedName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[InstitutionId], [a].[IsActive], [a].[Name], [a].[NormalizedName], [a].[UpdatedBy], [a].[UserType] FROM [AspNetRoles] AS [a] WHERE [a].[NormalizedName] = @__normalizedName_0 2025-11-25 10:25:43.4857|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__role_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[ClaimType], [a].[ClaimValue] FROM [AspNetRoleClaims] AS [a] WHERE [a].[RoleId] = @__role_Id_0 2025-11-25 10:25:43.4857|10|INFO|Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationHandler|AuthenticationScheme: Identity.Application signed in. 2025-11-25 10:25:43.4990|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[NormalizedUserName] = @__normalizedUserName_0 2025-11-25 10:25:43.4990|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 10:25:43.5215|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT [p].[Code] FROM [RolePermissions] AS [r] INNER JOIN [AspNetRoles] AS [a] ON [r].[RoleId] = [a].[Id] INNER JOIN [Permissions] AS [p] ON [r].[PermissionId] = [p].[Id] WHERE [a].[Name] = @__get_Item_0 2025-11-25 10:25:43.5345|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (10ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 10:25:43.5345|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; INSERT INTO [UserToken] ([DateCreated], [ExpiryDate], [IsActive], [SessionExpiryDate], [Token], [UserId]) VALUES (@p0, @p1, @p2, @p3, @p4, @p5); SELECT [Id] FROM [UserToken] WHERE @@ROWCOUNT = 1 AND [Id] = scope_identity(); 2025-11-25 10:25:43.5502|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 10:25:43.5502||INFO|Authentication.Controllers.AccountController|userakaicombey@AGDHQ role is gotten 2025-11-25 10:25:43.5502|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT [p].[Code] FROM [RolePermissions] AS [r] INNER JOIN [AspNetRoles] AS [a] ON [r].[RoleId] = [a].[Id] INNER JOIN [Permissions] AS [p] ON [r].[PermissionId] = [p].[Id] WHERE [a].[Name] = @__get_Item_0 2025-11-25 10:25:43.6217|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'AuditTrailUtility.Utility.SaveResponse'. 2025-11-25 10:25:43.6244|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.LogIn (Authentication) in 10243.8848ms 2025-11-25 10:25:43.6244|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.LogIn (Authentication)' 2025-11-25 10:25:43.6244|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 10269.8406ms 200 application/json; charset=utf-8 2025-11-25 10:26:08.3225|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/Admin/SearchPermission 2025-11-25 10:26:08.3225|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/Admin/SearchRoleDetails 2025-11-25 10:26:08.3225|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 10:26:08.3225|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/User/Search 2025-11-25 10:26:08.3225|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 10:26:08.3225|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 5.6181ms 204 2025-11-25 10:26:08.3225|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 10:26:08.3225|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 8.3299ms 204 2025-11-25 10:26:08.3225|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 8.7752ms 204 2025-11-25 10:26:08.3367|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/Admin/SearchPermission application/json 60 2025-11-25 10:26:08.3367|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 10:26:08.3367|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.SearchPermission (Authentication)' 2025-11-25 10:26:08.3367|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/Admin/SearchRoleDetails application/json 94 2025-11-25 10:26:08.3367|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/User/Search application/json 85 2025-11-25 10:26:08.3367|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "SearchPermission", controller = "Account"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult SearchPermission(AuditTrailUtility.Utility.SearchCall`1[Authentication.Data.Models.PermissionModel]) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 10:26:08.3367|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 10:26:08.3367|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 10:26:08.3367|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.SearchRoleDetails (Authentication)' 2025-11-25 10:26:08.3367|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 10:26:08.3367|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.SearchUsers (Authentication)' 2025-11-25 10:26:08.3575|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "SearchUsers", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] SearchUsers(AuditTrailUtility.Utility.SearchCall`1[Authentication.Data.Models.Identity.UserSearch]) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 10:26:08.3575|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "SearchRoleDetails", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] SearchRoleDetails(AuditTrailUtility.Utility.SearchCall`1[Authentication.Data.Models.Identity.RoleSearch]) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 10:26:08.3575|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 10:26:08.3575|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 10:26:08.3696|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] 2025-11-25 10:26:08.3848|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'AuditTrailUtility.Utility.SearchResponse`1[[Authentication.Data.Models.PermissionGroupViewModel, Authentication.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2025-11-25 10:26:08.3848|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.SearchPermission (Authentication) in 46.3437ms 2025-11-25 10:26:08.3848|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.SearchPermission (Authentication)' 2025-11-25 10:26:08.3848|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[Authentication.Data.Models.Identity.RoleViewModel, Authentication.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2025-11-25 10:26:08.3848|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 59.2471ms 200 application/json; charset=utf-8 2025-11-25 10:26:08.4008|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (15ms) [Parameters=[@Search='?', @Email='?', @userName='?', @Role='?', @Id='?' (DbType = Int64), @UserTypeId='?' (DbType = Int64), @UserType='?' (DbType = Int32), @Page='?' (DbType = Int32), @PageSize='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30'] GetAllUsers @Search,@Email,@userName,@Role,@Id,@UserTypeId,@UserType,@Page,@PageSize 2025-11-25 10:26:08.4008|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.SearchRoleDetails (Authentication) in 41.3582ms 2025-11-25 10:26:08.4008|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.SearchRoleDetails (Authentication)' 2025-11-25 10:26:08.4008|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 62.4359ms 200 application/json; charset=utf-8 2025-11-25 10:26:08.4160|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[Authentication.Data.Models.Identity.UserView, Authentication.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2025-11-25 10:26:08.4160|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.SearchUsers (Authentication) in 64.0106ms 2025-11-25 10:26:08.4160|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.SearchUsers (Authentication)' 2025-11-25 10:26:08.4160|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 83.6425ms 200 application/json; charset=utf-8 2025-11-25 10:26:31.7302|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignIn 2025-11-25 10:26:31.7302|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 10:26:31.7302|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 3.6341ms 204 2025-11-25 10:26:31.8361|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignIn application/json 60 2025-11-25 10:26:31.8396|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 10:26:31.8396|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.SignIn (Authentication)' 2025-11-25 10:26:31.8396|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "SignIn", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] SignIn(Authentication.Data.Models.Identity.AuthBindingModel) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 10:26:31.8396|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 10:26:31.8585|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__ToLower_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE LOWER([a].[UserName]) = @__ToLower_0 2025-11-25 10:26:31.8585|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.String'. 2025-11-25 10:26:31.8585|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.SignIn (Authentication) in 17.0565ms 2025-11-25 10:26:31.8585|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.SignIn (Authentication)' 2025-11-25 10:26:31.8585|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 30.7115ms 400 text/plain; charset=utf-8 2025-11-25 10:26:41.4621|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignIn 2025-11-25 10:26:41.4621|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 10:26:41.4621|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 7.2769ms 204 2025-11-25 10:26:41.4621|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignIn application/json 61 2025-11-25 10:26:41.4621|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 10:26:41.4775|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.SignIn (Authentication)' 2025-11-25 10:26:41.4775|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "SignIn", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] SignIn(Authentication.Data.Models.Identity.AuthBindingModel) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 10:26:41.4775|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 10:26:41.4775|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (4ms) [Parameters=[@__ToLower_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE LOWER([a].[UserName]) = @__ToLower_0 2025-11-25 10:26:41.4948|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__checkUser_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__checkUser_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) ORDER BY [u].[Id] DESC 2025-11-25 10:26:41.4948|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[NormalizedUserName] = @__normalizedUserName_0 2025-11-25 10:26:41.4948|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[ClaimType], [a].[ClaimValue], [a].[Discriminator], [a].[UserId] FROM [AspNetUserClaims] AS [a] WHERE [a].[Discriminator] IN (N'IdentityUserClaim', N'UserClaim') AND ([a].[UserId] = @__user_Id_0) 2025-11-25 10:26:41.5129|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 10:26:41.5129|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__normalizedName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[InstitutionId], [a].[IsActive], [a].[Name], [a].[NormalizedName], [a].[UpdatedBy], [a].[UserType] FROM [AspNetRoles] AS [a] WHERE [a].[NormalizedName] = @__normalizedName_0 2025-11-25 10:26:41.5129|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__role_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[ClaimType], [a].[ClaimValue] FROM [AspNetRoleClaims] AS [a] WHERE [a].[RoleId] = @__role_Id_0 2025-11-25 10:26:41.5269|10|INFO|Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationHandler|AuthenticationScheme: Identity.Application signed in. 2025-11-25 10:26:41.5269|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[NormalizedUserName] = @__normalizedUserName_0 2025-11-25 10:26:41.5269|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 10:26:41.5421|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [p].[Code] FROM [UserPermissions] AS [u] INNER JOIN [Permissions] AS [p] ON [u].[PermissionId] = [p].[Id] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 10:26:41.5421|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (10ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 10:26:41.5641|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p6='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [UserToken] SET [DateCreated] = @p0, [ExpiryDate] = @p1, [IsActive] = @p2, [SessionExpiryDate] = @p3, [Token] = @p4, [UserId] = @p5 WHERE [Id] = @p6; SELECT @@ROWCOUNT; 2025-11-25 10:26:41.5641|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; INSERT INTO [UserToken] ([DateCreated], [ExpiryDate], [IsActive], [SessionExpiryDate], [Token], [UserId]) VALUES (@p0, @p1, @p2, @p3, @p4, @p5); SELECT [Id] FROM [UserToken] WHERE @@ROWCOUNT = 1 AND [Id] = scope_identity(); 2025-11-25 10:26:41.5740|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 10:26:41.5740||INFO|Authentication.Controllers.AccountController|useraimansaray@MOF role is gotten 2025-11-25 10:26:41.5740|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [u].[Id], [u].[CreatedBy], [u].[DateCreated], [u].[DateUpdated], [u].[IsActive], [u].[IsDeleted], [u].[PermissionId], [u].[RowVersion], [u].[UpdatedBy], [u].[UserId] FROM [UserPermissions] AS [u] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 10:26:41.5740|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 10:26:41.5864|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 10:26:41.5864|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 10:26:41.5864|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 10:26:41.5864|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 10:26:41.5864|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 10:26:41.5864|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 10:26:41.5864||INFO|Authentication.Controllers.AccountController|user aimansaray@MOF is signin but about to call corporate service 2025-11-25 10:26:41.6321|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'AuditTrailUtility.Utility.SaveResponse'. 2025-11-25 10:26:41.6340|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.SignIn (Authentication) in 153.8473ms 2025-11-25 10:26:41.6340|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.SignIn (Authentication)' 2025-11-25 10:26:41.6340|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 162.4349ms 200 application/json; charset=utf-8 2025-11-25 10:26:41.7005|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/Admin/GetAllUsersByCorporateId?corporateId=207 2025-11-25 10:26:41.7005|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 10:26:41.7005|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 4.5256ms 204 2025-11-25 10:26:42.0169|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/Admin/GetAllUsersByCorporateId?corporateId=207 2025-11-25 10:26:42.0169|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 10:26:42.0169|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.GetAllUsersByCorporateId (Authentication)' 2025-11-25 10:26:42.0169|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllUsersByCorporateId", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllUsersByCorporateId(Int64) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 10:26:42.0256|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 10:26:42.0256|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__corporateId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[UserTypeId] = @__corporateId_0 2025-11-25 10:26:42.0256|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[Authentication.Data.Models.Identity.UserBindingModel, Authentication.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2025-11-25 10:26:42.0256|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.GetAllUsersByCorporateId (Authentication) in 9.5004ms 2025-11-25 10:26:42.0256|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.GetAllUsersByCorporateId (Authentication)' 2025-11-25 10:26:42.0256|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 18.9506ms 200 application/json; charset=utf-8 2025-11-25 10:26:55.2823|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/Admin/SearchPermission 2025-11-25 10:26:55.2823|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/Admin/SearchRoleDetails 2025-11-25 10:26:55.2823|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/User/Search 2025-11-25 10:26:55.2823|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 10:26:55.2823|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 10:26:55.2823|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 10:26:55.2936|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 11.2252ms 204 2025-11-25 10:26:55.2936|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 12.9814ms 204 2025-11-25 10:26:55.2936|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 14.3041ms 204 2025-11-25 10:26:55.2936|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/Admin/SearchPermission application/json 60 2025-11-25 10:26:55.2936|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/Admin/SearchRoleDetails application/json 94 2025-11-25 10:26:55.2936|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/User/Search application/json 85 2025-11-25 10:26:55.2936|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 10:26:55.3092|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 10:26:55.3092|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 10:26:55.3092|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.SearchPermission (Authentication)' 2025-11-25 10:26:55.3092|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.SearchRoleDetails (Authentication)' 2025-11-25 10:26:55.3092|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.SearchUsers (Authentication)' 2025-11-25 10:26:55.3092|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "SearchPermission", controller = "Account"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult SearchPermission(AuditTrailUtility.Utility.SearchCall`1[Authentication.Data.Models.PermissionModel]) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 10:26:55.3092|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "SearchRoleDetails", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] SearchRoleDetails(AuditTrailUtility.Utility.SearchCall`1[Authentication.Data.Models.Identity.RoleSearch]) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 10:26:55.3092|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "SearchUsers", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] SearchUsers(AuditTrailUtility.Utility.SearchCall`1[Authentication.Data.Models.Identity.UserSearch]) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 10:26:55.3092|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 10:26:55.3092|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 10:26:55.3092|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 10:26:55.3280|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (4ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] 2025-11-25 10:26:55.3280|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'AuditTrailUtility.Utility.SearchResponse`1[[Authentication.Data.Models.PermissionGroupViewModel, Authentication.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2025-11-25 10:26:55.3280|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.SearchPermission (Authentication) in 15.3884ms 2025-11-25 10:26:55.3280|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.SearchPermission (Authentication)' 2025-11-25 10:26:55.3280|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 35.5958ms 200 application/json; charset=utf-8 2025-11-25 10:26:55.3404|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[Authentication.Data.Models.Identity.RoleViewModel, Authentication.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2025-11-25 10:26:55.3404|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.SearchRoleDetails (Authentication) in 20.6029ms 2025-11-25 10:26:55.3404|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.SearchRoleDetails (Authentication)' 2025-11-25 10:26:55.3404|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 38.0871ms 200 application/json; charset=utf-8 2025-11-25 10:26:55.3404|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (14ms) [Parameters=[@Search='?', @Email='?', @userName='?', @Role='?', @Id='?' (DbType = Int64), @UserTypeId='?' (DbType = Int64), @UserType='?' (DbType = Int32), @Page='?' (DbType = Int32), @PageSize='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30'] GetAllUsers @Search,@Email,@userName,@Role,@Id,@UserTypeId,@UserType,@Page,@PageSize 2025-11-25 10:26:55.3404|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[Authentication.Data.Models.Identity.UserView, Authentication.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2025-11-25 10:26:55.3558|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.SearchUsers (Authentication) in 33.841ms 2025-11-25 10:26:55.3558|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.SearchUsers (Authentication)' 2025-11-25 10:26:55.3558|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 51.5952ms 200 application/json; charset=utf-8 2025-11-25 10:27:14.7971|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/User/Search 2025-11-25 10:27:14.7971|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 10:27:14.8020|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 4.8694ms 204 2025-11-25 10:27:14.8020|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/User/Search application/json 85 2025-11-25 10:27:14.8020|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 10:27:14.8020|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.SearchUsers (Authentication)' 2025-11-25 10:27:14.8179|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "SearchUsers", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] SearchUsers(AuditTrailUtility.Utility.SearchCall`1[Authentication.Data.Models.Identity.UserSearch]) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 10:27:14.8179|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 10:27:14.8406|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (15ms) [Parameters=[@Search='?', @Email='?', @userName='?', @Role='?', @Id='?' (DbType = Int64), @UserTypeId='?' (DbType = Int64), @UserType='?' (DbType = Int32), @Page='?' (DbType = Int32), @PageSize='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30'] GetAllUsers @Search,@Email,@userName,@Role,@Id,@UserTypeId,@UserType,@Page,@PageSize 2025-11-25 10:27:14.8492|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[Authentication.Data.Models.Identity.UserView, Authentication.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2025-11-25 10:27:14.8492|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.SearchUsers (Authentication) in 34.2359ms 2025-11-25 10:27:14.8492|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.SearchUsers (Authentication)' 2025-11-25 10:27:14.8492|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 46.8903ms 200 application/json; charset=utf-8 2025-11-25 10:27:18.8880|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/User/Search application/json 89 2025-11-25 10:27:18.8880|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 10:27:18.8880|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.SearchUsers (Authentication)' 2025-11-25 10:27:18.8880|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "SearchUsers", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] SearchUsers(AuditTrailUtility.Utility.SearchCall`1[Authentication.Data.Models.Identity.UserSearch]) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 10:27:18.8880|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 10:27:18.9033|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (4ms) [Parameters=[@Search='?' (Size = 4), @Email='?', @userName='?', @Role='?', @Id='?' (DbType = Int64), @UserTypeId='?' (DbType = Int64), @UserType='?' (DbType = Int32), @Page='?' (DbType = Int32), @PageSize='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30'] GetAllUsers @Search,@Email,@userName,@Role,@Id,@UserTypeId,@UserType,@Page,@PageSize 2025-11-25 10:27:18.9033|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[Authentication.Data.Models.Identity.UserView, Authentication.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2025-11-25 10:27:18.9033|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.SearchUsers (Authentication) in 11.0902ms 2025-11-25 10:27:18.9033|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.SearchUsers (Authentication)' 2025-11-25 10:27:18.9033|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 21.6516ms 200 application/json; charset=utf-8 2025-11-25 10:29:23.2437|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignIn 2025-11-25 10:29:23.2437|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 10:29:23.2491|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 5.4069ms 204 2025-11-25 10:29:23.2491|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignIn application/json 64 2025-11-25 10:29:23.2491|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 10:29:23.2648|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.SignIn (Authentication)' 2025-11-25 10:29:23.2648|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "SignIn", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] SignIn(Authentication.Data.Models.Identity.AuthBindingModel) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 10:29:23.2648|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 10:29:23.2826|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (3ms) [Parameters=[@__ToLower_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE LOWER([a].[UserName]) = @__ToLower_0 2025-11-25 10:29:23.2826|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (9ms) [Parameters=[@__checkUser_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__checkUser_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) ORDER BY [u].[Id] DESC 2025-11-25 10:29:23.2981|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[NormalizedUserName] = @__normalizedUserName_0 2025-11-25 10:29:23.2981|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[ClaimType], [a].[ClaimValue], [a].[Discriminator], [a].[UserId] FROM [AspNetUserClaims] AS [a] WHERE [a].[Discriminator] IN (N'IdentityUserClaim', N'UserClaim') AND ([a].[UserId] = @__user_Id_0) 2025-11-25 10:29:23.2981|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 10:29:23.3111|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__normalizedName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[InstitutionId], [a].[IsActive], [a].[Name], [a].[NormalizedName], [a].[UpdatedBy], [a].[UserType] FROM [AspNetRoles] AS [a] WHERE [a].[NormalizedName] = @__normalizedName_0 2025-11-25 10:29:23.3111|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__role_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[ClaimType], [a].[ClaimValue] FROM [AspNetRoleClaims] AS [a] WHERE [a].[RoleId] = @__role_Id_0 2025-11-25 10:29:23.3111|10|INFO|Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationHandler|AuthenticationScheme: Identity.Application signed in. 2025-11-25 10:29:23.3262|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[NormalizedUserName] = @__normalizedUserName_0 2025-11-25 10:29:23.3262|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 10:29:23.3262|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [p].[Code] FROM [UserPermissions] AS [u] INNER JOIN [Permissions] AS [p] ON [u].[PermissionId] = [p].[Id] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 10:29:23.3262|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (4ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 10:29:23.3455|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; INSERT INTO [UserToken] ([DateCreated], [ExpiryDate], [IsActive], [SessionExpiryDate], [Token], [UserId]) VALUES (@p0, @p1, @p2, @p3, @p4, @p5); SELECT [Id] FROM [UserToken] WHERE @@ROWCOUNT = 1 AND [Id] = scope_identity(); 2025-11-25 10:29:23.3455|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 10:29:23.3455||INFO|Authentication.Controllers.AccountController|userakaicombey@MOF role is gotten 2025-11-25 10:29:23.3583|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [u].[Id], [u].[CreatedBy], [u].[DateCreated], [u].[DateUpdated], [u].[IsActive], [u].[IsDeleted], [u].[PermissionId], [u].[RowVersion], [u].[UpdatedBy], [u].[UserId] FROM [UserPermissions] AS [u] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 10:29:23.3583|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 10:29:23.3583|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 10:29:23.3583|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 10:29:23.3739|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 10:29:23.3739|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 10:29:23.3739|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 10:29:23.3739|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 10:29:23.3739|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 10:29:23.3912|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 10:29:23.3912|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 10:29:23.3912|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 10:29:23.3912|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 10:29:23.4054|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 10:29:23.4054|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 10:29:23.4054|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 10:29:23.4054|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 10:29:23.4207|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 10:29:23.4207|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 10:29:23.4207|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 10:29:23.4207||INFO|Authentication.Controllers.AccountController|user akaicombey@MOF is signin but about to call corporate service 2025-11-25 10:29:23.4908|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'AuditTrailUtility.Utility.SaveResponse'. 2025-11-25 10:29:23.4908|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.SignIn (Authentication) in 224.1779ms 2025-11-25 10:29:23.4908|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.SignIn (Authentication)' 2025-11-25 10:29:23.4908|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 236.2986ms 200 application/json; charset=utf-8 2025-11-25 10:29:23.7657|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/Admin/GetAllUsersByCorporateId?corporateId=207 2025-11-25 10:29:23.7657|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 10:29:23.7657|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 8.8693ms 204 2025-11-25 10:29:23.7927|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/Admin/GetAllUsersByCorporateId?corporateId=207 2025-11-25 10:29:23.7951|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 10:29:23.7951|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.GetAllUsersByCorporateId (Authentication)' 2025-11-25 10:29:23.7951|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllUsersByCorporateId", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllUsersByCorporateId(Int64) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 10:29:23.7951|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 10:29:23.7951|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__corporateId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[UserTypeId] = @__corporateId_0 2025-11-25 10:29:23.8155|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[Authentication.Data.Models.Identity.UserBindingModel, Authentication.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2025-11-25 10:29:23.8155|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.GetAllUsersByCorporateId (Authentication) in 16.9704ms 2025-11-25 10:29:23.8155|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.GetAllUsersByCorporateId (Authentication)' 2025-11-25 10:29:23.8155|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 30.1656ms 200 application/json; charset=utf-8 2025-11-25 10:29:51.0279|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignOut/578 2025-11-25 10:29:51.0300|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 10:29:51.0300|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 3.5482ms 204 2025-11-25 10:29:51.0494|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignOut/578 2025-11-25 10:29:51.0494|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 10:29:51.0494|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.SignOut (Authentication)' 2025-11-25 10:29:51.0650|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "SignOut", controller = "Account"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult SignOut(Int64) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 10:29:51.0650|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 10:29:51.0834|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (6ms) [Parameters=[@__UserId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__UserId_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 10:29:51.0834|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p6='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [UserToken] SET [DateCreated] = @p0, [ExpiryDate] = @p1, [IsActive] = @p2, [SessionExpiryDate] = @p3, [Token] = @p4, [UserId] = @p5 WHERE [Id] = @p6; SELECT @@ROWCOUNT; 2025-11-25 10:29:51.0931|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'AuditTrailUtility.Utility.SaveResponse'. 2025-11-25 10:29:51.0931|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.SignOut (Authentication) in 27.9824ms 2025-11-25 10:29:51.0931|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.SignOut (Authentication)' 2025-11-25 10:29:51.0931|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 48.1835ms 200 application/json; charset=utf-8 2025-11-25 10:32:19.1121|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignIn 2025-11-25 10:32:19.1121|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 10:32:19.1121|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 3.8675ms 204 2025-11-25 10:32:19.1269|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignIn application/json 65 2025-11-25 10:32:19.1269|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 10:32:19.1269|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.SignIn (Authentication)' 2025-11-25 10:32:19.1269|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "SignIn", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] SignIn(Authentication.Data.Models.Identity.AuthBindingModel) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 10:32:19.1373|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 10:32:19.1373|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (3ms) [Parameters=[@__ToLower_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE LOWER([a].[UserName]) = @__ToLower_0 2025-11-25 10:32:19.1593|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (12ms) [Parameters=[@__checkUser_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__checkUser_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) ORDER BY [u].[Id] DESC 2025-11-25 10:32:19.1593|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (3ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[NormalizedUserName] = @__normalizedUserName_0 2025-11-25 10:32:19.1772|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[ClaimType], [a].[ClaimValue], [a].[Discriminator], [a].[UserId] FROM [AspNetUserClaims] AS [a] WHERE [a].[Discriminator] IN (N'IdentityUserClaim', N'UserClaim') AND ([a].[UserId] = @__user_Id_0) 2025-11-25 10:32:19.1832|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 10:32:19.1832|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__normalizedName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[InstitutionId], [a].[IsActive], [a].[Name], [a].[NormalizedName], [a].[UpdatedBy], [a].[UserType] FROM [AspNetRoles] AS [a] WHERE [a].[NormalizedName] = @__normalizedName_0 2025-11-25 10:32:19.1832|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__role_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[ClaimType], [a].[ClaimValue] FROM [AspNetRoleClaims] AS [a] WHERE [a].[RoleId] = @__role_Id_0 2025-11-25 10:32:19.1832|10|INFO|Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationHandler|AuthenticationScheme: Identity.Application signed in. 2025-11-25 10:32:19.1989|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (6ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[NormalizedUserName] = @__normalizedUserName_0 2025-11-25 10:32:19.1989|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 10:32:19.1989|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [p].[Code] FROM [UserPermissions] AS [u] INNER JOIN [Permissions] AS [p] ON [u].[PermissionId] = [p].[Id] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 10:32:19.2210|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (11ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 10:32:19.2291|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; INSERT INTO [UserToken] ([DateCreated], [ExpiryDate], [IsActive], [SessionExpiryDate], [Token], [UserId]) VALUES (@p0, @p1, @p2, @p3, @p4, @p5); SELECT [Id] FROM [UserToken] WHERE @@ROWCOUNT = 1 AND [Id] = scope_identity(); 2025-11-25 10:32:19.2291|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 10:32:19.2291||INFO|Authentication.Controllers.AccountController|usermmohai@MOF role is gotten 2025-11-25 10:32:19.2438|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [u].[Id], [u].[CreatedBy], [u].[DateCreated], [u].[DateUpdated], [u].[IsActive], [u].[IsDeleted], [u].[PermissionId], [u].[RowVersion], [u].[UpdatedBy], [u].[UserId] FROM [UserPermissions] AS [u] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 10:32:19.2438|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 10:32:19.2438|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 10:32:19.2438|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 10:32:19.2438|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 10:32:19.2438|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 10:32:19.2606|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 10:32:19.2606|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 10:32:19.2606|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 10:32:19.2606|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 10:32:19.2606|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 10:32:19.2606|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 10:32:19.2606|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 10:32:19.2765|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 10:32:19.2765|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 10:32:19.2765|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 10:32:19.2765|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 10:32:19.2765||INFO|Authentication.Controllers.AccountController|user mmohai@MOF is signin but about to call corporate service 2025-11-25 10:32:19.3329|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'AuditTrailUtility.Utility.SaveResponse'. 2025-11-25 10:32:19.3329|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.SignIn (Authentication) in 200.221ms 2025-11-25 10:32:19.3376|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.SignIn (Authentication)' 2025-11-25 10:32:19.3376|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 212.5521ms 200 application/json; charset=utf-8 2025-11-25 10:32:19.4751|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/Admin/GetAllUsersByCorporateId?corporateId=207 2025-11-25 10:32:19.4786|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 10:32:19.4786|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 7.5016ms 204 2025-11-25 10:32:19.5909|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/Admin/GetAllUsersByCorporateId?corporateId=207 2025-11-25 10:32:19.5909|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 10:32:19.5909|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.GetAllUsersByCorporateId (Authentication)' 2025-11-25 10:32:19.5909|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllUsersByCorporateId", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllUsersByCorporateId(Int64) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 10:32:19.6036|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 10:32:19.6036|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__corporateId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[UserTypeId] = @__corporateId_0 2025-11-25 10:32:19.6036|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[Authentication.Data.Models.Identity.UserBindingModel, Authentication.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2025-11-25 10:32:19.6036|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.GetAllUsersByCorporateId (Authentication) in 10.4581ms 2025-11-25 10:32:19.6036|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.GetAllUsersByCorporateId (Authentication)' 2025-11-25 10:32:19.6036|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 24.4035ms 200 application/json; charset=utf-8 2025-11-25 10:32:41.8007|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/Admin/SearchPermission 2025-11-25 10:32:41.8007|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/Admin/SearchRoleDetails 2025-11-25 10:32:41.8007|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 10:32:41.8007|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 10:32:41.8007|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 7.7121ms 204 2025-11-25 10:32:41.8007|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 8.1422ms 204 2025-11-25 10:32:41.8203|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/Admin/SearchPermission application/json 60 2025-11-25 10:32:41.8203|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 10:32:41.8203|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.SearchPermission (Authentication)' 2025-11-25 10:32:41.8203|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "SearchPermission", controller = "Account"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult SearchPermission(AuditTrailUtility.Utility.SearchCall`1[Authentication.Data.Models.PermissionModel]) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 10:32:41.8318|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 10:32:41.8318|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/Admin/SearchRoleDetails application/json 93 2025-11-25 10:32:41.8318|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 10:32:41.8318|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] 2025-11-25 10:32:41.8318|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.SearchRoleDetails (Authentication)' 2025-11-25 10:32:41.8318|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "SearchRoleDetails", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] SearchRoleDetails(AuditTrailUtility.Utility.SearchCall`1[Authentication.Data.Models.Identity.RoleSearch]) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 10:32:41.8318|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'AuditTrailUtility.Utility.SearchResponse`1[[Authentication.Data.Models.PermissionGroupViewModel, Authentication.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2025-11-25 10:32:41.8318|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 10:32:41.8503|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.SearchPermission (Authentication) in 20.2225ms 2025-11-25 10:32:41.8503|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.SearchPermission (Authentication)' 2025-11-25 10:32:41.8503|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 32.8384ms 200 application/json; charset=utf-8 2025-11-25 10:32:41.8658|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[Authentication.Data.Models.Identity.RoleViewModel, Authentication.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2025-11-25 10:32:41.8658|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.SearchRoleDetails (Authentication) in 22.5575ms 2025-11-25 10:32:41.8658|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.SearchRoleDetails (Authentication)' 2025-11-25 10:32:41.8658|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 33.8146ms 200 application/json; charset=utf-8 2025-11-25 10:33:11.4482|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/User/ActivateDeactivateUser application/json; charset=utf-8 228 2025-11-25 10:33:11.4482|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.ActivateDeactivateUser (Authentication)' 2025-11-25 10:33:11.4567|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "ActivateDeactivateUser", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] ActivateDeactivateUser(Authentication.Data.Models.Identity.UserModel) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 10:33:11.4567|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 10:33:11.4944|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__p_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[Id] = @__p_0 2025-11-25 10:33:11.5093|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (8ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[NormalizedUserName] = @__normalizedUserName_0 2025-11-25 10:33:11.5157|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@p32='?' (DbType = Int64), @p0='?' (DbType = Int32), @p1='?' (Size = 4000), @p2='?' (DbType = Int64), @p3='?' (Size = 4000), @p33='?' (Size = 4000), @p4='?' (DbType = Int64), @p5='?' (DbType = DateTime2), @p6='?' (DbType = DateTime2), @p7='?' (DbType = DateTime2), @p8='?' (DbType = Int64), @p9='?' (Size = 256), @p10='?' (DbType = Boolean), @p11='?' (Size = 4000), @p12='?' (DbType = Boolean), @p13='?' (DbType = Boolean), @p14='?' (DbType = Boolean), @p15='?' (Size = 4000), @p16='?' (DbType = DateTime2), @p17='?' (DbType = Boolean), @p18='?' (DbType = DateTimeOffset), @p19='?' (Size = 4000), @p20='?' (Size = 4000), @p21='?' (Size = 256), @p22='?' (Size = 256), @p23='?' (Size = 4000), @p24='?' (Size = 4000), @p25='?' (DbType = Boolean), @p34='?' (Size = 8) (DbType = Binary), @p26='?' (Size = 4000), @p27='?' (DbType = Boolean), @p28='?' (DbType = Int64), @p29='?' (Size = 256), @p30='?' (DbType = Int32), @p31='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [AspNetUsers] SET [AccessFailedCount] = @p0, [Address] = @p1, [BranchId] = @p2, [ConcurrencyStamp] = @p3, [CreatedBy] = @p4, [DOB] = @p5, [DateCreated] = @p6, [DateUpdated] = @p7, [DeletedBy] = @p8, [Email] = @p9, [EmailConfirmed] = @p10, [FirstName] = @p11, [IsActive] = @p12, [IsDeleted] = @p13, [IsFirstLogin] = @p14, [LastName] = @p15, [LastPasswordChangeDate] = @p16, [LockoutEnabled] = @p17, [LockoutEnd] = @p18, [MiddleName] = @p19, [MobileNumber] = @p20, [NormalizedEmail] = @p21, [NormalizedUserName] = @p22, [PasswordHash] = @p23, [PhoneNumber] = @p24, [PhoneNumberConfirmed] = @p25, [SecurityStamp] = @p26, [TwoFactorEnabled] = @p27, [UpdatedBy] = @p28, [UserName] = @p29, [UserType] = @p30, [UserTypeId] = @p31 WHERE [Id] = @p32 AND [ConcurrencyStamp] = @p33 AND [RowVersion] = @p34; SELECT [RowVersion] FROM [AspNetUsers] WHERE @@ROWCOUNT = 1 AND [Id] = @p32; 2025-11-25 10:33:11.5723|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'AuditTrailUtility.Utility.SaveResponse'. 2025-11-25 10:33:11.5773|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.ActivateDeactivateUser (Authentication) in 118.7867ms 2025-11-25 10:33:11.5773|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.ActivateDeactivateUser (Authentication)' 2025-11-25 10:33:11.5773|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 132.9966ms 200 application/json; charset=utf-8 2025-11-25 10:33:16.4850|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignOut/495 2025-11-25 10:33:16.4850|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 10:33:16.4850|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6.0594ms 204 2025-11-25 10:33:16.5177|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignOut/495 2025-11-25 10:33:16.5177|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 10:33:16.5177|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.SignOut (Authentication)' 2025-11-25 10:33:16.5177|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "SignOut", controller = "Account"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult SignOut(Int64) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 10:33:16.5177|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 10:33:16.5404|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (12ms) [Parameters=[@__UserId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__UserId_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 10:33:16.5476|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p6='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [UserToken] SET [DateCreated] = @p0, [ExpiryDate] = @p1, [IsActive] = @p2, [SessionExpiryDate] = @p3, [Token] = @p4, [UserId] = @p5 WHERE [Id] = @p6; SELECT @@ROWCOUNT; 2025-11-25 10:33:16.5476|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'AuditTrailUtility.Utility.SaveResponse'. 2025-11-25 10:33:16.5476|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.SignOut (Authentication) in 28.5834ms 2025-11-25 10:33:16.5476|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.SignOut (Authentication)' 2025-11-25 10:33:16.5476|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 37.247ms 200 application/json; charset=utf-8 2025-11-25 10:33:25.6134|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignOut/491 2025-11-25 10:33:25.6134|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 10:33:25.6196|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6.2178ms 204 2025-11-25 10:33:25.6362|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignOut/491 2025-11-25 10:33:25.6362|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 10:33:25.6362|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.SignOut (Authentication)' 2025-11-25 10:33:25.6362|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "SignOut", controller = "Account"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult SignOut(Int64) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 10:33:25.6362|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 10:33:25.6542|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (9ms) [Parameters=[@__UserId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__UserId_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 10:33:25.6542|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p6='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [UserToken] SET [DateCreated] = @p0, [ExpiryDate] = @p1, [IsActive] = @p2, [SessionExpiryDate] = @p3, [Token] = @p4, [UserId] = @p5 WHERE [Id] = @p6; SELECT @@ROWCOUNT; 2025-11-25 10:33:25.6665|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'AuditTrailUtility.Utility.SaveResponse'. 2025-11-25 10:33:25.6665|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.SignOut (Authentication) in 25.5987ms 2025-11-25 10:33:25.6665|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.SignOut (Authentication)' 2025-11-25 10:33:25.6665|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 33.4149ms 200 application/json; charset=utf-8 2025-11-25 10:33:30.6679|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignIn 2025-11-25 10:33:30.6679|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 10:33:30.6679|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 5.6882ms 204 2025-11-25 10:33:30.6808|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignIn application/json 60 2025-11-25 10:33:30.6808|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 10:33:30.6808|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.SignIn (Authentication)' 2025-11-25 10:33:30.6808|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "SignIn", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] SignIn(Authentication.Data.Models.Identity.AuthBindingModel) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 10:33:30.6808|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 10:33:30.6960|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__ToLower_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE LOWER([a].[UserName]) = @__ToLower_0 2025-11-25 10:33:30.6960|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (7ms) [Parameters=[@__checkUser_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__checkUser_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) ORDER BY [u].[Id] DESC 2025-11-25 10:33:30.6960|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[NormalizedUserName] = @__normalizedUserName_0 2025-11-25 10:33:30.7138||WARN|Microsoft.AspNetCore.Identity.UserManager|Invalid password for user 495. 2025-11-25 10:33:30.7138|2|WARN|Microsoft.AspNetCore.Identity.SignInManager|User 495 failed to provide the correct password. 2025-11-25 10:33:30.7138|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[NormalizedUserName] = @__normalizedUserName_0 2025-11-25 10:33:30.7278|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@p32='?' (DbType = Int64), @p0='?' (DbType = Int32), @p1='?' (Size = 4000), @p2='?' (DbType = Int64), @p3='?' (Size = 4000), @p33='?' (Size = 4000), @p4='?' (DbType = Int64), @p5='?' (DbType = DateTime2), @p6='?' (DbType = DateTime2), @p7='?' (DbType = DateTime2), @p8='?' (DbType = Int64), @p9='?' (Size = 256), @p10='?' (DbType = Boolean), @p11='?' (Size = 4000), @p12='?' (DbType = Boolean), @p13='?' (DbType = Boolean), @p14='?' (DbType = Boolean), @p15='?' (Size = 4000), @p16='?' (DbType = DateTime2), @p17='?' (DbType = Boolean), @p18='?' (DbType = DateTimeOffset), @p19='?' (Size = 4000), @p20='?' (Size = 4000), @p21='?' (Size = 256), @p22='?' (Size = 256), @p23='?' (Size = 4000), @p24='?' (Size = 4000), @p25='?' (DbType = Boolean), @p34='?' (Size = 8) (DbType = Binary), @p26='?' (Size = 4000), @p27='?' (DbType = Boolean), @p28='?' (DbType = Int64), @p29='?' (Size = 256), @p30='?' (DbType = Int32), @p31='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [AspNetUsers] SET [AccessFailedCount] = @p0, [Address] = @p1, [BranchId] = @p2, [ConcurrencyStamp] = @p3, [CreatedBy] = @p4, [DOB] = @p5, [DateCreated] = @p6, [DateUpdated] = @p7, [DeletedBy] = @p8, [Email] = @p9, [EmailConfirmed] = @p10, [FirstName] = @p11, [IsActive] = @p12, [IsDeleted] = @p13, [IsFirstLogin] = @p14, [LastName] = @p15, [LastPasswordChangeDate] = @p16, [LockoutEnabled] = @p17, [LockoutEnd] = @p18, [MiddleName] = @p19, [MobileNumber] = @p20, [NormalizedEmail] = @p21, [NormalizedUserName] = @p22, [PasswordHash] = @p23, [PhoneNumber] = @p24, [PhoneNumberConfirmed] = @p25, [SecurityStamp] = @p26, [TwoFactorEnabled] = @p27, [UpdatedBy] = @p28, [UserName] = @p29, [UserType] = @p30, [UserTypeId] = @p31 WHERE [Id] = @p32 AND [ConcurrencyStamp] = @p33 AND [RowVersion] = @p34; SELECT [RowVersion] FROM [AspNetUsers] WHERE @@ROWCOUNT = 1 AND [Id] = @p32; 2025-11-25 10:33:30.7278|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.String'. 2025-11-25 10:33:30.7278|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.SignIn (Authentication) in 45.0367ms 2025-11-25 10:33:30.7278|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.SignIn (Authentication)' 2025-11-25 10:33:30.7278|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 56.3956ms 400 text/plain; charset=utf-8 2025-11-25 10:33:57.1955|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignIn 2025-11-25 10:33:57.1955|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 10:33:57.1955|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 3.0058ms 204 2025-11-25 10:33:57.2075|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignIn application/json 60 2025-11-25 10:33:57.2075|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 10:33:57.2075|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.SignIn (Authentication)' 2025-11-25 10:33:57.2075|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "SignIn", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] SignIn(Authentication.Data.Models.Identity.AuthBindingModel) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 10:33:57.2075|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 10:33:57.2177|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__ToLower_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE LOWER([a].[UserName]) = @__ToLower_0 2025-11-25 10:33:57.2177|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (6ms) [Parameters=[@__checkUser_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__checkUser_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) ORDER BY [u].[Id] DESC 2025-11-25 10:33:57.2177|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[NormalizedUserName] = @__normalizedUserName_0 2025-11-25 10:33:57.2177||WARN|Microsoft.AspNetCore.Identity.UserManager|Invalid password for user 495. 2025-11-25 10:33:57.2320|2|WARN|Microsoft.AspNetCore.Identity.SignInManager|User 495 failed to provide the correct password. 2025-11-25 10:33:57.2320|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[NormalizedUserName] = @__normalizedUserName_0 2025-11-25 10:33:57.2320|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p32='?' (DbType = Int64), @p0='?' (DbType = Int32), @p1='?' (Size = 4000), @p2='?' (DbType = Int64), @p3='?' (Size = 4000), @p33='?' (Size = 4000), @p4='?' (DbType = Int64), @p5='?' (DbType = DateTime2), @p6='?' (DbType = DateTime2), @p7='?' (DbType = DateTime2), @p8='?' (DbType = Int64), @p9='?' (Size = 256), @p10='?' (DbType = Boolean), @p11='?' (Size = 4000), @p12='?' (DbType = Boolean), @p13='?' (DbType = Boolean), @p14='?' (DbType = Boolean), @p15='?' (Size = 4000), @p16='?' (DbType = DateTime2), @p17='?' (DbType = Boolean), @p18='?' (DbType = DateTimeOffset), @p19='?' (Size = 4000), @p20='?' (Size = 4000), @p21='?' (Size = 256), @p22='?' (Size = 256), @p23='?' (Size = 4000), @p24='?' (Size = 4000), @p25='?' (DbType = Boolean), @p34='?' (Size = 8) (DbType = Binary), @p26='?' (Size = 4000), @p27='?' (DbType = Boolean), @p28='?' (DbType = Int64), @p29='?' (Size = 256), @p30='?' (DbType = Int32), @p31='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [AspNetUsers] SET [AccessFailedCount] = @p0, [Address] = @p1, [BranchId] = @p2, [ConcurrencyStamp] = @p3, [CreatedBy] = @p4, [DOB] = @p5, [DateCreated] = @p6, [DateUpdated] = @p7, [DeletedBy] = @p8, [Email] = @p9, [EmailConfirmed] = @p10, [FirstName] = @p11, [IsActive] = @p12, [IsDeleted] = @p13, [IsFirstLogin] = @p14, [LastName] = @p15, [LastPasswordChangeDate] = @p16, [LockoutEnabled] = @p17, [LockoutEnd] = @p18, [MiddleName] = @p19, [MobileNumber] = @p20, [NormalizedEmail] = @p21, [NormalizedUserName] = @p22, [PasswordHash] = @p23, [PhoneNumber] = @p24, [PhoneNumberConfirmed] = @p25, [SecurityStamp] = @p26, [TwoFactorEnabled] = @p27, [UpdatedBy] = @p28, [UserName] = @p29, [UserType] = @p30, [UserTypeId] = @p31 WHERE [Id] = @p32 AND [ConcurrencyStamp] = @p33 AND [RowVersion] = @p34; SELECT [RowVersion] FROM [AspNetUsers] WHERE @@ROWCOUNT = 1 AND [Id] = @p32; 2025-11-25 10:33:57.2320|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.String'. 2025-11-25 10:33:57.2320|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.SignIn (Authentication) in 30.7723ms 2025-11-25 10:33:57.2320|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.SignIn (Authentication)' 2025-11-25 10:33:57.2320|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 38.0162ms 400 text/plain; charset=utf-8 2025-11-25 10:34:21.2315|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignIn 2025-11-25 10:34:21.2315|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 10:34:21.2315|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 4.2384ms 204 2025-11-25 10:34:21.2420|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignIn application/json 60 2025-11-25 10:34:21.2420|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 10:34:21.2420|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.SignIn (Authentication)' 2025-11-25 10:34:21.2420|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "SignIn", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] SignIn(Authentication.Data.Models.Identity.AuthBindingModel) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 10:34:21.2420|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 10:34:21.2420|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__ToLower_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE LOWER([a].[UserName]) = @__ToLower_0 2025-11-25 10:34:21.2631|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (5ms) [Parameters=[@__checkUser_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__checkUser_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) ORDER BY [u].[Id] DESC 2025-11-25 10:34:21.2631|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[NormalizedUserName] = @__normalizedUserName_0 2025-11-25 10:34:21.2730||WARN|Microsoft.AspNetCore.Identity.UserManager|Invalid password for user 495. 2025-11-25 10:34:21.2730|2|WARN|Microsoft.AspNetCore.Identity.SignInManager|User 495 failed to provide the correct password. 2025-11-25 10:34:21.2730|12|WARN|Microsoft.AspNetCore.Identity.UserManager|User 495 is locked out. 2025-11-25 10:34:21.2860|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[NormalizedUserName] = @__normalizedUserName_0 2025-11-25 10:34:21.2860|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p32='?' (DbType = Int64), @p0='?' (DbType = Int32), @p1='?' (Size = 4000), @p2='?' (DbType = Int64), @p3='?' (Size = 4000), @p33='?' (Size = 4000), @p4='?' (DbType = Int64), @p5='?' (DbType = DateTime2), @p6='?' (DbType = DateTime2), @p7='?' (DbType = DateTime2), @p8='?' (DbType = Int64), @p9='?' (Size = 256), @p10='?' (DbType = Boolean), @p11='?' (Size = 4000), @p12='?' (DbType = Boolean), @p13='?' (DbType = Boolean), @p14='?' (DbType = Boolean), @p15='?' (Size = 4000), @p16='?' (DbType = DateTime2), @p17='?' (DbType = Boolean), @p18='?' (DbType = DateTimeOffset), @p19='?' (Size = 4000), @p20='?' (Size = 4000), @p21='?' (Size = 256), @p22='?' (Size = 256), @p23='?' (Size = 4000), @p24='?' (Size = 4000), @p25='?' (DbType = Boolean), @p34='?' (Size = 8) (DbType = Binary), @p26='?' (Size = 4000), @p27='?' (DbType = Boolean), @p28='?' (DbType = Int64), @p29='?' (Size = 256), @p30='?' (DbType = Int32), @p31='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [AspNetUsers] SET [AccessFailedCount] = @p0, [Address] = @p1, [BranchId] = @p2, [ConcurrencyStamp] = @p3, [CreatedBy] = @p4, [DOB] = @p5, [DateCreated] = @p6, [DateUpdated] = @p7, [DeletedBy] = @p8, [Email] = @p9, [EmailConfirmed] = @p10, [FirstName] = @p11, [IsActive] = @p12, [IsDeleted] = @p13, [IsFirstLogin] = @p14, [LastName] = @p15, [LastPasswordChangeDate] = @p16, [LockoutEnabled] = @p17, [LockoutEnd] = @p18, [MiddleName] = @p19, [MobileNumber] = @p20, [NormalizedEmail] = @p21, [NormalizedUserName] = @p22, [PasswordHash] = @p23, [PhoneNumber] = @p24, [PhoneNumberConfirmed] = @p25, [SecurityStamp] = @p26, [TwoFactorEnabled] = @p27, [UpdatedBy] = @p28, [UserName] = @p29, [UserType] = @p30, [UserTypeId] = @p31 WHERE [Id] = @p32 AND [ConcurrencyStamp] = @p33 AND [RowVersion] = @p34; SELECT [RowVersion] FROM [AspNetUsers] WHERE @@ROWCOUNT = 1 AND [Id] = @p32; 2025-11-25 10:34:21.2860|3|WARN|Microsoft.AspNetCore.Identity.SignInManager|User 495 is currently locked out. 2025-11-25 10:34:21.3017|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[NormalizedUserName] = @__normalizedUserName_0 2025-11-25 10:34:21.3017|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p32='?' (DbType = Int64), @p0='?' (DbType = Int32), @p1='?' (Size = 4000), @p2='?' (DbType = Int64), @p3='?' (Size = 4000), @p33='?' (Size = 4000), @p4='?' (DbType = Int64), @p5='?' (DbType = DateTime2), @p6='?' (DbType = DateTime2), @p7='?' (DbType = DateTime2), @p8='?' (DbType = Int64), @p9='?' (Size = 256), @p10='?' (DbType = Boolean), @p11='?' (Size = 4000), @p12='?' (DbType = Boolean), @p13='?' (DbType = Boolean), @p14='?' (DbType = Boolean), @p15='?' (Size = 4000), @p16='?' (DbType = DateTime2), @p17='?' (DbType = Boolean), @p18='?' (DbType = DateTimeOffset), @p19='?' (Size = 4000), @p20='?' (Size = 4000), @p21='?' (Size = 256), @p22='?' (Size = 256), @p23='?' (Size = 4000), @p24='?' (Size = 4000), @p25='?' (DbType = Boolean), @p34='?' (Size = 8) (DbType = Binary), @p26='?' (Size = 4000), @p27='?' (DbType = Boolean), @p28='?' (DbType = Int64), @p29='?' (Size = 256), @p30='?' (DbType = Int32), @p31='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [AspNetUsers] SET [AccessFailedCount] = @p0, [Address] = @p1, [BranchId] = @p2, [ConcurrencyStamp] = @p3, [CreatedBy] = @p4, [DOB] = @p5, [DateCreated] = @p6, [DateUpdated] = @p7, [DeletedBy] = @p8, [Email] = @p9, [EmailConfirmed] = @p10, [FirstName] = @p11, [IsActive] = @p12, [IsDeleted] = @p13, [IsFirstLogin] = @p14, [LastName] = @p15, [LastPasswordChangeDate] = @p16, [LockoutEnabled] = @p17, [LockoutEnd] = @p18, [MiddleName] = @p19, [MobileNumber] = @p20, [NormalizedEmail] = @p21, [NormalizedUserName] = @p22, [PasswordHash] = @p23, [PhoneNumber] = @p24, [PhoneNumberConfirmed] = @p25, [SecurityStamp] = @p26, [TwoFactorEnabled] = @p27, [UpdatedBy] = @p28, [UserName] = @p29, [UserType] = @p30, [UserTypeId] = @p31 WHERE [Id] = @p32 AND [ConcurrencyStamp] = @p33 AND [RowVersion] = @p34; SELECT [RowVersion] FROM [AspNetUsers] WHERE @@ROWCOUNT = 1 AND [Id] = @p32; 2025-11-25 10:34:21.3017|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.String'. 2025-11-25 10:34:21.3017|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.SignIn (Authentication) in 62.9629ms 2025-11-25 10:34:21.3017|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.SignIn (Authentication)' 2025-11-25 10:34:21.3017|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 71.8593ms 400 text/plain; charset=utf-8 2025-11-25 10:35:08.6556|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignIn 2025-11-25 10:35:08.6556|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 10:35:08.6613|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 5.6419ms 204 2025-11-25 10:35:08.6613|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignIn application/json 65 2025-11-25 10:35:08.6613|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 10:35:08.6613|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.SignIn (Authentication)' 2025-11-25 10:35:08.6775|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "SignIn", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] SignIn(Authentication.Data.Models.Identity.AuthBindingModel) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 10:35:08.6775|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 10:35:08.6775|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__ToLower_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE LOWER([a].[UserName]) = @__ToLower_0 2025-11-25 10:35:08.6999|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (12ms) [Parameters=[@__checkUser_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__checkUser_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) ORDER BY [u].[Id] DESC 2025-11-25 10:35:08.6999|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[NormalizedUserName] = @__normalizedUserName_0 2025-11-25 10:35:08.7164|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[ClaimType], [a].[ClaimValue], [a].[Discriminator], [a].[UserId] FROM [AspNetUserClaims] AS [a] WHERE [a].[Discriminator] IN (N'IdentityUserClaim', N'UserClaim') AND ([a].[UserId] = @__user_Id_0) 2025-11-25 10:35:08.7229|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 10:35:08.7229|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__normalizedName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[InstitutionId], [a].[IsActive], [a].[Name], [a].[NormalizedName], [a].[UpdatedBy], [a].[UserType] FROM [AspNetRoles] AS [a] WHERE [a].[NormalizedName] = @__normalizedName_0 2025-11-25 10:35:08.7229|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__role_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[ClaimType], [a].[ClaimValue] FROM [AspNetRoleClaims] AS [a] WHERE [a].[RoleId] = @__role_Id_0 2025-11-25 10:35:08.7229|10|INFO|Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationHandler|AuthenticationScheme: Identity.Application signed in. 2025-11-25 10:35:08.7229|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[NormalizedUserName] = @__normalizedUserName_0 2025-11-25 10:35:08.7402|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 10:35:08.7402|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [p].[Code] FROM [UserPermissions] AS [u] INNER JOIN [Permissions] AS [p] ON [u].[PermissionId] = [p].[Id] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 10:35:08.7402|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (6ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 10:35:08.7590|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; INSERT INTO [UserToken] ([DateCreated], [ExpiryDate], [IsActive], [SessionExpiryDate], [Token], [UserId]) VALUES (@p0, @p1, @p2, @p3, @p4, @p5); SELECT [Id] FROM [UserToken] WHERE @@ROWCOUNT = 1 AND [Id] = scope_identity(); 2025-11-25 10:35:08.7590|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 10:35:08.7590||INFO|Authentication.Controllers.AccountController|usermmohai@MOF role is gotten 2025-11-25 10:35:08.7590|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [u].[Id], [u].[CreatedBy], [u].[DateCreated], [u].[DateUpdated], [u].[IsActive], [u].[IsDeleted], [u].[PermissionId], [u].[RowVersion], [u].[UpdatedBy], [u].[UserId] FROM [UserPermissions] AS [u] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 10:35:08.7717|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 10:35:08.7717|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 10:35:08.7717|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 10:35:08.7717|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (0ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 10:35:08.7717|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 10:35:08.7717|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 10:35:08.7717|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (0ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 10:35:08.7717|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (0ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 10:35:08.7861|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (0ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 10:35:08.7861|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (0ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 10:35:08.7861|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 10:35:08.7861|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 10:35:08.7861|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 10:35:08.7861|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 10:35:08.7861|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 10:35:08.7861|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 10:35:08.7861||INFO|Authentication.Controllers.AccountController|user mmohai@MOF is signin but about to call corporate service 2025-11-25 10:35:08.8487|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'AuditTrailUtility.Utility.SaveResponse'. 2025-11-25 10:35:08.8487|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.SignIn (Authentication) in 172.1363ms 2025-11-25 10:35:08.8487|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.SignIn (Authentication)' 2025-11-25 10:35:08.8487|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 184.3111ms 200 application/json; charset=utf-8 2025-11-25 10:35:09.0131|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/Admin/GetAllUsersByCorporateId?corporateId=207 2025-11-25 10:35:09.0131|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 10:35:09.0131|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 4.9296ms 204 2025-11-25 10:35:09.0386|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/Admin/GetAllUsersByCorporateId?corporateId=207 2025-11-25 10:35:09.0386|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 10:35:09.0386|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.GetAllUsersByCorporateId (Authentication)' 2025-11-25 10:35:09.0386|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllUsersByCorporateId", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllUsersByCorporateId(Int64) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 10:35:09.0386|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 10:35:09.0541|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (3ms) [Parameters=[@__corporateId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[UserTypeId] = @__corporateId_0 2025-11-25 10:35:09.0541|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[Authentication.Data.Models.Identity.UserBindingModel, Authentication.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2025-11-25 10:35:09.0541|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.GetAllUsersByCorporateId (Authentication) in 15.5106ms 2025-11-25 10:35:09.0541|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.GetAllUsersByCorporateId (Authentication)' 2025-11-25 10:35:09.0680|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 29.3803ms 200 application/json; charset=utf-8 2025-11-25 10:35:18.4826|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/Admin/SearchPermission 2025-11-25 10:35:18.4826|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/Admin/SearchRoleDetails 2025-11-25 10:35:18.4826|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 10:35:18.4826|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 10:35:18.4952|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 12.5779ms 204 2025-11-25 10:35:18.4952|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 17.3216ms 204 2025-11-25 10:35:18.4952|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/Admin/SearchPermission application/json 60 2025-11-25 10:35:18.4952|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 10:35:18.4952|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.SearchPermission (Authentication)' 2025-11-25 10:35:18.4952|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "SearchPermission", controller = "Account"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult SearchPermission(AuditTrailUtility.Utility.SearchCall`1[Authentication.Data.Models.PermissionModel]) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 10:35:18.5089|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/Admin/SearchRoleDetails application/json 93 2025-11-25 10:35:18.5089|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 10:35:18.5089|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 10:35:18.5089|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.SearchRoleDetails (Authentication)' 2025-11-25 10:35:18.5089|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] 2025-11-25 10:35:18.5089|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "SearchRoleDetails", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] SearchRoleDetails(AuditTrailUtility.Utility.SearchCall`1[Authentication.Data.Models.Identity.RoleSearch]) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 10:35:18.5089|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 10:35:18.5089|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'AuditTrailUtility.Utility.SearchResponse`1[[Authentication.Data.Models.PermissionGroupViewModel, Authentication.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2025-11-25 10:35:18.5089|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.SearchPermission (Authentication) in 10.3546ms 2025-11-25 10:35:18.5089|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.SearchPermission (Authentication)' 2025-11-25 10:35:18.5089|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 20.6771ms 200 application/json; charset=utf-8 2025-11-25 10:35:18.5284|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[Authentication.Data.Models.Identity.RoleViewModel, Authentication.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2025-11-25 10:35:18.5284|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.SearchRoleDetails (Authentication) in 12.457ms 2025-11-25 10:35:18.5284|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.SearchRoleDetails (Authentication)' 2025-11-25 10:35:18.5284|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 23.6197ms 200 application/json; charset=utf-8 2025-11-25 10:35:33.8007|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/User/ActivateDeactivateUser application/json; charset=utf-8 228 2025-11-25 10:35:33.8007|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.ActivateDeactivateUser (Authentication)' 2025-11-25 10:35:33.8007|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "ActivateDeactivateUser", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] ActivateDeactivateUser(Authentication.Data.Models.Identity.UserModel) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 10:35:33.8065|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 10:35:33.8065|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__p_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[Id] = @__p_0 2025-11-25 10:35:33.8065|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[NormalizedUserName] = @__normalizedUserName_0 2025-11-25 10:35:33.8235|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p32='?' (DbType = Int64), @p0='?' (DbType = Int32), @p1='?' (Size = 4000), @p2='?' (DbType = Int64), @p3='?' (Size = 4000), @p33='?' (Size = 4000), @p4='?' (DbType = Int64), @p5='?' (DbType = DateTime2), @p6='?' (DbType = DateTime2), @p7='?' (DbType = DateTime2), @p8='?' (DbType = Int64), @p9='?' (Size = 256), @p10='?' (DbType = Boolean), @p11='?' (Size = 4000), @p12='?' (DbType = Boolean), @p13='?' (DbType = Boolean), @p14='?' (DbType = Boolean), @p15='?' (Size = 4000), @p16='?' (DbType = DateTime2), @p17='?' (DbType = Boolean), @p18='?' (DbType = DateTimeOffset), @p19='?' (Size = 4000), @p20='?' (Size = 4000), @p21='?' (Size = 256), @p22='?' (Size = 256), @p23='?' (Size = 4000), @p24='?' (Size = 4000), @p25='?' (DbType = Boolean), @p34='?' (Size = 8) (DbType = Binary), @p26='?' (Size = 4000), @p27='?' (DbType = Boolean), @p28='?' (DbType = Int64), @p29='?' (Size = 256), @p30='?' (DbType = Int32), @p31='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [AspNetUsers] SET [AccessFailedCount] = @p0, [Address] = @p1, [BranchId] = @p2, [ConcurrencyStamp] = @p3, [CreatedBy] = @p4, [DOB] = @p5, [DateCreated] = @p6, [DateUpdated] = @p7, [DeletedBy] = @p8, [Email] = @p9, [EmailConfirmed] = @p10, [FirstName] = @p11, [IsActive] = @p12, [IsDeleted] = @p13, [IsFirstLogin] = @p14, [LastName] = @p15, [LastPasswordChangeDate] = @p16, [LockoutEnabled] = @p17, [LockoutEnd] = @p18, [MiddleName] = @p19, [MobileNumber] = @p20, [NormalizedEmail] = @p21, [NormalizedUserName] = @p22, [PasswordHash] = @p23, [PhoneNumber] = @p24, [PhoneNumberConfirmed] = @p25, [SecurityStamp] = @p26, [TwoFactorEnabled] = @p27, [UpdatedBy] = @p28, [UserName] = @p29, [UserType] = @p30, [UserTypeId] = @p31 WHERE [Id] = @p32 AND [ConcurrencyStamp] = @p33 AND [RowVersion] = @p34; SELECT [RowVersion] FROM [AspNetUsers] WHERE @@ROWCOUNT = 1 AND [Id] = @p32; 2025-11-25 10:35:33.8736|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'AuditTrailUtility.Utility.SaveResponse'. 2025-11-25 10:35:33.8736|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.ActivateDeactivateUser (Authentication) in 71.0085ms 2025-11-25 10:35:33.8736|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.ActivateDeactivateUser (Authentication)' 2025-11-25 10:35:33.8736|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 80.3336ms 200 application/json; charset=utf-8 2025-11-25 10:35:41.7946|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignOut/495 2025-11-25 10:35:41.7946|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 10:35:41.7946|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 5.7051ms 204 2025-11-25 10:35:41.8195|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignOut/495 2025-11-25 10:35:41.8195|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 10:35:41.8195|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.SignOut (Authentication)' 2025-11-25 10:35:41.8252|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "SignOut", controller = "Account"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult SignOut(Int64) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 10:35:41.8252|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 10:35:41.8252|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (7ms) [Parameters=[@__UserId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__UserId_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 10:35:41.8252|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'AuditTrailUtility.Utility.SaveResponse'. 2025-11-25 10:35:41.8252|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.SignOut (Authentication) in 13.057ms 2025-11-25 10:35:41.8411|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.SignOut (Authentication)' 2025-11-25 10:35:41.8411|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 22.7509ms 200 application/json; charset=utf-8 2025-11-25 10:36:06.3974|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignIn 2025-11-25 10:36:06.3974|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 10:36:06.3974|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 3.4485ms 204 2025-11-25 10:36:06.4078|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignIn application/json 60 2025-11-25 10:36:06.4078|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 10:36:06.4078|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.SignIn (Authentication)' 2025-11-25 10:36:06.4078|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "SignIn", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] SignIn(Authentication.Data.Models.Identity.AuthBindingModel) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 10:36:06.4078|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 10:36:06.4078|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__ToLower_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE LOWER([a].[UserName]) = @__ToLower_0 2025-11-25 10:36:06.4318|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (12ms) [Parameters=[@__checkUser_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__checkUser_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) ORDER BY [u].[Id] DESC 2025-11-25 10:36:06.4318|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[NormalizedUserName] = @__normalizedUserName_0 2025-11-25 10:36:06.4423||WARN|Microsoft.AspNetCore.Identity.UserManager|Invalid password for user 495. 2025-11-25 10:36:06.4423|2|WARN|Microsoft.AspNetCore.Identity.SignInManager|User 495 failed to provide the correct password. 2025-11-25 10:36:06.4423|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[NormalizedUserName] = @__normalizedUserName_0 2025-11-25 10:36:06.4423|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p32='?' (DbType = Int64), @p0='?' (DbType = Int32), @p1='?' (Size = 4000), @p2='?' (DbType = Int64), @p3='?' (Size = 4000), @p33='?' (Size = 4000), @p4='?' (DbType = Int64), @p5='?' (DbType = DateTime2), @p6='?' (DbType = DateTime2), @p7='?' (DbType = DateTime2), @p8='?' (DbType = Int64), @p9='?' (Size = 256), @p10='?' (DbType = Boolean), @p11='?' (Size = 4000), @p12='?' (DbType = Boolean), @p13='?' (DbType = Boolean), @p14='?' (DbType = Boolean), @p15='?' (Size = 4000), @p16='?' (DbType = DateTime2), @p17='?' (DbType = Boolean), @p18='?' (DbType = DateTimeOffset), @p19='?' (Size = 4000), @p20='?' (Size = 4000), @p21='?' (Size = 256), @p22='?' (Size = 256), @p23='?' (Size = 4000), @p24='?' (Size = 4000), @p25='?' (DbType = Boolean), @p34='?' (Size = 8) (DbType = Binary), @p26='?' (Size = 4000), @p27='?' (DbType = Boolean), @p28='?' (DbType = Int64), @p29='?' (Size = 256), @p30='?' (DbType = Int32), @p31='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [AspNetUsers] SET [AccessFailedCount] = @p0, [Address] = @p1, [BranchId] = @p2, [ConcurrencyStamp] = @p3, [CreatedBy] = @p4, [DOB] = @p5, [DateCreated] = @p6, [DateUpdated] = @p7, [DeletedBy] = @p8, [Email] = @p9, [EmailConfirmed] = @p10, [FirstName] = @p11, [IsActive] = @p12, [IsDeleted] = @p13, [IsFirstLogin] = @p14, [LastName] = @p15, [LastPasswordChangeDate] = @p16, [LockoutEnabled] = @p17, [LockoutEnd] = @p18, [MiddleName] = @p19, [MobileNumber] = @p20, [NormalizedEmail] = @p21, [NormalizedUserName] = @p22, [PasswordHash] = @p23, [PhoneNumber] = @p24, [PhoneNumberConfirmed] = @p25, [SecurityStamp] = @p26, [TwoFactorEnabled] = @p27, [UpdatedBy] = @p28, [UserName] = @p29, [UserType] = @p30, [UserTypeId] = @p31 WHERE [Id] = @p32 AND [ConcurrencyStamp] = @p33 AND [RowVersion] = @p34; SELECT [RowVersion] FROM [AspNetUsers] WHERE @@ROWCOUNT = 1 AND [Id] = @p32; 2025-11-25 10:36:06.4537|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.String'. 2025-11-25 10:36:06.4537|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.SignIn (Authentication) in 43.2681ms 2025-11-25 10:36:06.4537|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.SignIn (Authentication)' 2025-11-25 10:36:06.4537|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 50.3668ms 400 text/plain; charset=utf-8 2025-11-25 10:36:59.7814|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/User/ForgotPassword 2025-11-25 10:36:59.7814|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 10:36:59.7814|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 4.9785ms 204 2025-11-25 10:36:59.7950|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/User/ForgotPassword application/json 63 2025-11-25 10:36:59.7950|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 10:36:59.7950|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.ForgetPassword (Authentication)' 2025-11-25 10:36:59.7950|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "ForgetPassword", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] ForgetPassword(Authentication.Data.Models.Identity.ForgotPasswordResetBindingModel) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 10:36:59.7950|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 10:36:59.7950|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__model_UserName_0='?' (Size = 256), @__model_UserType_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE ([a].[UserName] = @__model_UserName_0) AND ([a].[UserType] = @__model_UserType_1) 2025-11-25 10:36:59.8106|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[NormalizedUserName] = @__normalizedUserName_0 2025-11-25 10:36:59.8106|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p32='?' (DbType = Int64), @p0='?' (DbType = Int32), @p1='?' (Size = 4000), @p2='?' (DbType = Int64), @p3='?' (Size = 4000), @p33='?' (Size = 4000), @p4='?' (DbType = Int64), @p5='?' (DbType = DateTime2), @p6='?' (DbType = DateTime2), @p7='?' (DbType = DateTime2), @p8='?' (DbType = Int64), @p9='?' (Size = 256), @p10='?' (DbType = Boolean), @p11='?' (Size = 4000), @p12='?' (DbType = Boolean), @p13='?' (DbType = Boolean), @p14='?' (DbType = Boolean), @p15='?' (Size = 4000), @p16='?' (DbType = DateTime2), @p17='?' (DbType = Boolean), @p18='?' (DbType = DateTimeOffset), @p19='?' (Size = 4000), @p20='?' (Size = 4000), @p21='?' (Size = 256), @p22='?' (Size = 256), @p23='?' (Size = 4000), @p24='?' (Size = 4000), @p25='?' (DbType = Boolean), @p34='?' (Size = 8) (DbType = Binary), @p26='?' (Size = 4000), @p27='?' (DbType = Boolean), @p28='?' (DbType = Int64), @p29='?' (Size = 256), @p30='?' (DbType = Int32), @p31='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [AspNetUsers] SET [AccessFailedCount] = @p0, [Address] = @p1, [BranchId] = @p2, [ConcurrencyStamp] = @p3, [CreatedBy] = @p4, [DOB] = @p5, [DateCreated] = @p6, [DateUpdated] = @p7, [DeletedBy] = @p8, [Email] = @p9, [EmailConfirmed] = @p10, [FirstName] = @p11, [IsActive] = @p12, [IsDeleted] = @p13, [IsFirstLogin] = @p14, [LastName] = @p15, [LastPasswordChangeDate] = @p16, [LockoutEnabled] = @p17, [LockoutEnd] = @p18, [MiddleName] = @p19, [MobileNumber] = @p20, [NormalizedEmail] = @p21, [NormalizedUserName] = @p22, [PasswordHash] = @p23, [PhoneNumber] = @p24, [PhoneNumberConfirmed] = @p25, [SecurityStamp] = @p26, [TwoFactorEnabled] = @p27, [UpdatedBy] = @p28, [UserName] = @p29, [UserType] = @p30, [UserTypeId] = @p31 WHERE [Id] = @p32 AND [ConcurrencyStamp] = @p33 AND [RowVersion] = @p34; SELECT [RowVersion] FROM [AspNetUsers] WHERE @@ROWCOUNT = 1 AND [Id] = @p32; 2025-11-25 10:36:59.8215|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (3ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[NormalizedUserName] = @__normalizedUserName_0 2025-11-25 10:36:59.8215|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p32='?' (DbType = Int64), @p0='?' (DbType = Int32), @p1='?' (Size = 4000), @p2='?' (DbType = Int64), @p3='?' (Size = 4000), @p33='?' (Size = 4000), @p4='?' (DbType = Int64), @p5='?' (DbType = DateTime2), @p6='?' (DbType = DateTime2), @p7='?' (DbType = DateTime2), @p8='?' (DbType = Int64), @p9='?' (Size = 256), @p10='?' (DbType = Boolean), @p11='?' (Size = 4000), @p12='?' (DbType = Boolean), @p13='?' (DbType = Boolean), @p14='?' (DbType = Boolean), @p15='?' (Size = 4000), @p16='?' (DbType = DateTime2), @p17='?' (DbType = Boolean), @p18='?' (DbType = DateTimeOffset), @p19='?' (Size = 4000), @p20='?' (Size = 4000), @p21='?' (Size = 256), @p22='?' (Size = 256), @p23='?' (Size = 4000), @p24='?' (Size = 4000), @p25='?' (DbType = Boolean), @p34='?' (Size = 8) (DbType = Binary), @p26='?' (Size = 4000), @p27='?' (DbType = Boolean), @p28='?' (DbType = Int64), @p29='?' (Size = 256), @p30='?' (DbType = Int32), @p31='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [AspNetUsers] SET [AccessFailedCount] = @p0, [Address] = @p1, [BranchId] = @p2, [ConcurrencyStamp] = @p3, [CreatedBy] = @p4, [DOB] = @p5, [DateCreated] = @p6, [DateUpdated] = @p7, [DeletedBy] = @p8, [Email] = @p9, [EmailConfirmed] = @p10, [FirstName] = @p11, [IsActive] = @p12, [IsDeleted] = @p13, [IsFirstLogin] = @p14, [LastName] = @p15, [LastPasswordChangeDate] = @p16, [LockoutEnabled] = @p17, [LockoutEnd] = @p18, [MiddleName] = @p19, [MobileNumber] = @p20, [NormalizedEmail] = @p21, [NormalizedUserName] = @p22, [PasswordHash] = @p23, [PhoneNumber] = @p24, [PhoneNumberConfirmed] = @p25, [SecurityStamp] = @p26, [TwoFactorEnabled] = @p27, [UpdatedBy] = @p28, [UserName] = @p29, [UserType] = @p30, [UserTypeId] = @p31 WHERE [Id] = @p32 AND [ConcurrencyStamp] = @p33 AND [RowVersion] = @p34; SELECT [RowVersion] FROM [AspNetUsers] WHERE @@ROWCOUNT = 1 AND [Id] = @p32; 2025-11-25 10:37:00.3559|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'AuditTrailUtility.Utility.SaveResponse'. 2025-11-25 10:37:00.3559|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.ForgetPassword (Authentication) in 560.9481ms 2025-11-25 10:37:00.3559|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.ForgetPassword (Authentication)' 2025-11-25 10:37:00.3559|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 569.5906ms 200 application/json; charset=utf-8 2025-11-25 10:38:08.5169|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignOut/492 2025-11-25 10:38:08.5169|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 10:38:08.5169|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 5.6995ms 204 2025-11-25 10:38:08.5327|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignOut/492 2025-11-25 10:38:08.5327|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 10:38:08.5327|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.SignOut (Authentication)' 2025-11-25 10:38:08.5401|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "SignOut", controller = "Account"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult SignOut(Int64) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 10:38:08.5401|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 10:38:08.5401|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (10ms) [Parameters=[@__UserId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__UserId_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 10:38:08.5594|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p6='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [UserToken] SET [DateCreated] = @p0, [ExpiryDate] = @p1, [IsActive] = @p2, [SessionExpiryDate] = @p3, [Token] = @p4, [UserId] = @p5 WHERE [Id] = @p6; SELECT @@ROWCOUNT; 2025-11-25 10:38:08.5594|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'AuditTrailUtility.Utility.SaveResponse'. 2025-11-25 10:38:08.5594|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.SignOut (Authentication) in 24.9558ms 2025-11-25 10:38:08.5594|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.SignOut (Authentication)' 2025-11-25 10:38:08.5705|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 37.738ms 200 application/json; charset=utf-8 2025-11-25 10:38:42.2417|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/User/ForgotPassword 2025-11-25 10:38:42.2417|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 10:38:42.2417|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 4.2293ms 204 2025-11-25 10:38:42.2527|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/User/ForgotPassword application/json 63 2025-11-25 10:38:42.2527|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 10:38:42.2527|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.ForgetPassword (Authentication)' 2025-11-25 10:38:42.2527|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "ForgetPassword", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] ForgetPassword(Authentication.Data.Models.Identity.ForgotPasswordResetBindingModel) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 10:38:42.2527|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 10:38:42.2642|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__model_UserName_0='?' (Size = 256), @__model_UserType_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE ([a].[UserName] = @__model_UserName_0) AND ([a].[UserType] = @__model_UserType_1) 2025-11-25 10:38:42.2642|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[NormalizedUserName] = @__normalizedUserName_0 2025-11-25 10:38:42.2642|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p32='?' (DbType = Int64), @p0='?' (DbType = Int32), @p1='?' (Size = 4000), @p2='?' (DbType = Int64), @p3='?' (Size = 4000), @p33='?' (Size = 4000), @p4='?' (DbType = Int64), @p5='?' (DbType = DateTime2), @p6='?' (DbType = DateTime2), @p7='?' (DbType = DateTime2), @p8='?' (DbType = Int64), @p9='?' (Size = 256), @p10='?' (DbType = Boolean), @p11='?' (Size = 4000), @p12='?' (DbType = Boolean), @p13='?' (DbType = Boolean), @p14='?' (DbType = Boolean), @p15='?' (Size = 4000), @p16='?' (DbType = DateTime2), @p17='?' (DbType = Boolean), @p18='?' (DbType = DateTimeOffset), @p19='?' (Size = 4000), @p20='?' (Size = 4000), @p21='?' (Size = 256), @p22='?' (Size = 256), @p23='?' (Size = 4000), @p24='?' (Size = 4000), @p25='?' (DbType = Boolean), @p34='?' (Size = 8) (DbType = Binary), @p26='?' (Size = 4000), @p27='?' (DbType = Boolean), @p28='?' (DbType = Int64), @p29='?' (Size = 256), @p30='?' (DbType = Int32), @p31='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [AspNetUsers] SET [AccessFailedCount] = @p0, [Address] = @p1, [BranchId] = @p2, [ConcurrencyStamp] = @p3, [CreatedBy] = @p4, [DOB] = @p5, [DateCreated] = @p6, [DateUpdated] = @p7, [DeletedBy] = @p8, [Email] = @p9, [EmailConfirmed] = @p10, [FirstName] = @p11, [IsActive] = @p12, [IsDeleted] = @p13, [IsFirstLogin] = @p14, [LastName] = @p15, [LastPasswordChangeDate] = @p16, [LockoutEnabled] = @p17, [LockoutEnd] = @p18, [MiddleName] = @p19, [MobileNumber] = @p20, [NormalizedEmail] = @p21, [NormalizedUserName] = @p22, [PasswordHash] = @p23, [PhoneNumber] = @p24, [PhoneNumberConfirmed] = @p25, [SecurityStamp] = @p26, [TwoFactorEnabled] = @p27, [UpdatedBy] = @p28, [UserName] = @p29, [UserType] = @p30, [UserTypeId] = @p31 WHERE [Id] = @p32 AND [ConcurrencyStamp] = @p33 AND [RowVersion] = @p34; SELECT [RowVersion] FROM [AspNetUsers] WHERE @@ROWCOUNT = 1 AND [Id] = @p32; 2025-11-25 10:38:42.2887|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (8ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[NormalizedUserName] = @__normalizedUserName_0 2025-11-25 10:38:42.2887|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p32='?' (DbType = Int64), @p0='?' (DbType = Int32), @p1='?' (Size = 4000), @p2='?' (DbType = Int64), @p3='?' (Size = 4000), @p33='?' (Size = 4000), @p4='?' (DbType = Int64), @p5='?' (DbType = DateTime2), @p6='?' (DbType = DateTime2), @p7='?' (DbType = DateTime2), @p8='?' (DbType = Int64), @p9='?' (Size = 256), @p10='?' (DbType = Boolean), @p11='?' (Size = 4000), @p12='?' (DbType = Boolean), @p13='?' (DbType = Boolean), @p14='?' (DbType = Boolean), @p15='?' (Size = 4000), @p16='?' (DbType = DateTime2), @p17='?' (DbType = Boolean), @p18='?' (DbType = DateTimeOffset), @p19='?' (Size = 4000), @p20='?' (Size = 4000), @p21='?' (Size = 256), @p22='?' (Size = 256), @p23='?' (Size = 4000), @p24='?' (Size = 4000), @p25='?' (DbType = Boolean), @p34='?' (Size = 8) (DbType = Binary), @p26='?' (Size = 4000), @p27='?' (DbType = Boolean), @p28='?' (DbType = Int64), @p29='?' (Size = 256), @p30='?' (DbType = Int32), @p31='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [AspNetUsers] SET [AccessFailedCount] = @p0, [Address] = @p1, [BranchId] = @p2, [ConcurrencyStamp] = @p3, [CreatedBy] = @p4, [DOB] = @p5, [DateCreated] = @p6, [DateUpdated] = @p7, [DeletedBy] = @p8, [Email] = @p9, [EmailConfirmed] = @p10, [FirstName] = @p11, [IsActive] = @p12, [IsDeleted] = @p13, [IsFirstLogin] = @p14, [LastName] = @p15, [LastPasswordChangeDate] = @p16, [LockoutEnabled] = @p17, [LockoutEnd] = @p18, [MiddleName] = @p19, [MobileNumber] = @p20, [NormalizedEmail] = @p21, [NormalizedUserName] = @p22, [PasswordHash] = @p23, [PhoneNumber] = @p24, [PhoneNumberConfirmed] = @p25, [SecurityStamp] = @p26, [TwoFactorEnabled] = @p27, [UpdatedBy] = @p28, [UserName] = @p29, [UserType] = @p30, [UserTypeId] = @p31 WHERE [Id] = @p32 AND [ConcurrencyStamp] = @p33 AND [RowVersion] = @p34; SELECT [RowVersion] FROM [AspNetUsers] WHERE @@ROWCOUNT = 1 AND [Id] = @p32; 2025-11-25 10:38:42.8227|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'AuditTrailUtility.Utility.SaveResponse'. 2025-11-25 10:38:42.8227|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.ForgetPassword (Authentication) in 565.3435ms 2025-11-25 10:38:42.8261|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.ForgetPassword (Authentication)' 2025-11-25 10:38:42.8261|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 575.0258ms 200 application/json; charset=utf-8 2025-11-25 10:41:47.6616|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=KQ+nxZPA/uOkXeQr/0ZWKwFvbRNGefsiHGPet+woWxI= 2025-11-25 10:41:47.6616|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=KQ+nxZPA/uOkXeQr/0ZWKwFvbRNGefsiHGPet+woWxI= 2025-11-25 10:41:47.6616|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 10:41:47.6616|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 10:41:47.6616|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 5.0217ms 204 2025-11-25 10:41:47.6677|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 4.5579ms 204 2025-11-25 10:41:47.6677|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=KQ+nxZPA/uOkXeQr/0ZWKwFvbRNGefsiHGPet+woWxI= 2025-11-25 10:41:47.6677|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=KQ+nxZPA/uOkXeQr/0ZWKwFvbRNGefsiHGPet+woWxI= 2025-11-25 10:41:47.6677|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 10:41:47.6677|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 10:41:47.6677|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=KQ+nxZPA/uOkXeQr/0ZWKwFvbRNGefsiHGPet+woWxI= 2025-11-25 10:41:47.6677|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 4.5875ms 204 2025-11-25 10:41:47.6677|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=KQ+nxZPA/uOkXeQr/0ZWKwFvbRNGefsiHGPet+woWxI= 0 2025-11-25 10:41:47.6677|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=KQ+nxZPA/uOkXeQr/0ZWKwFvbRNGefsiHGPet+woWxI= 0 2025-11-25 10:41:47.6677|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 5.4695ms 204 2025-11-25 10:41:47.6677|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 10:41:47.6677|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=KQ+nxZPA/uOkXeQr/0ZWKwFvbRNGefsiHGPet+woWxI= 0 2025-11-25 10:41:47.6677|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 10:41:47.6677|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 10:41:47.6677|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=KQ+nxZPA/uOkXeQr/0ZWKwFvbRNGefsiHGPet+woWxI= 0 2025-11-25 10:41:47.6836|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 10.6687ms 204 2025-11-25 10:41:47.6836|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 10:41:47.6836|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 10:41:47.6836|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 10:41:47.6836|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 10:41:47.6836|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=KQ+nxZPA/uOkXeQr/0ZWKwFvbRNGefsiHGPet+woWxI= 0 2025-11-25 10:41:47.6836|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 10:41:47.6836|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 10:41:47.6836|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 10:41:47.6836|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "RefreshToken", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] RefreshToken(System.String) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 10:41:47.6836|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "RefreshToken", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] RefreshToken(System.String) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 10:41:47.6990|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "RefreshToken", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] RefreshToken(System.String) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 10:41:47.6990|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 10:41:47.6990|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 10:41:47.6990|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 10:41:47.6990|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 10:41:47.6990|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "RefreshToken", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] RefreshToken(System.String) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 10:41:47.6990|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "RefreshToken", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] RefreshToken(System.String) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 10:41:47.6990|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 10:41:47.7156|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 10:41:47.7381|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (14ms) [Parameters=[@__Token_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE [u].[Token] = @__Token_0 2025-11-25 10:41:47.7381|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (24ms) [Parameters=[@__Token_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE [u].[Token] = @__Token_0 2025-11-25 10:41:47.7381|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'Microsoft.AspNetCore.Mvc.ProblemDetails'. 2025-11-25 10:41:47.7381|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'Microsoft.AspNetCore.Mvc.ProblemDetails'. 2025-11-25 10:41:47.7500|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (18ms) [Parameters=[@__Token_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE [u].[Token] = @__Token_0 2025-11-25 10:41:47.7500|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (12ms) [Parameters=[@__Token_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE [u].[Token] = @__Token_0 2025-11-25 10:41:47.7500|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'Microsoft.AspNetCore.Mvc.ProblemDetails'. 2025-11-25 10:41:47.7500|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (13ms) [Parameters=[@__Token_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE [u].[Token] = @__Token_0 2025-11-25 10:41:47.7500|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'Microsoft.AspNetCore.Mvc.ProblemDetails'. 2025-11-25 10:41:47.7500|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'Microsoft.AspNetCore.Mvc.ProblemDetails'. 2025-11-25 10:41:47.7500|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.RefreshToken (Authentication) in 57.1685ms 2025-11-25 10:41:47.7500|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.RefreshToken (Authentication) in 58.2394ms 2025-11-25 10:41:47.7500|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.RefreshToken (Authentication) in 55.9488ms 2025-11-25 10:41:47.7620|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.RefreshToken (Authentication) in 49.0047ms 2025-11-25 10:41:47.7620|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.RefreshToken (Authentication) in 49.8918ms 2025-11-25 10:41:47.7620|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 10:41:47.7620|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 10:41:47.7620|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 10:41:47.7620|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 10:41:47.7620|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 10:41:47.7620|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 95.7225ms 401 application/problem+json; charset=utf-8 2025-11-25 10:41:47.7620|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 102.555ms 401 application/problem+json; charset=utf-8 2025-11-25 10:41:47.7781|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 96.5593ms 401 application/problem+json; charset=utf-8 2025-11-25 10:41:47.7781|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 105.0388ms 401 application/problem+json; charset=utf-8 2025-11-25 10:41:47.7781|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 91.5372ms 401 application/problem+json; charset=utf-8 2025-11-25 10:42:00.5954|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignIn 2025-11-25 10:42:00.5954|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 10:42:00.5954|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 4.4331ms 204 2025-11-25 10:42:00.5954|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignIn application/json 60 2025-11-25 10:42:00.6054|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 10:42:00.6054|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.SignIn (Authentication)' 2025-11-25 10:42:00.6054|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "SignIn", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] SignIn(Authentication.Data.Models.Identity.AuthBindingModel) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 10:42:00.6054|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 10:42:00.6373|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (26ms) [Parameters=[@__ToLower_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE LOWER([a].[UserName]) = @__ToLower_0 2025-11-25 10:42:00.6373|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__checkUser_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__checkUser_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) ORDER BY [u].[Id] DESC 2025-11-25 10:42:00.6373|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[NormalizedUserName] = @__normalizedUserName_0 2025-11-25 10:42:00.6373|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[ClaimType], [a].[ClaimValue], [a].[Discriminator], [a].[UserId] FROM [AspNetUserClaims] AS [a] WHERE [a].[Discriminator] IN (N'IdentityUserClaim', N'UserClaim') AND ([a].[UserId] = @__user_Id_0) 2025-11-25 10:42:00.6545|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 10:42:00.6545|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__normalizedName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[InstitutionId], [a].[IsActive], [a].[Name], [a].[NormalizedName], [a].[UpdatedBy], [a].[UserType] FROM [AspNetRoles] AS [a] WHERE [a].[NormalizedName] = @__normalizedName_0 2025-11-25 10:42:00.6545|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__role_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[ClaimType], [a].[ClaimValue] FROM [AspNetRoleClaims] AS [a] WHERE [a].[RoleId] = @__role_Id_0 2025-11-25 10:42:00.6545|10|INFO|Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationHandler|AuthenticationScheme: Identity.Application signed in. 2025-11-25 10:42:00.6545|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[NormalizedUserName] = @__normalizedUserName_0 2025-11-25 10:42:00.6711|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 10:42:00.6711|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [p].[Code] FROM [UserPermissions] AS [u] INNER JOIN [Permissions] AS [p] ON [u].[PermissionId] = [p].[Id] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 10:42:00.6856|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (8ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 10:42:00.6856|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p6='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [UserToken] SET [DateCreated] = @p0, [ExpiryDate] = @p1, [IsActive] = @p2, [SessionExpiryDate] = @p3, [Token] = @p4, [UserId] = @p5 WHERE [Id] = @p6; SELECT @@ROWCOUNT; 2025-11-25 10:42:00.7006|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; INSERT INTO [UserToken] ([DateCreated], [ExpiryDate], [IsActive], [SessionExpiryDate], [Token], [UserId]) VALUES (@p0, @p1, @p2, @p3, @p4, @p5); SELECT [Id] FROM [UserToken] WHERE @@ROWCOUNT = 1 AND [Id] = scope_identity(); 2025-11-25 10:42:00.7006|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 10:42:00.7006||INFO|Authentication.Controllers.AccountController|usersjalloh@MOF role is gotten 2025-11-25 10:42:00.7178|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [u].[Id], [u].[CreatedBy], [u].[DateCreated], [u].[DateUpdated], [u].[IsActive], [u].[IsDeleted], [u].[PermissionId], [u].[RowVersion], [u].[UpdatedBy], [u].[UserId] FROM [UserPermissions] AS [u] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 10:42:00.7178|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 10:42:00.7178|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 10:42:00.7178|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 10:42:00.7318|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 10:42:00.7318||INFO|Authentication.Controllers.AccountController|user sjalloh@MOF is signin but about to call corporate service 2025-11-25 10:42:00.7897|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'AuditTrailUtility.Utility.SaveResponse'. 2025-11-25 10:42:00.7933|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.SignIn (Authentication) in 184.1189ms 2025-11-25 10:42:00.7933|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.SignIn (Authentication)' 2025-11-25 10:42:00.7933|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 193.9446ms 200 application/json; charset=utf-8 2025-11-25 10:42:00.8622|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/Admin/GetAllUsersByCorporateId?corporateId=207 2025-11-25 10:42:00.8622|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 10:42:00.8622|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 5.0693ms 204 2025-11-25 10:42:00.8718|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/Admin/GetAllUsersByCorporateId?corporateId=207 2025-11-25 10:42:00.8718|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 10:42:00.8718|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.GetAllUsersByCorporateId (Authentication)' 2025-11-25 10:42:00.8718|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllUsersByCorporateId", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllUsersByCorporateId(Int64) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 10:42:00.8718|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 10:42:00.8718|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__corporateId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[UserTypeId] = @__corporateId_0 2025-11-25 10:42:00.8895|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[Authentication.Data.Models.Identity.UserBindingModel, Authentication.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2025-11-25 10:42:00.8895|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.GetAllUsersByCorporateId (Authentication) in 12.5562ms 2025-11-25 10:42:00.8895|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.GetAllUsersByCorporateId (Authentication)' 2025-11-25 10:42:00.8895|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 24.8264ms 200 application/json; charset=utf-8 2025-11-25 10:42:24.8469|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/User/ForgotPassword 2025-11-25 10:42:24.8469|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 10:42:24.8534|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6.4692ms 204 2025-11-25 10:42:24.8780|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/User/ForgotPassword application/json 63 2025-11-25 10:42:24.8780|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 10:42:24.8834|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.ForgetPassword (Authentication)' 2025-11-25 10:42:24.8834|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "ForgetPassword", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] ForgetPassword(Authentication.Data.Models.Identity.ForgotPasswordResetBindingModel) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 10:42:24.8834|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 10:42:24.8834|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__model_UserName_0='?' (Size = 256), @__model_UserType_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE ([a].[UserName] = @__model_UserName_0) AND ([a].[UserType] = @__model_UserType_1) 2025-11-25 10:42:24.9016|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[NormalizedUserName] = @__normalizedUserName_0 2025-11-25 10:42:24.9016|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p32='?' (DbType = Int64), @p0='?' (DbType = Int32), @p1='?' (Size = 4000), @p2='?' (DbType = Int64), @p3='?' (Size = 4000), @p33='?' (Size = 4000), @p4='?' (DbType = Int64), @p5='?' (DbType = DateTime2), @p6='?' (DbType = DateTime2), @p7='?' (DbType = DateTime2), @p8='?' (DbType = Int64), @p9='?' (Size = 256), @p10='?' (DbType = Boolean), @p11='?' (Size = 4000), @p12='?' (DbType = Boolean), @p13='?' (DbType = Boolean), @p14='?' (DbType = Boolean), @p15='?' (Size = 4000), @p16='?' (DbType = DateTime2), @p17='?' (DbType = Boolean), @p18='?' (DbType = DateTimeOffset), @p19='?' (Size = 4000), @p20='?' (Size = 4000), @p21='?' (Size = 256), @p22='?' (Size = 256), @p23='?' (Size = 4000), @p24='?' (Size = 4000), @p25='?' (DbType = Boolean), @p34='?' (Size = 8) (DbType = Binary), @p26='?' (Size = 4000), @p27='?' (DbType = Boolean), @p28='?' (DbType = Int64), @p29='?' (Size = 256), @p30='?' (DbType = Int32), @p31='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [AspNetUsers] SET [AccessFailedCount] = @p0, [Address] = @p1, [BranchId] = @p2, [ConcurrencyStamp] = @p3, [CreatedBy] = @p4, [DOB] = @p5, [DateCreated] = @p6, [DateUpdated] = @p7, [DeletedBy] = @p8, [Email] = @p9, [EmailConfirmed] = @p10, [FirstName] = @p11, [IsActive] = @p12, [IsDeleted] = @p13, [IsFirstLogin] = @p14, [LastName] = @p15, [LastPasswordChangeDate] = @p16, [LockoutEnabled] = @p17, [LockoutEnd] = @p18, [MiddleName] = @p19, [MobileNumber] = @p20, [NormalizedEmail] = @p21, [NormalizedUserName] = @p22, [PasswordHash] = @p23, [PhoneNumber] = @p24, [PhoneNumberConfirmed] = @p25, [SecurityStamp] = @p26, [TwoFactorEnabled] = @p27, [UpdatedBy] = @p28, [UserName] = @p29, [UserType] = @p30, [UserTypeId] = @p31 WHERE [Id] = @p32 AND [ConcurrencyStamp] = @p33 AND [RowVersion] = @p34; SELECT [RowVersion] FROM [AspNetUsers] WHERE @@ROWCOUNT = 1 AND [Id] = @p32; 2025-11-25 10:42:24.9016|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[NormalizedUserName] = @__normalizedUserName_0 2025-11-25 10:42:24.9152|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p32='?' (DbType = Int64), @p0='?' (DbType = Int32), @p1='?' (Size = 4000), @p2='?' (DbType = Int64), @p3='?' (Size = 4000), @p33='?' (Size = 4000), @p4='?' (DbType = Int64), @p5='?' (DbType = DateTime2), @p6='?' (DbType = DateTime2), @p7='?' (DbType = DateTime2), @p8='?' (DbType = Int64), @p9='?' (Size = 256), @p10='?' (DbType = Boolean), @p11='?' (Size = 4000), @p12='?' (DbType = Boolean), @p13='?' (DbType = Boolean), @p14='?' (DbType = Boolean), @p15='?' (Size = 4000), @p16='?' (DbType = DateTime2), @p17='?' (DbType = Boolean), @p18='?' (DbType = DateTimeOffset), @p19='?' (Size = 4000), @p20='?' (Size = 4000), @p21='?' (Size = 256), @p22='?' (Size = 256), @p23='?' (Size = 4000), @p24='?' (Size = 4000), @p25='?' (DbType = Boolean), @p34='?' (Size = 8) (DbType = Binary), @p26='?' (Size = 4000), @p27='?' (DbType = Boolean), @p28='?' (DbType = Int64), @p29='?' (Size = 256), @p30='?' (DbType = Int32), @p31='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [AspNetUsers] SET [AccessFailedCount] = @p0, [Address] = @p1, [BranchId] = @p2, [ConcurrencyStamp] = @p3, [CreatedBy] = @p4, [DOB] = @p5, [DateCreated] = @p6, [DateUpdated] = @p7, [DeletedBy] = @p8, [Email] = @p9, [EmailConfirmed] = @p10, [FirstName] = @p11, [IsActive] = @p12, [IsDeleted] = @p13, [IsFirstLogin] = @p14, [LastName] = @p15, [LastPasswordChangeDate] = @p16, [LockoutEnabled] = @p17, [LockoutEnd] = @p18, [MiddleName] = @p19, [MobileNumber] = @p20, [NormalizedEmail] = @p21, [NormalizedUserName] = @p22, [PasswordHash] = @p23, [PhoneNumber] = @p24, [PhoneNumberConfirmed] = @p25, [SecurityStamp] = @p26, [TwoFactorEnabled] = @p27, [UpdatedBy] = @p28, [UserName] = @p29, [UserType] = @p30, [UserTypeId] = @p31 WHERE [Id] = @p32 AND [ConcurrencyStamp] = @p33 AND [RowVersion] = @p34; SELECT [RowVersion] FROM [AspNetUsers] WHERE @@ROWCOUNT = 1 AND [Id] = @p32; 2025-11-25 10:42:25.4177|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'AuditTrailUtility.Utility.SaveResponse'. 2025-11-25 10:42:25.4177|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.ForgetPassword (Authentication) in 531.5993ms 2025-11-25 10:42:25.4177|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.ForgetPassword (Authentication)' 2025-11-25 10:42:25.4177|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 545.9683ms 200 application/json; charset=utf-8 2025-11-25 10:44:22.7535|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignIn 2025-11-25 10:44:22.7535|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 10:44:22.7535|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 4.2148ms 204 2025-11-25 10:44:22.7535|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignIn application/json 58 2025-11-25 10:44:22.7535|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 10:44:22.7692|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.SignIn (Authentication)' 2025-11-25 10:44:22.7692|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "SignIn", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] SignIn(Authentication.Data.Models.Identity.AuthBindingModel) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 10:44:22.7692|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 10:44:22.7692|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__ToLower_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE LOWER([a].[UserName]) = @__ToLower_0 2025-11-25 10:44:22.7852|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (7ms) [Parameters=[@__checkUser_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__checkUser_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) ORDER BY [u].[Id] DESC 2025-11-25 10:44:22.7852|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[NormalizedUserName] = @__normalizedUserName_0 2025-11-25 10:44:22.7852|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[NormalizedUserName] = @__normalizedUserName_0 2025-11-25 10:44:22.8038|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p32='?' (DbType = Int64), @p0='?' (DbType = Int32), @p1='?' (Size = 4000), @p2='?' (DbType = Int64), @p3='?' (Size = 4000), @p33='?' (Size = 4000), @p4='?' (DbType = Int64), @p5='?' (DbType = DateTime2), @p6='?' (DbType = DateTime2), @p7='?' (DbType = DateTime2), @p8='?' (DbType = Int64), @p9='?' (Size = 256), @p10='?' (DbType = Boolean), @p11='?' (Size = 4000), @p12='?' (DbType = Boolean), @p13='?' (DbType = Boolean), @p14='?' (DbType = Boolean), @p15='?' (Size = 4000), @p16='?' (DbType = DateTime2), @p17='?' (DbType = Boolean), @p18='?' (DbType = DateTimeOffset), @p19='?' (Size = 4000), @p20='?' (Size = 4000), @p21='?' (Size = 256), @p22='?' (Size = 256), @p23='?' (Size = 4000), @p24='?' (Size = 4000), @p25='?' (DbType = Boolean), @p34='?' (Size = 8) (DbType = Binary), @p26='?' (Size = 4000), @p27='?' (DbType = Boolean), @p28='?' (DbType = Int64), @p29='?' (Size = 256), @p30='?' (DbType = Int32), @p31='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [AspNetUsers] SET [AccessFailedCount] = @p0, [Address] = @p1, [BranchId] = @p2, [ConcurrencyStamp] = @p3, [CreatedBy] = @p4, [DOB] = @p5, [DateCreated] = @p6, [DateUpdated] = @p7, [DeletedBy] = @p8, [Email] = @p9, [EmailConfirmed] = @p10, [FirstName] = @p11, [IsActive] = @p12, [IsDeleted] = @p13, [IsFirstLogin] = @p14, [LastName] = @p15, [LastPasswordChangeDate] = @p16, [LockoutEnabled] = @p17, [LockoutEnd] = @p18, [MiddleName] = @p19, [MobileNumber] = @p20, [NormalizedEmail] = @p21, [NormalizedUserName] = @p22, [PasswordHash] = @p23, [PhoneNumber] = @p24, [PhoneNumberConfirmed] = @p25, [SecurityStamp] = @p26, [TwoFactorEnabled] = @p27, [UpdatedBy] = @p28, [UserName] = @p29, [UserType] = @p30, [UserTypeId] = @p31 WHERE [Id] = @p32 AND [ConcurrencyStamp] = @p33 AND [RowVersion] = @p34; SELECT [RowVersion] FROM [AspNetUsers] WHERE @@ROWCOUNT = 1 AND [Id] = @p32; 2025-11-25 10:44:22.8038|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[ClaimType], [a].[ClaimValue], [a].[Discriminator], [a].[UserId] FROM [AspNetUserClaims] AS [a] WHERE [a].[Discriminator] IN (N'IdentityUserClaim', N'UserClaim') AND ([a].[UserId] = @__user_Id_0) 2025-11-25 10:44:22.8038|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 10:44:22.8038|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__normalizedName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[InstitutionId], [a].[IsActive], [a].[Name], [a].[NormalizedName], [a].[UpdatedBy], [a].[UserType] FROM [AspNetRoles] AS [a] WHERE [a].[NormalizedName] = @__normalizedName_0 2025-11-25 10:44:22.8176|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__role_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[ClaimType], [a].[ClaimValue] FROM [AspNetRoleClaims] AS [a] WHERE [a].[RoleId] = @__role_Id_0 2025-11-25 10:44:22.8176|10|INFO|Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationHandler|AuthenticationScheme: Identity.Application signed in. 2025-11-25 10:44:22.8176|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[NormalizedUserName] = @__normalizedUserName_0 2025-11-25 10:44:22.8176|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 10:44:22.8176|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [p].[Code] FROM [UserPermissions] AS [u] INNER JOIN [Permissions] AS [p] ON [u].[PermissionId] = [p].[Id] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 10:44:22.8435|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (11ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 10:44:22.8485|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; INSERT INTO [UserToken] ([DateCreated], [ExpiryDate], [IsActive], [SessionExpiryDate], [Token], [UserId]) VALUES (@p0, @p1, @p2, @p3, @p4, @p5); SELECT [Id] FROM [UserToken] WHERE @@ROWCOUNT = 1 AND [Id] = scope_identity(); 2025-11-25 10:44:22.8485|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 10:44:22.8485||INFO|Authentication.Controllers.AccountController|userlcaulker@MOF role is gotten 2025-11-25 10:44:22.8485|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [u].[Id], [u].[CreatedBy], [u].[DateCreated], [u].[DateUpdated], [u].[IsActive], [u].[IsDeleted], [u].[PermissionId], [u].[RowVersion], [u].[UpdatedBy], [u].[UserId] FROM [UserPermissions] AS [u] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 10:44:22.8639|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 10:44:22.8639|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 10:44:22.8639|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 10:44:22.8639|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 10:44:22.8639|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 10:44:22.8639|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 10:44:22.8799|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 10:44:22.8799|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 10:44:22.8799|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 10:44:22.8799||INFO|Authentication.Controllers.AccountController|user lcaulker@MOF is signin but about to call corporate service 2025-11-25 10:44:22.9337|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'AuditTrailUtility.Utility.SaveResponse'. 2025-11-25 10:44:22.9337|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.SignIn (Authentication) in 165.4834ms 2025-11-25 10:44:22.9337|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.SignIn (Authentication)' 2025-11-25 10:44:22.9418|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 175.9708ms 200 application/json; charset=utf-8 2025-11-25 10:44:23.0390|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/Admin/GetAllUsersByCorporateId?corporateId=207 2025-11-25 10:44:23.0390|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 10:44:23.0390|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 5.0595ms 204 2025-11-25 10:44:23.0517|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/Admin/GetAllUsersByCorporateId?corporateId=207 2025-11-25 10:44:23.0517|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 10:44:23.0517|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.GetAllUsersByCorporateId (Authentication)' 2025-11-25 10:44:23.0517|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllUsersByCorporateId", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllUsersByCorporateId(Int64) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 10:44:23.0517|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 10:44:23.0517|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__corporateId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[UserTypeId] = @__corporateId_0 2025-11-25 10:44:23.0681|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[Authentication.Data.Models.Identity.UserBindingModel, Authentication.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2025-11-25 10:44:23.0681|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.GetAllUsersByCorporateId (Authentication) in 9.908ms 2025-11-25 10:44:23.0681|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.GetAllUsersByCorporateId (Authentication)' 2025-11-25 10:44:23.0681|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 25.644ms 200 application/json; charset=utf-8 2025-11-25 10:49:46.5003|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/User/ResetPassword 2025-11-25 10:49:46.5003|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 10:49:46.5003|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 5.502ms 204 2025-11-25 10:49:46.5455|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/User/ResetPassword application/json 85 2025-11-25 10:49:46.5455|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 10:49:46.5455|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.ResetPassword (Authentication)' 2025-11-25 10:49:46.5613|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "ResetPassword", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] ResetPassword(Authentication.Data.Models.Identity.PasswordResetBindingModel) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 10:49:46.5613|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 10:49:46.5958|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__model_UserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[UserName] = @__model_UserName_0 2025-11-25 10:49:46.5958|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[NormalizedUserName] = @__normalizedUserName_0 2025-11-25 10:49:46.6120|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[ClaimType], [a].[ClaimValue], [a].[Discriminator], [a].[UserId] FROM [AspNetUserClaims] AS [a] WHERE [a].[Discriminator] IN (N'IdentityUserClaim', N'UserClaim') AND ([a].[UserId] = @__user_Id_0) 2025-11-25 10:49:46.6120|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 10:49:46.6228|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__normalizedName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[InstitutionId], [a].[IsActive], [a].[Name], [a].[NormalizedName], [a].[UpdatedBy], [a].[UserType] FROM [AspNetRoles] AS [a] WHERE [a].[NormalizedName] = @__normalizedName_0 2025-11-25 10:49:46.6228|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__role_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[ClaimType], [a].[ClaimValue] FROM [AspNetRoleClaims] AS [a] WHERE [a].[RoleId] = @__role_Id_0 2025-11-25 10:49:46.6228|10|INFO|Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationHandler|AuthenticationScheme: Identity.Application signed in. 2025-11-25 10:49:46.6381|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[NormalizedUserName] = @__normalizedUserName_0 2025-11-25 10:49:46.6381|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@p32='?' (DbType = Int64), @p0='?' (DbType = Int32), @p1='?' (Size = 4000), @p2='?' (DbType = Int64), @p3='?' (Size = 4000), @p33='?' (Size = 4000), @p4='?' (DbType = Int64), @p5='?' (DbType = DateTime2), @p6='?' (DbType = DateTime2), @p7='?' (DbType = DateTime2), @p8='?' (DbType = Int64), @p9='?' (Size = 256), @p10='?' (DbType = Boolean), @p11='?' (Size = 4000), @p12='?' (DbType = Boolean), @p13='?' (DbType = Boolean), @p14='?' (DbType = Boolean), @p15='?' (Size = 4000), @p16='?' (DbType = DateTime2), @p17='?' (DbType = Boolean), @p18='?' (DbType = DateTimeOffset), @p19='?' (Size = 4000), @p20='?' (Size = 4000), @p21='?' (Size = 256), @p22='?' (Size = 256), @p23='?' (Size = 4000), @p24='?' (Size = 4000), @p25='?' (DbType = Boolean), @p34='?' (Size = 8) (DbType = Binary), @p26='?' (Size = 4000), @p27='?' (DbType = Boolean), @p28='?' (DbType = Int64), @p29='?' (Size = 256), @p30='?' (DbType = Int32), @p31='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [AspNetUsers] SET [AccessFailedCount] = @p0, [Address] = @p1, [BranchId] = @p2, [ConcurrencyStamp] = @p3, [CreatedBy] = @p4, [DOB] = @p5, [DateCreated] = @p6, [DateUpdated] = @p7, [DeletedBy] = @p8, [Email] = @p9, [EmailConfirmed] = @p10, [FirstName] = @p11, [IsActive] = @p12, [IsDeleted] = @p13, [IsFirstLogin] = @p14, [LastName] = @p15, [LastPasswordChangeDate] = @p16, [LockoutEnabled] = @p17, [LockoutEnd] = @p18, [MiddleName] = @p19, [MobileNumber] = @p20, [NormalizedEmail] = @p21, [NormalizedUserName] = @p22, [PasswordHash] = @p23, [PhoneNumber] = @p24, [PhoneNumberConfirmed] = @p25, [SecurityStamp] = @p26, [TwoFactorEnabled] = @p27, [UpdatedBy] = @p28, [UserName] = @p29, [UserType] = @p30, [UserTypeId] = @p31 WHERE [Id] = @p32 AND [ConcurrencyStamp] = @p33 AND [RowVersion] = @p34; SELECT [RowVersion] FROM [AspNetUsers] WHERE @@ROWCOUNT = 1 AND [Id] = @p32; 2025-11-25 10:49:46.6381|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[NormalizedUserName] = @__normalizedUserName_0 2025-11-25 10:49:46.6612|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (6ms) [Parameters=[@p32='?' (DbType = Int64), @p0='?' (DbType = Int32), @p1='?' (Size = 4000), @p2='?' (DbType = Int64), @p3='?' (Size = 4000), @p33='?' (Size = 4000), @p4='?' (DbType = Int64), @p5='?' (DbType = DateTime2), @p6='?' (DbType = DateTime2), @p7='?' (DbType = DateTime2), @p8='?' (DbType = Int64), @p9='?' (Size = 256), @p10='?' (DbType = Boolean), @p11='?' (Size = 4000), @p12='?' (DbType = Boolean), @p13='?' (DbType = Boolean), @p14='?' (DbType = Boolean), @p15='?' (Size = 4000), @p16='?' (DbType = DateTime2), @p17='?' (DbType = Boolean), @p18='?' (DbType = DateTimeOffset), @p19='?' (Size = 4000), @p20='?' (Size = 4000), @p21='?' (Size = 256), @p22='?' (Size = 256), @p23='?' (Size = 4000), @p24='?' (Size = 4000), @p25='?' (DbType = Boolean), @p34='?' (Size = 8) (DbType = Binary), @p26='?' (Size = 4000), @p27='?' (DbType = Boolean), @p28='?' (DbType = Int64), @p29='?' (Size = 256), @p30='?' (DbType = Int32), @p31='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [AspNetUsers] SET [AccessFailedCount] = @p0, [Address] = @p1, [BranchId] = @p2, [ConcurrencyStamp] = @p3, [CreatedBy] = @p4, [DOB] = @p5, [DateCreated] = @p6, [DateUpdated] = @p7, [DeletedBy] = @p8, [Email] = @p9, [EmailConfirmed] = @p10, [FirstName] = @p11, [IsActive] = @p12, [IsDeleted] = @p13, [IsFirstLogin] = @p14, [LastName] = @p15, [LastPasswordChangeDate] = @p16, [LockoutEnabled] = @p17, [LockoutEnd] = @p18, [MiddleName] = @p19, [MobileNumber] = @p20, [NormalizedEmail] = @p21, [NormalizedUserName] = @p22, [PasswordHash] = @p23, [PhoneNumber] = @p24, [PhoneNumberConfirmed] = @p25, [SecurityStamp] = @p26, [TwoFactorEnabled] = @p27, [UpdatedBy] = @p28, [UserName] = @p29, [UserType] = @p30, [UserTypeId] = @p31 WHERE [Id] = @p32 AND [ConcurrencyStamp] = @p33 AND [RowVersion] = @p34; SELECT [RowVersion] FROM [AspNetUsers] WHERE @@ROWCOUNT = 1 AND [Id] = @p32; 2025-11-25 10:49:46.6819|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (14ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 10:49:46.6884|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p6='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [UserToken] SET [DateCreated] = @p0, [ExpiryDate] = @p1, [IsActive] = @p2, [SessionExpiryDate] = @p3, [Token] = @p4, [UserId] = @p5 WHERE [Id] = @p6; SELECT @@ROWCOUNT; 2025-11-25 10:49:47.9430|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'AuditTrailUtility.Utility.SaveResponse'. 2025-11-25 10:49:47.9430|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.ResetPassword (Authentication) in 1383.8426ms 2025-11-25 10:49:47.9430|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.ResetPassword (Authentication)' 2025-11-25 10:49:47.9509|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1405.4521ms 200 application/json; charset=utf-8 2025-11-25 10:49:59.3202|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignIn 2025-11-25 10:49:59.3202|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 10:49:59.3202|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 5.9663ms 204 2025-11-25 10:49:59.3358|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignIn application/json 61 2025-11-25 10:49:59.3358|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 10:49:59.3358|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.SignIn (Authentication)' 2025-11-25 10:49:59.3358|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "SignIn", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] SignIn(Authentication.Data.Models.Identity.AuthBindingModel) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 10:49:59.3473|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 10:49:59.3473|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (5ms) [Parameters=[@__ToLower_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE LOWER([a].[UserName]) = @__ToLower_0 2025-11-25 10:49:59.3473|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__checkUser_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__checkUser_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) ORDER BY [u].[Id] DESC 2025-11-25 10:49:59.3634|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[NormalizedUserName] = @__normalizedUserName_0 2025-11-25 10:49:59.3634|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[ClaimType], [a].[ClaimValue], [a].[Discriminator], [a].[UserId] FROM [AspNetUserClaims] AS [a] WHERE [a].[Discriminator] IN (N'IdentityUserClaim', N'UserClaim') AND ([a].[UserId] = @__user_Id_0) 2025-11-25 10:49:59.3634|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 10:49:59.3801|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__normalizedName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[InstitutionId], [a].[IsActive], [a].[Name], [a].[NormalizedName], [a].[UpdatedBy], [a].[UserType] FROM [AspNetRoles] AS [a] WHERE [a].[NormalizedName] = @__normalizedName_0 2025-11-25 10:49:59.3801|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__role_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[ClaimType], [a].[ClaimValue] FROM [AspNetRoleClaims] AS [a] WHERE [a].[RoleId] = @__role_Id_0 2025-11-25 10:49:59.3801|10|INFO|Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationHandler|AuthenticationScheme: Identity.Application signed in. 2025-11-25 10:49:59.3801|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (3ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[NormalizedUserName] = @__normalizedUserName_0 2025-11-25 10:49:59.3966|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 10:49:59.3966|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [p].[Code] FROM [UserPermissions] AS [u] INNER JOIN [Permissions] AS [p] ON [u].[PermissionId] = [p].[Id] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 10:49:59.4135|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (8ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 10:49:59.4135|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p6='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [UserToken] SET [DateCreated] = @p0, [ExpiryDate] = @p1, [IsActive] = @p2, [SessionExpiryDate] = @p3, [Token] = @p4, [UserId] = @p5 WHERE [Id] = @p6; SELECT @@ROWCOUNT; 2025-11-25 10:49:59.4283|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; INSERT INTO [UserToken] ([DateCreated], [ExpiryDate], [IsActive], [SessionExpiryDate], [Token], [UserId]) VALUES (@p0, @p1, @p2, @p3, @p4, @p5); SELECT [Id] FROM [UserToken] WHERE @@ROWCOUNT = 1 AND [Id] = scope_identity(); 2025-11-25 10:49:59.4283|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 10:49:59.4283||INFO|Authentication.Controllers.AccountController|userabbangura@AGD role is gotten 2025-11-25 10:49:59.4453|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [u].[Id], [u].[CreatedBy], [u].[DateCreated], [u].[DateUpdated], [u].[IsActive], [u].[IsDeleted], [u].[PermissionId], [u].[RowVersion], [u].[UpdatedBy], [u].[UserId] FROM [UserPermissions] AS [u] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 10:49:59.4453|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 10:49:59.4453|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 10:49:59.4453|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 10:49:59.4554|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 10:49:59.4554|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 10:49:59.4554|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 10:49:59.4554||INFO|Authentication.Controllers.AccountController|user abbangura@AGD is signin but about to call corporate service 2025-11-25 10:49:59.5137|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'AuditTrailUtility.Utility.SaveResponse'. 2025-11-25 10:49:59.5137|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.SignIn (Authentication) in 170.6941ms 2025-11-25 10:49:59.5198|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.SignIn (Authentication)' 2025-11-25 10:49:59.5198|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 185.0032ms 200 application/json; charset=utf-8 2025-11-25 10:49:59.6148|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/Admin/GetAllUsersByCorporateId?corporateId=208 2025-11-25 10:49:59.6148|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 10:49:59.6148|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6.4332ms 204 2025-11-25 10:49:59.6364|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/Admin/GetAllUsersByCorporateId?corporateId=208 2025-11-25 10:49:59.6364|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 10:49:59.6364|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.GetAllUsersByCorporateId (Authentication)' 2025-11-25 10:49:59.6434|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllUsersByCorporateId", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllUsersByCorporateId(Int64) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 10:49:59.6434|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 10:49:59.6434|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__corporateId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[UserTypeId] = @__corporateId_0 2025-11-25 10:49:59.6434|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[Authentication.Data.Models.Identity.UserBindingModel, Authentication.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2025-11-25 10:49:59.6434|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.GetAllUsersByCorporateId (Authentication) in 12.8354ms 2025-11-25 10:49:59.6597|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.GetAllUsersByCorporateId (Authentication)' 2025-11-25 10:49:59.6597|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 24.3682ms 200 application/json; charset=utf-8 2025-11-25 10:50:29.4315|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignIn 2025-11-25 10:50:29.4315|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 10:50:29.4315|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 3.3542ms 204 2025-11-25 10:50:30.1417|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignIn application/json 60 2025-11-25 10:50:30.1447|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 10:50:30.1447|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.SignIn (Authentication)' 2025-11-25 10:50:30.1447|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "SignIn", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] SignIn(Authentication.Data.Models.Identity.AuthBindingModel) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 10:50:30.1447|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 10:50:30.1447|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (3ms) [Parameters=[@__ToLower_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE LOWER([a].[UserName]) = @__ToLower_0 2025-11-25 10:50:30.1638|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (9ms) [Parameters=[@__checkUser_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__checkUser_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) ORDER BY [u].[Id] DESC 2025-11-25 10:50:30.1638|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[NormalizedUserName] = @__normalizedUserName_0 2025-11-25 10:50:30.1638|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[ClaimType], [a].[ClaimValue], [a].[Discriminator], [a].[UserId] FROM [AspNetUserClaims] AS [a] WHERE [a].[Discriminator] IN (N'IdentityUserClaim', N'UserClaim') AND ([a].[UserId] = @__user_Id_0) 2025-11-25 10:50:30.1800|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 10:50:30.1800|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__normalizedName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[InstitutionId], [a].[IsActive], [a].[Name], [a].[NormalizedName], [a].[UpdatedBy], [a].[UserType] FROM [AspNetRoles] AS [a] WHERE [a].[NormalizedName] = @__normalizedName_0 2025-11-25 10:50:30.1800|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__role_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[ClaimType], [a].[ClaimValue] FROM [AspNetRoleClaims] AS [a] WHERE [a].[RoleId] = @__role_Id_0 2025-11-25 10:50:30.1800|10|INFO|Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationHandler|AuthenticationScheme: Identity.Application signed in. 2025-11-25 10:50:30.1919|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[NormalizedUserName] = @__normalizedUserName_0 2025-11-25 10:50:30.1919|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 10:50:30.1919|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [p].[Code] FROM [UserPermissions] AS [u] INNER JOIN [Permissions] AS [p] ON [u].[PermissionId] = [p].[Id] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 10:50:30.2213|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (13ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 10:50:30.2213|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; INSERT INTO [UserToken] ([DateCreated], [ExpiryDate], [IsActive], [SessionExpiryDate], [Token], [UserId]) VALUES (@p0, @p1, @p2, @p3, @p4, @p5); SELECT [Id] FROM [UserToken] WHERE @@ROWCOUNT = 1 AND [Id] = scope_identity(); 2025-11-25 10:50:30.2213|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 10:50:30.2213||INFO|Authentication.Controllers.AccountController|userlcaulker@MOF role is gotten 2025-11-25 10:50:30.2367|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [u].[Id], [u].[CreatedBy], [u].[DateCreated], [u].[DateUpdated], [u].[IsActive], [u].[IsDeleted], [u].[PermissionId], [u].[RowVersion], [u].[UpdatedBy], [u].[UserId] FROM [UserPermissions] AS [u] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 10:50:30.2367|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 10:50:30.2367|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 10:50:30.2367|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 10:50:30.2367|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 10:50:30.2367|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 10:50:30.2367|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 10:50:30.2547|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 10:50:30.2547|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 10:50:30.2547|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 10:50:30.2547||INFO|Authentication.Controllers.AccountController|user lcaulker@MOF is signin but about to call corporate service 2025-11-25 10:50:30.3013|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'AuditTrailUtility.Utility.SaveResponse'. 2025-11-25 10:50:30.3013|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.SignIn (Authentication) in 155.6801ms 2025-11-25 10:50:30.3013|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.SignIn (Authentication)' 2025-11-25 10:50:30.3013|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 163.1193ms 200 application/json; charset=utf-8 2025-11-25 10:50:30.6034|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/Admin/GetAllUsersByCorporateId?corporateId=207 2025-11-25 10:50:30.6034|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 10:50:30.6034|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 5.6184ms 204 2025-11-25 10:50:30.6838|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/Admin/GetAllUsersByCorporateId?corporateId=207 2025-11-25 10:50:30.6838|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 10:50:30.6838|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.GetAllUsersByCorporateId (Authentication)' 2025-11-25 10:50:30.6904|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllUsersByCorporateId", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllUsersByCorporateId(Int64) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 10:50:30.6904|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 10:50:30.6904|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__corporateId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[UserTypeId] = @__corporateId_0 2025-11-25 10:50:30.6904|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[Authentication.Data.Models.Identity.UserBindingModel, Authentication.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2025-11-25 10:50:30.6904|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.GetAllUsersByCorporateId (Authentication) in 11.2256ms 2025-11-25 10:50:30.7054|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.GetAllUsersByCorporateId (Authentication)' 2025-11-25 10:50:30.7054|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 23.9086ms 200 application/json; charset=utf-8 2025-11-25 10:53:04.7994|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignOut/545 2025-11-25 10:53:04.7994|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 10:53:04.7994|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 4.6228ms 204 2025-11-25 10:53:04.8144|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignOut/545 2025-11-25 10:53:04.8144|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 10:53:04.8144|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.SignOut (Authentication)' 2025-11-25 10:53:04.8215|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "SignOut", controller = "Account"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult SignOut(Int64) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 10:53:04.8215|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 10:53:04.8393|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (12ms) [Parameters=[@__UserId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__UserId_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 10:53:04.8393|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p6='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [UserToken] SET [DateCreated] = @p0, [ExpiryDate] = @p1, [IsActive] = @p2, [SessionExpiryDate] = @p3, [Token] = @p4, [UserId] = @p5 WHERE [Id] = @p6; SELECT @@ROWCOUNT; 2025-11-25 10:53:04.8393|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'AuditTrailUtility.Utility.SaveResponse'. 2025-11-25 10:53:04.8523|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.SignOut (Authentication) in 28.6947ms 2025-11-25 10:53:04.8523|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.SignOut (Authentication)' 2025-11-25 10:53:04.8523|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 41.718ms 200 application/json; charset=utf-8 2025-11-25 11:04:51.4046|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=Dmprqxd0XvI3YHCDpatg1YsrPwz/kXDuw6SOZO6QPoA= 2025-11-25 11:04:51.4046|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=Dmprqxd0XvI3YHCDpatg1YsrPwz/kXDuw6SOZO6QPoA= 2025-11-25 11:04:51.4046|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 11:04:51.4046|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 11:04:51.4104|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 5.8443ms 204 2025-11-25 11:04:51.4104|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 7.2302ms 204 2025-11-25 11:04:51.4104|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=Dmprqxd0XvI3YHCDpatg1YsrPwz/kXDuw6SOZO6QPoA= 0 2025-11-25 11:04:51.4104|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=Dmprqxd0XvI3YHCDpatg1YsrPwz/kXDuw6SOZO6QPoA= 0 2025-11-25 11:04:51.4104|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 11:04:51.4104|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 11:04:51.4104|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 11:04:51.4104|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 11:04:51.4104|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "RefreshToken", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] RefreshToken(System.String) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 11:04:51.4104|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "RefreshToken", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] RefreshToken(System.String) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 11:04:51.4104|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 11:04:51.4251|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 11:04:51.4251|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=Dmprqxd0XvI3YHCDpatg1YsrPwz/kXDuw6SOZO6QPoA= 0 2025-11-25 11:04:51.4251|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=Dmprqxd0XvI3YHCDpatg1YsrPwz/kXDuw6SOZO6QPoA= 0 2025-11-25 11:04:51.4251|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=Dmprqxd0XvI3YHCDpatg1YsrPwz/kXDuw6SOZO6QPoA= 0 2025-11-25 11:04:51.4251|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 11:04:51.4251|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 11:04:51.4251|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 11:04:51.4251|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 11:04:51.4251|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 11:04:51.4251|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 11:04:51.4251|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "RefreshToken", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] RefreshToken(System.String) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 11:04:51.4251|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "RefreshToken", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] RefreshToken(System.String) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 11:04:51.4251|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "RefreshToken", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] RefreshToken(System.String) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 11:04:51.4251|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 11:04:51.4251|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 11:04:51.4409|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 11:04:51.4409|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (12ms) [Parameters=[@__Token_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE [u].[Token] = @__Token_0 2025-11-25 11:04:51.4574|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (16ms) [Parameters=[@__Token_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE [u].[Token] = @__Token_0 2025-11-25 11:04:51.4574|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (12ms) [Parameters=[@__Token_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE [u].[Token] = @__Token_0 2025-11-25 11:04:51.4574|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (14ms) [Parameters=[@__Token_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE [u].[Token] = @__Token_0 2025-11-25 11:04:51.4574|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__p_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[Id] = @__p_0 2025-11-25 11:04:51.4574|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__p_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[Id] = @__p_0 2025-11-25 11:04:51.4722|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (3ms) [Parameters=[@__p_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[Id] = @__p_0 2025-11-25 11:04:51.4722|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (17ms) [Parameters=[@__Token_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE [u].[Token] = @__Token_0 2025-11-25 11:04:51.4722|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 11:04:51.4722|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__p_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[Id] = @__p_0 2025-11-25 11:04:51.4722|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 11:04:51.4722|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 11:04:51.4722|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__p_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[Id] = @__p_0 2025-11-25 11:04:51.4722|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [p].[Code] FROM [UserPermissions] AS [u] INNER JOIN [Permissions] AS [p] ON [u].[PermissionId] = [p].[Id] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 11:04:51.4722|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 11:04:51.4722|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [p].[Code] FROM [UserPermissions] AS [u] INNER JOIN [Permissions] AS [p] ON [u].[PermissionId] = [p].[Id] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 11:04:51.4722|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [p].[Code] FROM [UserPermissions] AS [u] INNER JOIN [Permissions] AS [p] ON [u].[PermissionId] = [p].[Id] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 11:04:51.4722|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 11:04:51.4894|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [p].[Code] FROM [UserPermissions] AS [u] INNER JOIN [Permissions] AS [p] ON [u].[PermissionId] = [p].[Id] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 11:04:51.4894|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [p].[Code] FROM [UserPermissions] AS [u] INNER JOIN [Permissions] AS [p] ON [u].[PermissionId] = [p].[Id] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 11:04:51.4894|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (6ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 11:04:51.4894|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (11ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 11:04:51.4894|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (9ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 11:04:51.4894|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p6='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [UserToken] SET [DateCreated] = @p0, [ExpiryDate] = @p1, [IsActive] = @p2, [SessionExpiryDate] = @p3, [Token] = @p4, [UserId] = @p5 WHERE [Id] = @p6; SELECT @@ROWCOUNT; 2025-11-25 11:04:51.5042|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (11ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 11:04:51.5042|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@p6='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [UserToken] SET [DateCreated] = @p0, [ExpiryDate] = @p1, [IsActive] = @p2, [SessionExpiryDate] = @p3, [Token] = @p4, [UserId] = @p5 WHERE [Id] = @p6; SELECT @@ROWCOUNT; 2025-11-25 11:04:51.5042|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (11ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 11:04:51.5042|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (5ms) [Parameters=[@p6='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [UserToken] SET [DateCreated] = @p0, [ExpiryDate] = @p1, [IsActive] = @p2, [SessionExpiryDate] = @p3, [Token] = @p4, [UserId] = @p5 WHERE [Id] = @p6; SELECT @@ROWCOUNT; 2025-11-25 11:04:51.5042|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; INSERT INTO [UserToken] ([DateCreated], [ExpiryDate], [IsActive], [SessionExpiryDate], [Token], [UserId]) VALUES (@p0, @p1, @p2, @p3, @p4, @p5); SELECT [Id] FROM [UserToken] WHERE @@ROWCOUNT = 1 AND [Id] = scope_identity(); 2025-11-25 11:04:51.5042|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; INSERT INTO [UserToken] ([DateCreated], [ExpiryDate], [IsActive], [SessionExpiryDate], [Token], [UserId]) VALUES (@p0, @p1, @p2, @p3, @p4, @p5); SELECT [Id] FROM [UserToken] WHERE @@ROWCOUNT = 1 AND [Id] = scope_identity(); 2025-11-25 11:04:51.5042|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (5ms) [Parameters=[@p6='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [UserToken] SET [DateCreated] = @p0, [ExpiryDate] = @p1, [IsActive] = @p2, [SessionExpiryDate] = @p3, [Token] = @p4, [UserId] = @p5 WHERE [Id] = @p6; SELECT @@ROWCOUNT; 2025-11-25 11:04:51.5042|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; INSERT INTO [UserToken] ([DateCreated], [ExpiryDate], [IsActive], [SessionExpiryDate], [Token], [UserId]) VALUES (@p0, @p1, @p2, @p3, @p4, @p5); SELECT [Id] FROM [UserToken] WHERE @@ROWCOUNT = 1 AND [Id] = scope_identity(); 2025-11-25 11:04:51.5042|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'Authentication.Data.Models.TokenResponse'. 2025-11-25 11:04:51.5042|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'Authentication.Data.Models.TokenResponse'. 2025-11-25 11:04:51.5042|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (6ms) [Parameters=[@p6='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [UserToken] SET [DateCreated] = @p0, [ExpiryDate] = @p1, [IsActive] = @p2, [SessionExpiryDate] = @p3, [Token] = @p4, [UserId] = @p5 WHERE [Id] = @p6; SELECT @@ROWCOUNT; 2025-11-25 11:04:51.5042|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'Authentication.Data.Models.TokenResponse'. 2025-11-25 11:04:51.5042|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; INSERT INTO [UserToken] ([DateCreated], [ExpiryDate], [IsActive], [SessionExpiryDate], [Token], [UserId]) VALUES (@p0, @p1, @p2, @p3, @p4, @p5); SELECT [Id] FROM [UserToken] WHERE @@ROWCOUNT = 1 AND [Id] = scope_identity(); 2025-11-25 11:04:51.5194|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.RefreshToken (Authentication) in 94.5637ms 2025-11-25 11:04:51.5194|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.RefreshToken (Authentication) in 80.6422ms 2025-11-25 11:04:51.5194|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.RefreshToken (Authentication) in 97.615ms 2025-11-25 11:04:51.5194|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; INSERT INTO [UserToken] ([DateCreated], [ExpiryDate], [IsActive], [SessionExpiryDate], [Token], [UserId]) VALUES (@p0, @p1, @p2, @p3, @p4, @p5); SELECT [Id] FROM [UserToken] WHERE @@ROWCOUNT = 1 AND [Id] = scope_identity(); 2025-11-25 11:04:51.5194|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 11:04:51.5194|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'Authentication.Data.Models.TokenResponse'. 2025-11-25 11:04:51.5194|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 11:04:51.5194|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 11:04:51.5194|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 112.3242ms 200 application/json; charset=utf-8 2025-11-25 11:04:51.5194|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'Authentication.Data.Models.TokenResponse'. 2025-11-25 11:04:51.5194|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.RefreshToken (Authentication) in 89.0069ms 2025-11-25 11:04:51.5194|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 101.9534ms 200 application/json; charset=utf-8 2025-11-25 11:04:51.5194|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 116.242ms 200 application/json; charset=utf-8 2025-11-25 11:04:51.5194|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.RefreshToken (Authentication) in 92.6272ms 2025-11-25 11:04:51.5345|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 11:04:51.5345|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 115.7566ms 200 application/json; charset=utf-8 2025-11-25 11:04:51.5345|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 11:04:51.5520|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 123.8022ms 200 application/json; charset=utf-8 2025-11-25 11:12:38.4028|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=gNxB2Zfp6l/xMs8fUB1zUExAmVYdXjXKS++CXwBh7cg= 2025-11-25 11:12:38.4050|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 11:12:38.4050|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 4.36ms 204 2025-11-25 11:12:38.4050|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=gNxB2Zfp6l/xMs8fUB1zUExAmVYdXjXKS++CXwBh7cg= 0 2025-11-25 11:12:38.4050|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 11:12:38.4050|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 11:12:38.4050|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "RefreshToken", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] RefreshToken(System.String) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 11:12:38.4208|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 11:12:38.4453|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (14ms) [Parameters=[@__Token_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE [u].[Token] = @__Token_0 2025-11-25 11:12:38.4453|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'Microsoft.AspNetCore.Mvc.ProblemDetails'. 2025-11-25 11:12:38.4519|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.RefreshToken (Authentication) in 31.9203ms 2025-11-25 11:12:38.4519|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 11:12:38.4519|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 42.4371ms 401 application/problem+json; charset=utf-8 2025-11-25 11:12:52.4390|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignIn 2025-11-25 11:12:52.4390|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 11:12:52.4390|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6.0123ms 204 2025-11-25 11:12:52.4745|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignIn application/json 60 2025-11-25 11:12:52.4745|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 11:12:52.4745|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.SignIn (Authentication)' 2025-11-25 11:12:52.4834|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "SignIn", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] SignIn(Authentication.Data.Models.Identity.AuthBindingModel) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 11:12:52.4834|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 11:12:52.4834|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__ToLower_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE LOWER([a].[UserName]) = @__ToLower_0 2025-11-25 11:12:52.4834|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__checkUser_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__checkUser_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) ORDER BY [u].[Id] DESC 2025-11-25 11:12:52.5034|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (5ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[NormalizedUserName] = @__normalizedUserName_0 2025-11-25 11:12:52.5034|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[ClaimType], [a].[ClaimValue], [a].[Discriminator], [a].[UserId] FROM [AspNetUserClaims] AS [a] WHERE [a].[Discriminator] IN (N'IdentityUserClaim', N'UserClaim') AND ([a].[UserId] = @__user_Id_0) 2025-11-25 11:12:52.5166|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 11:12:52.5166|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__normalizedName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[InstitutionId], [a].[IsActive], [a].[Name], [a].[NormalizedName], [a].[UpdatedBy], [a].[UserType] FROM [AspNetRoles] AS [a] WHERE [a].[NormalizedName] = @__normalizedName_0 2025-11-25 11:12:52.5166|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__role_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[ClaimType], [a].[ClaimValue] FROM [AspNetRoleClaims] AS [a] WHERE [a].[RoleId] = @__role_Id_0 2025-11-25 11:12:52.5166|10|INFO|Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationHandler|AuthenticationScheme: Identity.Application signed in. 2025-11-25 11:12:52.5166|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[NormalizedUserName] = @__normalizedUserName_0 2025-11-25 11:12:52.5486|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 11:12:52.5486|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [p].[Code] FROM [UserPermissions] AS [u] INNER JOIN [Permissions] AS [p] ON [u].[PermissionId] = [p].[Id] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 11:12:52.5675|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (11ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 11:12:52.5675|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p6='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [UserToken] SET [DateCreated] = @p0, [ExpiryDate] = @p1, [IsActive] = @p2, [SessionExpiryDate] = @p3, [Token] = @p4, [UserId] = @p5 WHERE [Id] = @p6; SELECT @@ROWCOUNT; 2025-11-25 11:12:52.5804|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; INSERT INTO [UserToken] ([DateCreated], [ExpiryDate], [IsActive], [SessionExpiryDate], [Token], [UserId]) VALUES (@p0, @p1, @p2, @p3, @p4, @p5); SELECT [Id] FROM [UserToken] WHERE @@ROWCOUNT = 1 AND [Id] = scope_identity(); 2025-11-25 11:12:52.5804|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 11:12:52.5804||INFO|Authentication.Controllers.AccountController|userlcaulker@MOF role is gotten 2025-11-25 11:12:52.5958|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [u].[Id], [u].[CreatedBy], [u].[DateCreated], [u].[DateUpdated], [u].[IsActive], [u].[IsDeleted], [u].[PermissionId], [u].[RowVersion], [u].[UpdatedBy], [u].[UserId] FROM [UserPermissions] AS [u] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 11:12:52.5958|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 11:12:52.5958|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 11:12:52.6090|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 11:12:52.6090|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 11:12:52.6090|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 11:12:52.6090|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 11:12:52.6090|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 11:12:52.6090|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 11:12:52.6253|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 11:12:52.6253||INFO|Authentication.Controllers.AccountController|user lcaulker@MOF is signin but about to call corporate service 2025-11-25 11:12:52.6939|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'AuditTrailUtility.Utility.SaveResponse'. 2025-11-25 11:12:52.6939|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.SignIn (Authentication) in 211.1138ms 2025-11-25 11:12:52.6939|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.SignIn (Authentication)' 2025-11-25 11:12:52.6939|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 225.7185ms 200 application/json; charset=utf-8 2025-11-25 11:12:52.7983|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/Admin/GetAllUsersByCorporateId?corporateId=207 2025-11-25 11:12:52.7983|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 11:12:52.7983|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 4.648ms 204 2025-11-25 11:12:52.8114|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/Admin/GetAllUsersByCorporateId?corporateId=207 2025-11-25 11:12:52.8114|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 11:12:52.8114|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.GetAllUsersByCorporateId (Authentication)' 2025-11-25 11:12:52.8114|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllUsersByCorporateId", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllUsersByCorporateId(Int64) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 11:12:52.8114|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 11:12:52.8268|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__corporateId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[UserTypeId] = @__corporateId_0 2025-11-25 11:12:52.8268|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[Authentication.Data.Models.Identity.UserBindingModel, Authentication.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2025-11-25 11:12:52.8268|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.GetAllUsersByCorporateId (Authentication) in 17.293ms 2025-11-25 11:12:52.8431|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.GetAllUsersByCorporateId (Authentication)' 2025-11-25 11:12:52.8431|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 34.4778ms 200 application/json; charset=utf-8 2025-11-25 11:14:47.0077|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignIn 2025-11-25 11:14:47.0077|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 11:14:47.0077|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 4.0932ms 204 2025-11-25 11:14:47.0202|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignIn application/json 59 2025-11-25 11:14:47.0202|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 11:14:47.0202|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.SignIn (Authentication)' 2025-11-25 11:14:47.0202|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "SignIn", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] SignIn(Authentication.Data.Models.Identity.AuthBindingModel) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 11:14:47.0202|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 11:14:47.0202|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (3ms) [Parameters=[@__ToLower_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE LOWER([a].[UserName]) = @__ToLower_0 2025-11-25 11:14:47.0478|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (12ms) [Parameters=[@__checkUser_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__checkUser_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) ORDER BY [u].[Id] DESC 2025-11-25 11:14:47.0532|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[NormalizedUserName] = @__normalizedUserName_0 2025-11-25 11:14:47.0670|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[ClaimType], [a].[ClaimValue], [a].[Discriminator], [a].[UserId] FROM [AspNetUserClaims] AS [a] WHERE [a].[Discriminator] IN (N'IdentityUserClaim', N'UserClaim') AND ([a].[UserId] = @__user_Id_0) 2025-11-25 11:14:47.0670|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 11:14:47.0670|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__normalizedName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[InstitutionId], [a].[IsActive], [a].[Name], [a].[NormalizedName], [a].[UpdatedBy], [a].[UserType] FROM [AspNetRoles] AS [a] WHERE [a].[NormalizedName] = @__normalizedName_0 2025-11-25 11:14:47.0670|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__role_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[ClaimType], [a].[ClaimValue] FROM [AspNetRoleClaims] AS [a] WHERE [a].[RoleId] = @__role_Id_0 2025-11-25 11:14:47.0670|10|INFO|Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationHandler|AuthenticationScheme: Identity.Application signed in. 2025-11-25 11:14:47.0827|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[NormalizedUserName] = @__normalizedUserName_0 2025-11-25 11:14:47.0827|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 11:14:47.0827|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [p].[Code] FROM [UserPermissions] AS [u] INNER JOIN [Permissions] AS [p] ON [u].[PermissionId] = [p].[Id] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 11:14:47.0996|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (7ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 11:14:47.0996|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; INSERT INTO [UserToken] ([DateCreated], [ExpiryDate], [IsActive], [SessionExpiryDate], [Token], [UserId]) VALUES (@p0, @p1, @p2, @p3, @p4, @p5); SELECT [Id] FROM [UserToken] WHERE @@ROWCOUNT = 1 AND [Id] = scope_identity(); 2025-11-25 11:14:47.0996|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 11:14:47.0996||INFO|Authentication.Controllers.AccountController|userrcoker@MOF role is gotten 2025-11-25 11:14:47.1210|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [u].[Id], [u].[CreatedBy], [u].[DateCreated], [u].[DateUpdated], [u].[IsActive], [u].[IsDeleted], [u].[PermissionId], [u].[RowVersion], [u].[UpdatedBy], [u].[UserId] FROM [UserPermissions] AS [u] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 11:14:47.1210|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 11:14:47.1210|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 11:14:47.1323|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 11:14:47.1323|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 11:14:47.1323|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 11:14:47.1323|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 11:14:47.1323|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 11:14:47.1323|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 11:14:47.1475|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 11:14:47.1475|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 11:14:47.1475||INFO|Authentication.Controllers.AccountController|user rcoker@MOF is signin but about to call corporate service 2025-11-25 11:14:47.1994|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'AuditTrailUtility.Utility.SaveResponse'. 2025-11-25 11:14:47.1994|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.SignIn (Authentication) in 175.9594ms 2025-11-25 11:14:47.1994|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.SignIn (Authentication)' 2025-11-25 11:14:47.1994|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 186.7868ms 200 application/json; charset=utf-8 2025-11-25 11:14:47.3239|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/Admin/GetAllUsersByCorporateId?corporateId=207 2025-11-25 11:14:47.3239|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 11:14:47.3239|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6.3926ms 204 2025-11-25 11:14:47.3389|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/Admin/GetAllUsersByCorporateId?corporateId=207 2025-11-25 11:14:47.3389|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 11:14:47.3389|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.GetAllUsersByCorporateId (Authentication)' 2025-11-25 11:14:47.3389|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllUsersByCorporateId", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllUsersByCorporateId(Int64) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 11:14:47.3389|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 11:14:47.3514|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__corporateId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[UserTypeId] = @__corporateId_0 2025-11-25 11:14:47.3514|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[Authentication.Data.Models.Identity.UserBindingModel, Authentication.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2025-11-25 11:14:47.3514|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.GetAllUsersByCorporateId (Authentication) in 10.5601ms 2025-11-25 11:14:47.3514|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.GetAllUsersByCorporateId (Authentication)' 2025-11-25 11:14:47.3514|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 20.9086ms 200 application/json; charset=utf-8 2025-11-25 11:15:42.9750|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignOut/492 2025-11-25 11:15:42.9750|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 11:15:42.9750|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 4.1682ms 204 2025-11-25 11:15:42.9750|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignOut/492 2025-11-25 11:15:42.9750|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 11:15:42.9909|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.SignOut (Authentication)' 2025-11-25 11:15:42.9909|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "SignOut", controller = "Account"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult SignOut(Int64) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 11:15:42.9909|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 11:15:43.0079|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (12ms) [Parameters=[@__UserId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__UserId_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 11:15:43.0079|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p6='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [UserToken] SET [DateCreated] = @p0, [ExpiryDate] = @p1, [IsActive] = @p2, [SessionExpiryDate] = @p3, [Token] = @p4, [UserId] = @p5 WHERE [Id] = @p6; SELECT @@ROWCOUNT; 2025-11-25 11:15:43.0079|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'AuditTrailUtility.Utility.SaveResponse'. 2025-11-25 11:15:43.0079|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.SignOut (Authentication) in 23.7074ms 2025-11-25 11:15:43.0079|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.SignOut (Authentication)' 2025-11-25 11:15:43.0079|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 33.8764ms 200 application/json; charset=utf-8 2025-11-25 11:18:04.6913|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignIn 2025-11-25 11:18:04.6913|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 11:18:04.6913|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 4.4519ms 204 2025-11-25 11:18:04.6913|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignIn application/json 64 2025-11-25 11:18:04.7054|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 11:18:04.7054|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.SignIn (Authentication)' 2025-11-25 11:18:04.7054|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "SignIn", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] SignIn(Authentication.Data.Models.Identity.AuthBindingModel) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 11:18:04.7054|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 11:18:04.7054|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__ToLower_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE LOWER([a].[UserName]) = @__ToLower_0 2025-11-25 11:18:04.7206|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__checkUser_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__checkUser_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) ORDER BY [u].[Id] DESC 2025-11-25 11:18:04.7206|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[NormalizedUserName] = @__normalizedUserName_0 2025-11-25 11:18:04.7371|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[ClaimType], [a].[ClaimValue], [a].[Discriminator], [a].[UserId] FROM [AspNetUserClaims] AS [a] WHERE [a].[Discriminator] IN (N'IdentityUserClaim', N'UserClaim') AND ([a].[UserId] = @__user_Id_0) 2025-11-25 11:18:04.7371|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 11:18:04.7371|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__normalizedName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[InstitutionId], [a].[IsActive], [a].[Name], [a].[NormalizedName], [a].[UpdatedBy], [a].[UserType] FROM [AspNetRoles] AS [a] WHERE [a].[NormalizedName] = @__normalizedName_0 2025-11-25 11:18:04.7371|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__role_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[ClaimType], [a].[ClaimValue] FROM [AspNetRoleClaims] AS [a] WHERE [a].[RoleId] = @__role_Id_0 2025-11-25 11:18:04.7503|10|INFO|Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationHandler|AuthenticationScheme: Identity.Application signed in. 2025-11-25 11:18:04.7503|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[NormalizedUserName] = @__normalizedUserName_0 2025-11-25 11:18:04.7503|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 11:18:04.7503|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [p].[Code] FROM [UserPermissions] AS [u] INNER JOIN [Permissions] AS [p] ON [u].[PermissionId] = [p].[Id] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 11:18:04.7766|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (13ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 11:18:04.7822|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p6='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [UserToken] SET [DateCreated] = @p0, [ExpiryDate] = @p1, [IsActive] = @p2, [SessionExpiryDate] = @p3, [Token] = @p4, [UserId] = @p5 WHERE [Id] = @p6; SELECT @@ROWCOUNT; 2025-11-25 11:18:04.7822|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; INSERT INTO [UserToken] ([DateCreated], [ExpiryDate], [IsActive], [SessionExpiryDate], [Token], [UserId]) VALUES (@p0, @p1, @p2, @p3, @p4, @p5); SELECT [Id] FROM [UserToken] WHERE @@ROWCOUNT = 1 AND [Id] = scope_identity(); 2025-11-25 11:18:04.7822|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 11:18:04.7822||INFO|Authentication.Controllers.AccountController|userybangura@MOF role is gotten 2025-11-25 11:18:04.7983|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [u].[Id], [u].[CreatedBy], [u].[DateCreated], [u].[DateUpdated], [u].[IsActive], [u].[IsDeleted], [u].[PermissionId], [u].[RowVersion], [u].[UpdatedBy], [u].[UserId] FROM [UserPermissions] AS [u] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 11:18:04.7983|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 11:18:04.7983|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 11:18:04.7983|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 11:18:04.7983|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 11:18:04.7983|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 11:18:04.8146|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 11:18:04.8146||INFO|Authentication.Controllers.AccountController|user ybangura@MOF is signin but about to call corporate service 2025-11-25 11:18:04.8648|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'AuditTrailUtility.Utility.SaveResponse'. 2025-11-25 11:18:04.8648|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.SignIn (Authentication) in 155.6327ms 2025-11-25 11:18:04.8648|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.SignIn (Authentication)' 2025-11-25 11:18:04.8648|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 167.8212ms 200 application/json; charset=utf-8 2025-11-25 11:18:04.9268|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/Admin/GetAllUsersByCorporateId?corporateId=207 2025-11-25 11:18:04.9268|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 11:18:04.9268|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 5.265ms 204 2025-11-25 11:18:04.9389|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/Admin/GetAllUsersByCorporateId?corporateId=207 2025-11-25 11:18:04.9389|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 11:18:04.9389|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.GetAllUsersByCorporateId (Authentication)' 2025-11-25 11:18:04.9389|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllUsersByCorporateId", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllUsersByCorporateId(Int64) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 11:18:04.9389|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 11:18:04.9389|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__corporateId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[UserTypeId] = @__corporateId_0 2025-11-25 11:18:04.9575|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[Authentication.Data.Models.Identity.UserBindingModel, Authentication.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2025-11-25 11:18:04.9575|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.GetAllUsersByCorporateId (Authentication) in 12.4387ms 2025-11-25 11:18:04.9575|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.GetAllUsersByCorporateId (Authentication)' 2025-11-25 11:18:04.9575|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 23.6397ms 200 application/json; charset=utf-8 2025-11-25 11:25:17.4651|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=ZH+o759q8RpxyxfgLZRq7HoiGgfxtbCtUDSSFQRuxHM= 2025-11-25 11:25:17.4651|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 11:25:17.4692|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 4.0614ms 204 2025-11-25 11:25:17.4692|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=ZH+o759q8RpxyxfgLZRq7HoiGgfxtbCtUDSSFQRuxHM= 2025-11-25 11:25:17.4692|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=ZH+o759q8RpxyxfgLZRq7HoiGgfxtbCtUDSSFQRuxHM= 0 2025-11-25 11:25:17.4692|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 11:25:17.4692|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=ZH+o759q8RpxyxfgLZRq7HoiGgfxtbCtUDSSFQRuxHM= 0 2025-11-25 11:25:17.4692|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 11:25:17.4692|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 4.3807ms 204 2025-11-25 11:25:17.4692|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 11:25:17.4692|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 11:25:17.4692|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=ZH+o759q8RpxyxfgLZRq7HoiGgfxtbCtUDSSFQRuxHM= 0 2025-11-25 11:25:17.4692|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 11:25:17.4692|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "RefreshToken", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] RefreshToken(System.String) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 11:25:17.4852|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 11:25:17.4852|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "RefreshToken", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] RefreshToken(System.String) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 11:25:17.4852|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 11:25:17.4852|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 11:25:17.4852|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 11:25:17.4852|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "RefreshToken", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] RefreshToken(System.String) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 11:25:17.4852|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 11:25:17.5186|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (19ms) [Parameters=[@__Token_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE [u].[Token] = @__Token_0 2025-11-25 11:25:17.5186|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (14ms) [Parameters=[@__Token_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE [u].[Token] = @__Token_0 2025-11-25 11:25:17.5186|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'Microsoft.AspNetCore.Mvc.ProblemDetails'. 2025-11-25 11:25:17.5186|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'Microsoft.AspNetCore.Mvc.ProblemDetails'. 2025-11-25 11:25:17.5186|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (12ms) [Parameters=[@__Token_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE [u].[Token] = @__Token_0 2025-11-25 11:25:17.5186|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.RefreshToken (Authentication) in 37.3203ms 2025-11-25 11:25:17.5186|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.RefreshToken (Authentication) in 36.6454ms 2025-11-25 11:25:17.5186|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'Microsoft.AspNetCore.Mvc.ProblemDetails'. 2025-11-25 11:25:17.5186|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 11:25:17.5186|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 11:25:17.5186|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.RefreshToken (Authentication) in 38.03ms 2025-11-25 11:25:17.5326|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 58.5558ms 401 application/problem+json; charset=utf-8 2025-11-25 11:25:17.5326|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 59.0485ms 401 application/problem+json; charset=utf-8 2025-11-25 11:25:17.5326|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 11:25:17.5326|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 59.749ms 401 application/problem+json; charset=utf-8 2025-11-25 11:25:26.9026|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignIn 2025-11-25 11:25:26.9026|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 11:25:26.9026|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 4.0953ms 204 2025-11-25 11:25:26.9111|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignIn application/json 61 2025-11-25 11:25:26.9111|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 11:25:26.9111|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.SignIn (Authentication)' 2025-11-25 11:25:26.9111|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "SignIn", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] SignIn(Authentication.Data.Models.Identity.AuthBindingModel) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 11:25:26.9111|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 11:25:26.9388|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (15ms) [Parameters=[@__ToLower_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE LOWER([a].[UserName]) = @__ToLower_0 2025-11-25 11:25:26.9388|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__checkUser_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__checkUser_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) ORDER BY [u].[Id] DESC 2025-11-25 11:25:26.9388|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (4ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[NormalizedUserName] = @__normalizedUserName_0 2025-11-25 11:25:26.9583|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[ClaimType], [a].[ClaimValue], [a].[Discriminator], [a].[UserId] FROM [AspNetUserClaims] AS [a] WHERE [a].[Discriminator] IN (N'IdentityUserClaim', N'UserClaim') AND ([a].[UserId] = @__user_Id_0) 2025-11-25 11:25:26.9583|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 11:25:26.9583|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__normalizedName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[InstitutionId], [a].[IsActive], [a].[Name], [a].[NormalizedName], [a].[UpdatedBy], [a].[UserType] FROM [AspNetRoles] AS [a] WHERE [a].[NormalizedName] = @__normalizedName_0 2025-11-25 11:25:26.9583|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__role_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[ClaimType], [a].[ClaimValue] FROM [AspNetRoleClaims] AS [a] WHERE [a].[RoleId] = @__role_Id_0 2025-11-25 11:25:26.9711|10|INFO|Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationHandler|AuthenticationScheme: Identity.Application signed in. 2025-11-25 11:25:26.9711|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[NormalizedUserName] = @__normalizedUserName_0 2025-11-25 11:25:26.9893|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 11:25:26.9893|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [p].[Code] FROM [UserPermissions] AS [u] INNER JOIN [Permissions] AS [p] ON [u].[PermissionId] = [p].[Id] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 11:25:27.0080|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (11ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 11:25:27.0080|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p6='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [UserToken] SET [DateCreated] = @p0, [ExpiryDate] = @p1, [IsActive] = @p2, [SessionExpiryDate] = @p3, [Token] = @p4, [UserId] = @p5 WHERE [Id] = @p6; SELECT @@ROWCOUNT; 2025-11-25 11:25:27.0237|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; INSERT INTO [UserToken] ([DateCreated], [ExpiryDate], [IsActive], [SessionExpiryDate], [Token], [UserId]) VALUES (@p0, @p1, @p2, @p3, @p4, @p5); SELECT [Id] FROM [UserToken] WHERE @@ROWCOUNT = 1 AND [Id] = scope_identity(); 2025-11-25 11:25:27.0237|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 11:25:27.0331||INFO|Authentication.Controllers.AccountController|useraimansaray@MOF role is gotten 2025-11-25 11:25:27.0331|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [u].[Id], [u].[CreatedBy], [u].[DateCreated], [u].[DateUpdated], [u].[IsActive], [u].[IsDeleted], [u].[PermissionId], [u].[RowVersion], [u].[UpdatedBy], [u].[UserId] FROM [UserPermissions] AS [u] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 11:25:27.0331|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 11:25:27.0331|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 11:25:27.0331|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 11:25:27.0331|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 11:25:27.0331|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 11:25:27.0485|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 11:25:27.0485|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 11:25:27.0485||INFO|Authentication.Controllers.AccountController|user aimansaray@MOF is signin but about to call corporate service 2025-11-25 11:25:27.1133|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'AuditTrailUtility.Utility.SaveResponse'. 2025-11-25 11:25:27.1133|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.SignIn (Authentication) in 197.7377ms 2025-11-25 11:25:27.1133|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.SignIn (Authentication)' 2025-11-25 11:25:27.1133|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 208.6814ms 200 application/json; charset=utf-8 2025-11-25 11:25:27.1732|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/Admin/GetAllUsersByCorporateId?corporateId=207 2025-11-25 11:25:27.1732|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 11:25:27.1732|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 3.6557ms 204 2025-11-25 11:25:27.1732|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/Admin/GetAllUsersByCorporateId?corporateId=207 2025-11-25 11:25:27.1732|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 11:25:27.1732|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.GetAllUsersByCorporateId (Authentication)' 2025-11-25 11:25:27.1732|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllUsersByCorporateId", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllUsersByCorporateId(Int64) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 11:25:27.1915|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 11:25:27.1915|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__corporateId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[UserTypeId] = @__corporateId_0 2025-11-25 11:25:27.1915|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[Authentication.Data.Models.Identity.UserBindingModel, Authentication.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2025-11-25 11:25:27.1915|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.GetAllUsersByCorporateId (Authentication) in 10.9446ms 2025-11-25 11:25:27.2050|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.GetAllUsersByCorporateId (Authentication)' 2025-11-25 11:25:27.2050|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 24.1248ms 200 application/json; charset=utf-8 2025-11-25 11:26:33.2724|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=bI7KuZZsjECYkTfMdC+tTfKuBmn+oeiIzNEFVakqGWA= 2025-11-25 11:26:33.2724|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=bI7KuZZsjECYkTfMdC+tTfKuBmn+oeiIzNEFVakqGWA= 2025-11-25 11:26:33.2724|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 11:26:33.2724|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 11:26:33.2724|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 5.6662ms 204 2025-11-25 11:26:33.2724|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6.5619ms 204 2025-11-25 11:26:33.2724|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=bI7KuZZsjECYkTfMdC+tTfKuBmn+oeiIzNEFVakqGWA= 0 2025-11-25 11:26:33.2724|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=bI7KuZZsjECYkTfMdC+tTfKuBmn+oeiIzNEFVakqGWA= 0 2025-11-25 11:26:33.2828|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 11:26:33.2828|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 11:26:33.2828|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 11:26:33.2828|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 11:26:33.2828|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "RefreshToken", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] RefreshToken(System.String) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 11:26:33.2828|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "RefreshToken", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] RefreshToken(System.String) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 11:26:33.2828|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=bI7KuZZsjECYkTfMdC+tTfKuBmn+oeiIzNEFVakqGWA= 0 2025-11-25 11:26:33.2828|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=bI7KuZZsjECYkTfMdC+tTfKuBmn+oeiIzNEFVakqGWA= 0 2025-11-25 11:26:33.2828|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=bI7KuZZsjECYkTfMdC+tTfKuBmn+oeiIzNEFVakqGWA= 0 2025-11-25 11:26:33.2828|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 11:26:33.2828|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 11:26:33.2828|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 11:26:33.2828|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 11:26:33.2828|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 11:26:33.2996|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 11:26:33.2996|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 11:26:33.2996|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 11:26:33.2996|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "RefreshToken", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] RefreshToken(System.String) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 11:26:33.2996|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "RefreshToken", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] RefreshToken(System.String) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 11:26:33.2996|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "RefreshToken", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] RefreshToken(System.String) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 11:26:33.2996|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 11:26:33.2996|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 11:26:33.3146|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 11:26:33.3146|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (17ms) [Parameters=[@__Token_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE [u].[Token] = @__Token_0 2025-11-25 11:26:33.3146|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'Microsoft.AspNetCore.Mvc.ProblemDetails'. 2025-11-25 11:26:33.3146|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (23ms) [Parameters=[@__Token_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE [u].[Token] = @__Token_0 2025-11-25 11:26:33.3146|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.RefreshToken (Authentication) in 31.2261ms 2025-11-25 11:26:33.3146|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 11:26:33.3146|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'Microsoft.AspNetCore.Mvc.ProblemDetails'. 2025-11-25 11:26:33.3146|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 46.8013ms 401 application/problem+json; charset=utf-8 2025-11-25 11:26:33.3304|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.RefreshToken (Authentication) in 37.3277ms 2025-11-25 11:26:33.3304|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 11:26:33.3304|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (18ms) [Parameters=[@__Token_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE [u].[Token] = @__Token_0 2025-11-25 11:26:33.3304|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (13ms) [Parameters=[@__Token_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE [u].[Token] = @__Token_0 2025-11-25 11:26:33.3304|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 53.5545ms 401 application/problem+json; charset=utf-8 2025-11-25 11:26:33.3304|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'Microsoft.AspNetCore.Mvc.ProblemDetails'. 2025-11-25 11:26:33.3304|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'Microsoft.AspNetCore.Mvc.ProblemDetails'. 2025-11-25 11:26:33.3304|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (15ms) [Parameters=[@__Token_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE [u].[Token] = @__Token_0 2025-11-25 11:26:33.3304|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.RefreshToken (Authentication) in 33.1065ms 2025-11-25 11:26:33.3462|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.RefreshToken (Authentication) in 31.9743ms 2025-11-25 11:26:33.3462|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'Microsoft.AspNetCore.Mvc.ProblemDetails'. 2025-11-25 11:26:33.3462|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 11:26:33.3462|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 11:26:33.3462|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.RefreshToken (Authentication) in 43.9805ms 2025-11-25 11:26:33.3612|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 11:26:33.3612|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 70.2446ms 401 application/problem+json; charset=utf-8 2025-11-25 11:26:33.3462|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 68.9927ms 401 application/problem+json; charset=utf-8 2025-11-25 11:26:33.3612|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 76.125ms 401 application/problem+json; charset=utf-8 2025-11-25 11:26:42.2227|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignIn 2025-11-25 11:26:42.2227|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 11:26:42.2227|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 4.8269ms 204 2025-11-25 11:26:42.2227|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignIn application/json 60 2025-11-25 11:26:42.2361|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 11:26:42.2361|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.SignIn (Authentication)' 2025-11-25 11:26:42.2361|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "SignIn", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] SignIn(Authentication.Data.Models.Identity.AuthBindingModel) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 11:26:42.2361|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 11:26:42.2361|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__ToLower_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE LOWER([a].[UserName]) = @__ToLower_0 2025-11-25 11:26:42.2361|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__checkUser_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__checkUser_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) ORDER BY [u].[Id] DESC 2025-11-25 11:26:42.2538|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[NormalizedUserName] = @__normalizedUserName_0 2025-11-25 11:26:42.2538|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[ClaimType], [a].[ClaimValue], [a].[Discriminator], [a].[UserId] FROM [AspNetUserClaims] AS [a] WHERE [a].[Discriminator] IN (N'IdentityUserClaim', N'UserClaim') AND ([a].[UserId] = @__user_Id_0) 2025-11-25 11:26:42.2692|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 11:26:42.2692|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__normalizedName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[InstitutionId], [a].[IsActive], [a].[Name], [a].[NormalizedName], [a].[UpdatedBy], [a].[UserType] FROM [AspNetRoles] AS [a] WHERE [a].[NormalizedName] = @__normalizedName_0 2025-11-25 11:26:42.2692|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__role_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[ClaimType], [a].[ClaimValue] FROM [AspNetRoleClaims] AS [a] WHERE [a].[RoleId] = @__role_Id_0 2025-11-25 11:26:42.2692|10|INFO|Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationHandler|AuthenticationScheme: Identity.Application signed in. 2025-11-25 11:26:42.2842|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (3ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[NormalizedUserName] = @__normalizedUserName_0 2025-11-25 11:26:42.2842|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 11:26:42.2842|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [p].[Code] FROM [UserPermissions] AS [u] INNER JOIN [Permissions] AS [p] ON [u].[PermissionId] = [p].[Id] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 11:26:42.3119|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (13ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 11:26:42.3195|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@p6='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [UserToken] SET [DateCreated] = @p0, [ExpiryDate] = @p1, [IsActive] = @p2, [SessionExpiryDate] = @p3, [Token] = @p4, [UserId] = @p5 WHERE [Id] = @p6; SELECT @@ROWCOUNT; 2025-11-25 11:26:42.3195|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; INSERT INTO [UserToken] ([DateCreated], [ExpiryDate], [IsActive], [SessionExpiryDate], [Token], [UserId]) VALUES (@p0, @p1, @p2, @p3, @p4, @p5); SELECT [Id] FROM [UserToken] WHERE @@ROWCOUNT = 1 AND [Id] = scope_identity(); 2025-11-25 11:26:42.3337|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 11:26:42.3337||INFO|Authentication.Controllers.AccountController|usersjalloh@MOF role is gotten 2025-11-25 11:26:42.3337|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [u].[Id], [u].[CreatedBy], [u].[DateCreated], [u].[DateUpdated], [u].[IsActive], [u].[IsDeleted], [u].[PermissionId], [u].[RowVersion], [u].[UpdatedBy], [u].[UserId] FROM [UserPermissions] AS [u] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 11:26:42.3483|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 11:26:42.3483|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 11:26:42.3483|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 11:26:42.3483|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 11:26:42.3483||INFO|Authentication.Controllers.AccountController|user sjalloh@MOF is signin but about to call corporate service 2025-11-25 11:26:42.4010|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'AuditTrailUtility.Utility.SaveResponse'. 2025-11-25 11:26:42.4010|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.SignIn (Authentication) in 160.9805ms 2025-11-25 11:26:42.4010|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.SignIn (Authentication)' 2025-11-25 11:26:42.4074|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 173.1857ms 200 application/json; charset=utf-8 2025-11-25 11:26:42.4611|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/Admin/GetAllUsersByCorporateId?corporateId=207 2025-11-25 11:26:42.4611|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 11:26:42.4611|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 3.814ms 204 2025-11-25 11:26:42.4714|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/Admin/GetAllUsersByCorporateId?corporateId=207 2025-11-25 11:26:42.4714|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 11:26:42.4714|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.GetAllUsersByCorporateId (Authentication)' 2025-11-25 11:26:42.4714|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllUsersByCorporateId", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllUsersByCorporateId(Int64) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 11:26:42.4714|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 11:26:42.4894|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__corporateId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[UserTypeId] = @__corporateId_0 2025-11-25 11:26:42.4894|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[Authentication.Data.Models.Identity.UserBindingModel, Authentication.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2025-11-25 11:26:42.4894|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.GetAllUsersByCorporateId (Authentication) in 10.104ms 2025-11-25 11:26:42.4894|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.GetAllUsersByCorporateId (Authentication)' 2025-11-25 11:26:42.4894|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 26.9281ms 200 application/json; charset=utf-8 2025-11-25 11:35:46.3707|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=qGBaoOdpzNeq8Y6vZIuuELCVH1OL3QAOndkCcnEECsg= 2025-11-25 11:35:46.3707|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 11:35:46.3707|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 4.0171ms 204 2025-11-25 11:35:46.3899|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=qGBaoOdpzNeq8Y6vZIuuELCVH1OL3QAOndkCcnEECsg= 0 2025-11-25 11:35:46.3899|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 11:35:46.3899|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 11:35:46.3899|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "RefreshToken", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] RefreshToken(System.String) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 11:35:46.3899|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 11:35:46.4249|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (13ms) [Parameters=[@__Token_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE [u].[Token] = @__Token_0 2025-11-25 11:35:46.4315|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__p_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[Id] = @__p_0 2025-11-25 11:35:46.4315|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 11:35:46.4315|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [p].[Code] FROM [UserPermissions] AS [u] INNER JOIN [Permissions] AS [p] ON [u].[PermissionId] = [p].[Id] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 11:35:46.4522|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (11ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 11:35:46.4522|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p6='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [UserToken] SET [DateCreated] = @p0, [ExpiryDate] = @p1, [IsActive] = @p2, [SessionExpiryDate] = @p3, [Token] = @p4, [UserId] = @p5 WHERE [Id] = @p6; SELECT @@ROWCOUNT; 2025-11-25 11:35:46.4662|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; INSERT INTO [UserToken] ([DateCreated], [ExpiryDate], [IsActive], [SessionExpiryDate], [Token], [UserId]) VALUES (@p0, @p1, @p2, @p3, @p4, @p5); SELECT [Id] FROM [UserToken] WHERE @@ROWCOUNT = 1 AND [Id] = scope_identity(); 2025-11-25 11:35:46.4662|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'Authentication.Data.Models.TokenResponse'. 2025-11-25 11:35:46.4662|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.RefreshToken (Authentication) in 73.3135ms 2025-11-25 11:35:46.4662|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 11:35:46.4662|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 83.3796ms 200 application/json; charset=utf-8 2025-11-25 11:42:13.1567|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignIn 2025-11-25 11:42:13.1567|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 11:42:13.1629|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6.214ms 204 2025-11-25 11:42:13.1629|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignIn application/json 59 2025-11-25 11:42:13.1629|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 11:42:13.1629|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.SignIn (Authentication)' 2025-11-25 11:42:13.1629|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "SignIn", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] SignIn(Authentication.Data.Models.Identity.AuthBindingModel) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 11:42:13.1799|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 11:42:13.1799|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__ToLower_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE LOWER([a].[UserName]) = @__ToLower_0 2025-11-25 11:42:13.1999|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (5ms) [Parameters=[@__checkUser_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__checkUser_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) ORDER BY [u].[Id] DESC 2025-11-25 11:42:13.1999|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[NormalizedUserName] = @__normalizedUserName_0 2025-11-25 11:42:13.2099|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[ClaimType], [a].[ClaimValue], [a].[Discriminator], [a].[UserId] FROM [AspNetUserClaims] AS [a] WHERE [a].[Discriminator] IN (N'IdentityUserClaim', N'UserClaim') AND ([a].[UserId] = @__user_Id_0) 2025-11-25 11:42:13.2099|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 11:42:13.2099|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__normalizedName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[InstitutionId], [a].[IsActive], [a].[Name], [a].[NormalizedName], [a].[UpdatedBy], [a].[UserType] FROM [AspNetRoles] AS [a] WHERE [a].[NormalizedName] = @__normalizedName_0 2025-11-25 11:42:13.2099|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__role_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[ClaimType], [a].[ClaimValue] FROM [AspNetRoleClaims] AS [a] WHERE [a].[RoleId] = @__role_Id_0 2025-11-25 11:42:13.2099|10|INFO|Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationHandler|AuthenticationScheme: Identity.Application signed in. 2025-11-25 11:42:13.2099|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[NormalizedUserName] = @__normalizedUserName_0 2025-11-25 11:42:13.2410|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 11:42:13.2410|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [p].[Code] FROM [UserPermissions] AS [u] INNER JOIN [Permissions] AS [p] ON [u].[PermissionId] = [p].[Id] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 11:42:13.2410|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (5ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 11:42:13.2410|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; INSERT INTO [UserToken] ([DateCreated], [ExpiryDate], [IsActive], [SessionExpiryDate], [Token], [UserId]) VALUES (@p0, @p1, @p2, @p3, @p4, @p5); SELECT [Id] FROM [UserToken] WHERE @@ROWCOUNT = 1 AND [Id] = scope_identity(); 2025-11-25 11:42:13.2593|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 11:42:13.2593||INFO|Authentication.Controllers.AccountController|userrcoker@MOF role is gotten 2025-11-25 11:42:13.2593|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [u].[Id], [u].[CreatedBy], [u].[DateCreated], [u].[DateUpdated], [u].[IsActive], [u].[IsDeleted], [u].[PermissionId], [u].[RowVersion], [u].[UpdatedBy], [u].[UserId] FROM [UserPermissions] AS [u] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 11:42:13.2593|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 11:42:13.2593|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 11:42:13.2721|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 11:42:13.2721|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 11:42:13.2721|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 11:42:13.2721|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 11:42:13.2721|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 11:42:13.2721|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 11:42:13.2879|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 11:42:13.2879|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 11:42:13.2879||INFO|Authentication.Controllers.AccountController|user rcoker@MOF is signin but about to call corporate service 2025-11-25 11:42:13.3360|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'AuditTrailUtility.Utility.SaveResponse'. 2025-11-25 11:42:13.3360|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.SignIn (Authentication) in 159.1059ms 2025-11-25 11:42:13.3360|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.SignIn (Authentication)' 2025-11-25 11:42:13.3360|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 172.1912ms 200 application/json; charset=utf-8 2025-11-25 11:42:13.5307|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/Admin/GetAllUsersByCorporateId?corporateId=207 2025-11-25 11:42:13.5307|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 11:42:13.5307|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 5.0424ms 204 2025-11-25 11:42:13.5498|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/Admin/GetAllUsersByCorporateId?corporateId=207 2025-11-25 11:42:13.5498|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 11:42:13.5554|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.GetAllUsersByCorporateId (Authentication)' 2025-11-25 11:42:13.5554|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllUsersByCorporateId", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllUsersByCorporateId(Int64) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 11:42:13.5554|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 11:42:13.5554|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (3ms) [Parameters=[@__corporateId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[UserTypeId] = @__corporateId_0 2025-11-25 11:42:13.5702|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[Authentication.Data.Models.Identity.UserBindingModel, Authentication.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2025-11-25 11:42:13.5702|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.GetAllUsersByCorporateId (Authentication) in 12.9557ms 2025-11-25 11:42:13.5702|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.GetAllUsersByCorporateId (Authentication)' 2025-11-25 11:42:13.5702|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 27.9354ms 200 application/json; charset=utf-8 2025-11-25 11:52:42.6080|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/Admin/LogIn 2025-11-25 11:52:42.6080|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 11:52:42.6080|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 5.2841ms 204 2025-11-25 11:52:42.6217|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/Admin/LogIn application/json 67 2025-11-25 11:52:42.6217|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 11:52:42.6217|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.LogIn (Authentication)' 2025-11-25 11:52:42.6217|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "LogIn", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] LogIn(Authentication.Data.Models.Identity.AuthBindingModel) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 11:52:42.6217|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 11:52:42.6416|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__ToLower_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE LOWER([a].[UserName]) = @__ToLower_0 2025-11-25 11:52:42.6416||INFO|Authentication.Core.Services.ApiService|About to call Institution 2025-11-25 11:52:47.3898||INFO|Authentication.Core.Services.ApiService|url=https://rcpayapi.mof.gov.sl/InstitutionService/api/Institution/Detail/Security/80 2025-11-25 11:52:47.3898||INFO|Authentication.Core.Services.ApiService|success from institution=True 2025-11-25 11:52:47.4105|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[NormalizedUserName] = @__normalizedUserName_0 2025-11-25 11:52:47.4105|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[ClaimType], [a].[ClaimValue], [a].[Discriminator], [a].[UserId] FROM [AspNetUserClaims] AS [a] WHERE [a].[Discriminator] IN (N'IdentityUserClaim', N'UserClaim') AND ([a].[UserId] = @__user_Id_0) 2025-11-25 11:52:47.4209|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 11:52:47.4209|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__normalizedName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[InstitutionId], [a].[IsActive], [a].[Name], [a].[NormalizedName], [a].[UpdatedBy], [a].[UserType] FROM [AspNetRoles] AS [a] WHERE [a].[NormalizedName] = @__normalizedName_0 2025-11-25 11:52:47.4209|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__role_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[ClaimType], [a].[ClaimValue] FROM [AspNetRoleClaims] AS [a] WHERE [a].[RoleId] = @__role_Id_0 2025-11-25 11:52:47.4209|10|INFO|Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationHandler|AuthenticationScheme: Identity.Application signed in. 2025-11-25 11:52:47.4209|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.String'. 2025-11-25 11:52:47.4209|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.LogIn (Authentication) in 4805.5803ms 2025-11-25 11:52:47.4344|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.LogIn (Authentication)' 2025-11-25 11:52:47.4344|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 4813.9253ms 400 text/plain; charset=utf-8 2025-11-25 11:53:28.4349|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/User/ResetPassword 2025-11-25 11:53:28.4349|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 11:53:28.4349|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 3.2031ms 204 2025-11-25 11:53:28.4524|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/User/ResetPassword application/json 101 2025-11-25 11:53:28.4524|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 11:53:28.4570|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.ResetPassword (Authentication)' 2025-11-25 11:53:28.4570|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "ResetPassword", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] ResetPassword(Authentication.Data.Models.Identity.PasswordResetBindingModel) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 11:53:28.4570|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 11:53:28.4570|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (3ms) [Parameters=[@__model_UserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[UserName] = @__model_UserName_0 2025-11-25 11:53:28.4570|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[NormalizedUserName] = @__normalizedUserName_0 2025-11-25 11:53:28.4777|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[ClaimType], [a].[ClaimValue], [a].[Discriminator], [a].[UserId] FROM [AspNetUserClaims] AS [a] WHERE [a].[Discriminator] IN (N'IdentityUserClaim', N'UserClaim') AND ([a].[UserId] = @__user_Id_0) 2025-11-25 11:53:28.4777|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 11:53:28.4777|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__normalizedName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[InstitutionId], [a].[IsActive], [a].[Name], [a].[NormalizedName], [a].[UpdatedBy], [a].[UserType] FROM [AspNetRoles] AS [a] WHERE [a].[NormalizedName] = @__normalizedName_0 2025-11-25 11:53:28.4882|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__role_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[ClaimType], [a].[ClaimValue] FROM [AspNetRoleClaims] AS [a] WHERE [a].[RoleId] = @__role_Id_0 2025-11-25 11:53:28.4882|10|INFO|Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationHandler|AuthenticationScheme: Identity.Application signed in. 2025-11-25 11:53:28.4882|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[NormalizedUserName] = @__normalizedUserName_0 2025-11-25 11:53:28.5046|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@p32='?' (DbType = Int64), @p0='?' (DbType = Int32), @p1='?' (Size = 4000), @p2='?' (DbType = Int64), @p3='?' (Size = 4000), @p33='?' (Size = 4000), @p4='?' (DbType = Int64), @p5='?' (DbType = DateTime2), @p6='?' (DbType = DateTime2), @p7='?' (DbType = DateTime2), @p8='?' (DbType = Int64), @p9='?' (Size = 256), @p10='?' (DbType = Boolean), @p11='?' (Size = 4000), @p12='?' (DbType = Boolean), @p13='?' (DbType = Boolean), @p14='?' (DbType = Boolean), @p15='?' (Size = 4000), @p16='?' (DbType = DateTime2), @p17='?' (DbType = Boolean), @p18='?' (DbType = DateTimeOffset), @p19='?' (Size = 4000), @p20='?' (Size = 4000), @p21='?' (Size = 256), @p22='?' (Size = 256), @p23='?' (Size = 4000), @p24='?' (Size = 4000), @p25='?' (DbType = Boolean), @p34='?' (Size = 8) (DbType = Binary), @p26='?' (Size = 4000), @p27='?' (DbType = Boolean), @p28='?' (DbType = Int64), @p29='?' (Size = 256), @p30='?' (DbType = Int32), @p31='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [AspNetUsers] SET [AccessFailedCount] = @p0, [Address] = @p1, [BranchId] = @p2, [ConcurrencyStamp] = @p3, [CreatedBy] = @p4, [DOB] = @p5, [DateCreated] = @p6, [DateUpdated] = @p7, [DeletedBy] = @p8, [Email] = @p9, [EmailConfirmed] = @p10, [FirstName] = @p11, [IsActive] = @p12, [IsDeleted] = @p13, [IsFirstLogin] = @p14, [LastName] = @p15, [LastPasswordChangeDate] = @p16, [LockoutEnabled] = @p17, [LockoutEnd] = @p18, [MiddleName] = @p19, [MobileNumber] = @p20, [NormalizedEmail] = @p21, [NormalizedUserName] = @p22, [PasswordHash] = @p23, [PhoneNumber] = @p24, [PhoneNumberConfirmed] = @p25, [SecurityStamp] = @p26, [TwoFactorEnabled] = @p27, [UpdatedBy] = @p28, [UserName] = @p29, [UserType] = @p30, [UserTypeId] = @p31 WHERE [Id] = @p32 AND [ConcurrencyStamp] = @p33 AND [RowVersion] = @p34; SELECT [RowVersion] FROM [AspNetUsers] WHERE @@ROWCOUNT = 1 AND [Id] = @p32; 2025-11-25 11:53:28.5046|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (4ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[NormalizedUserName] = @__normalizedUserName_0 2025-11-25 11:53:28.5226|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@p32='?' (DbType = Int64), @p0='?' (DbType = Int32), @p1='?' (Size = 4000), @p2='?' (DbType = Int64), @p3='?' (Size = 4000), @p33='?' (Size = 4000), @p4='?' (DbType = Int64), @p5='?' (DbType = DateTime2), @p6='?' (DbType = DateTime2), @p7='?' (DbType = DateTime2), @p8='?' (DbType = Int64), @p9='?' (Size = 256), @p10='?' (DbType = Boolean), @p11='?' (Size = 4000), @p12='?' (DbType = Boolean), @p13='?' (DbType = Boolean), @p14='?' (DbType = Boolean), @p15='?' (Size = 4000), @p16='?' (DbType = DateTime2), @p17='?' (DbType = Boolean), @p18='?' (DbType = DateTimeOffset), @p19='?' (Size = 4000), @p20='?' (Size = 4000), @p21='?' (Size = 256), @p22='?' (Size = 256), @p23='?' (Size = 4000), @p24='?' (Size = 4000), @p25='?' (DbType = Boolean), @p34='?' (Size = 8) (DbType = Binary), @p26='?' (Size = 4000), @p27='?' (DbType = Boolean), @p28='?' (DbType = Int64), @p29='?' (Size = 256), @p30='?' (DbType = Int32), @p31='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [AspNetUsers] SET [AccessFailedCount] = @p0, [Address] = @p1, [BranchId] = @p2, [ConcurrencyStamp] = @p3, [CreatedBy] = @p4, [DOB] = @p5, [DateCreated] = @p6, [DateUpdated] = @p7, [DeletedBy] = @p8, [Email] = @p9, [EmailConfirmed] = @p10, [FirstName] = @p11, [IsActive] = @p12, [IsDeleted] = @p13, [IsFirstLogin] = @p14, [LastName] = @p15, [LastPasswordChangeDate] = @p16, [LockoutEnabled] = @p17, [LockoutEnd] = @p18, [MiddleName] = @p19, [MobileNumber] = @p20, [NormalizedEmail] = @p21, [NormalizedUserName] = @p22, [PasswordHash] = @p23, [PhoneNumber] = @p24, [PhoneNumberConfirmed] = @p25, [SecurityStamp] = @p26, [TwoFactorEnabled] = @p27, [UpdatedBy] = @p28, [UserName] = @p29, [UserType] = @p30, [UserTypeId] = @p31 WHERE [Id] = @p32 AND [ConcurrencyStamp] = @p33 AND [RowVersion] = @p34; SELECT [RowVersion] FROM [AspNetUsers] WHERE @@ROWCOUNT = 1 AND [Id] = @p32; 2025-11-25 11:53:28.5358|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (8ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 11:53:29.0496|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'AuditTrailUtility.Utility.SaveResponse'. 2025-11-25 11:53:29.0496|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.ResetPassword (Authentication) in 591.6829ms 2025-11-25 11:53:29.0496|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.ResetPassword (Authentication)' 2025-11-25 11:53:29.0496|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 602.2862ms 200 application/json; charset=utf-8 2025-11-25 11:53:46.0930|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/Admin/LogIn 2025-11-25 11:53:46.0930|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 11:53:46.0930|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 5.3522ms 204 2025-11-25 11:53:46.1072|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/Admin/LogIn application/json 67 2025-11-25 11:53:46.1072|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 11:53:46.1072|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.LogIn (Authentication)' 2025-11-25 11:53:46.1072|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "LogIn", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] LogIn(Authentication.Data.Models.Identity.AuthBindingModel) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 11:53:46.1072|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 11:53:46.1211|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__ToLower_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE LOWER([a].[UserName]) = @__ToLower_0 2025-11-25 11:53:46.1211||INFO|Authentication.Core.Services.ApiService|About to call Institution 2025-11-25 11:53:46.1870||INFO|Authentication.Core.Services.ApiService|url=https://rcpayapi.mof.gov.sl/InstitutionService/api/Institution/Detail/Security/80 2025-11-25 11:53:46.1870||INFO|Authentication.Core.Services.ApiService|success from institution=True 2025-11-25 11:53:46.2008|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (3ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[NormalizedUserName] = @__normalizedUserName_0 2025-11-25 11:53:46.2133|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[ClaimType], [a].[ClaimValue], [a].[Discriminator], [a].[UserId] FROM [AspNetUserClaims] AS [a] WHERE [a].[Discriminator] IN (N'IdentityUserClaim', N'UserClaim') AND ([a].[UserId] = @__user_Id_0) 2025-11-25 11:53:46.2133|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 11:53:46.2133|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__normalizedName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[InstitutionId], [a].[IsActive], [a].[Name], [a].[NormalizedName], [a].[UpdatedBy], [a].[UserType] FROM [AspNetRoles] AS [a] WHERE [a].[NormalizedName] = @__normalizedName_0 2025-11-25 11:53:46.2133|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__role_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[ClaimType], [a].[ClaimValue] FROM [AspNetRoleClaims] AS [a] WHERE [a].[RoleId] = @__role_Id_0 2025-11-25 11:53:46.2285|10|INFO|Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationHandler|AuthenticationScheme: Identity.Application signed in. 2025-11-25 11:53:46.2285|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[NormalizedUserName] = @__normalizedUserName_0 2025-11-25 11:53:46.2285|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 11:53:46.2463|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT [p].[Code] FROM [RolePermissions] AS [r] INNER JOIN [AspNetRoles] AS [a] ON [r].[RoleId] = [a].[Id] INNER JOIN [Permissions] AS [p] ON [r].[PermissionId] = [p].[Id] WHERE [a].[Name] = @__get_Item_0 2025-11-25 11:53:46.2619|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (12ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 11:53:46.2619|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; INSERT INTO [UserToken] ([DateCreated], [ExpiryDate], [IsActive], [SessionExpiryDate], [Token], [UserId]) VALUES (@p0, @p1, @p2, @p3, @p4, @p5); SELECT [Id] FROM [UserToken] WHERE @@ROWCOUNT = 1 AND [Id] = scope_identity(); 2025-11-25 11:53:46.2762|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 11:53:46.2762||INFO|Authentication.Controllers.AccountController|usermmohai@AGDHQ role is gotten 2025-11-25 11:53:46.2762|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT [p].[Code] FROM [RolePermissions] AS [r] INNER JOIN [AspNetRoles] AS [a] ON [r].[RoleId] = [a].[Id] INNER JOIN [Permissions] AS [p] ON [r].[PermissionId] = [p].[Id] WHERE [a].[Name] = @__get_Item_0 2025-11-25 11:53:46.3219|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'AuditTrailUtility.Utility.SaveResponse'. 2025-11-25 11:53:46.3219|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.LogIn (Authentication) in 210.3579ms 2025-11-25 11:53:46.3219|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.LogIn (Authentication)' 2025-11-25 11:53:46.3219|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 221.2119ms 200 application/json; charset=utf-8 2025-11-25 11:53:56.4805|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/Admin/SearchPermission 2025-11-25 11:53:56.4805|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/User/Search 2025-11-25 11:53:56.4805|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/Admin/SearchRoleDetails 2025-11-25 11:53:56.4805|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 11:53:56.4805|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 11:53:56.4805|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 11:53:56.4805|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 9.6331ms 204 2025-11-25 11:53:56.4805|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 8.9643ms 204 2025-11-25 11:53:56.4805|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 10.2594ms 204 2025-11-25 11:53:56.5020|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/Admin/SearchPermission application/json 60 2025-11-25 11:53:56.5020|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/Admin/SearchRoleDetails application/json 93 2025-11-25 11:53:56.5020|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/User/Search application/json 86 2025-11-25 11:53:56.5020|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 11:53:56.5020|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 11:53:56.5020|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 11:53:56.5107|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.SearchPermission (Authentication)' 2025-11-25 11:53:56.5107|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.SearchRoleDetails (Authentication)' 2025-11-25 11:53:56.5107|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.SearchUsers (Authentication)' 2025-11-25 11:53:56.5107|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "SearchPermission", controller = "Account"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult SearchPermission(AuditTrailUtility.Utility.SearchCall`1[Authentication.Data.Models.PermissionModel]) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 11:53:56.5107|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "SearchRoleDetails", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] SearchRoleDetails(AuditTrailUtility.Utility.SearchCall`1[Authentication.Data.Models.Identity.RoleSearch]) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 11:53:56.5107|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "SearchUsers", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] SearchUsers(AuditTrailUtility.Utility.SearchCall`1[Authentication.Data.Models.Identity.UserSearch]) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 11:53:56.5253|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 11:53:56.5253|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 11:53:56.5253|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] 2025-11-25 11:53:56.5253|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 11:53:56.5253|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'AuditTrailUtility.Utility.SearchResponse`1[[Authentication.Data.Models.PermissionGroupViewModel, Authentication.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2025-11-25 11:53:56.5421|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.SearchPermission (Authentication) in 17.6ms 2025-11-25 11:53:56.5421|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.SearchPermission (Authentication)' 2025-11-25 11:53:56.5421|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 42.6159ms 200 application/json; charset=utf-8 2025-11-25 11:53:56.5421|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (12ms) [Parameters=[@Search='?', @Email='?', @userName='?', @Role='?', @Id='?' (DbType = Int64), @UserTypeId='?' (DbType = Int64), @UserType='?' (DbType = Int32), @Page='?' (DbType = Int32), @PageSize='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30'] GetAllUsers @Search,@Email,@userName,@Role,@Id,@UserTypeId,@UserType,@Page,@PageSize 2025-11-25 11:53:56.5572|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[Authentication.Data.Models.Identity.UserView, Authentication.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2025-11-25 11:53:56.5572|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.SearchUsers (Authentication) in 30.915ms 2025-11-25 11:53:56.5572|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.SearchUsers (Authentication)' 2025-11-25 11:53:56.5572|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 61.5428ms 200 application/json; charset=utf-8 2025-11-25 11:53:56.5572|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[Authentication.Data.Models.Identity.RoleViewModel, Authentication.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2025-11-25 11:53:56.5572|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.SearchRoleDetails (Authentication) in 44.819ms 2025-11-25 11:53:56.5736|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.SearchRoleDetails (Authentication)' 2025-11-25 11:53:56.5736|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 72.7133ms 200 application/json; charset=utf-8 2025-11-25 11:53:57.5346|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/Admin/GetAllUsersAndPermissionsByUserTypeId?PermissionCode=initiatepayment&UserTypeId=208&UserType=1 2025-11-25 11:53:57.5346|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/Admin/GetAllUsersAndPermissionsByUserTypeId?PermissionCode=CVSA&UserTypeId=208&UserType=1 2025-11-25 11:53:57.5346|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/Admin/GetAllPermissions 2025-11-25 11:53:57.5346|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/Admin/GetAllUsersAndPermissionsByUserTypeId?PermissionCode=initiatepayment&UserTypeId=208&UserType=1 2025-11-25 11:53:57.5346|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/Admin/GetAllUsersAndPermissionsByUserTypeId?PermissionCode=CVSA&UserTypeId=208&UserType=1 2025-11-25 11:53:57.5346|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 11:53:57.5346|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/Admin/GetUserPermissionsByUserId?userId=521 2025-11-25 11:53:57.5413|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 11:53:57.5413|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 11:53:57.5413|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 11:53:57.5413|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 11:53:57.5413|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 13.214ms 204 2025-11-25 11:53:57.5413|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 11:53:57.5413|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 16.3711ms 204 2025-11-25 11:53:57.5413|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 17.2601ms 204 2025-11-25 11:53:57.5413|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 16.8581ms 204 2025-11-25 11:53:57.5413|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 18.1435ms 204 2025-11-25 11:53:57.5580|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 19.9886ms 204 2025-11-25 11:53:57.5580|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/Admin/GetAllUsersAndPermissionsByUserTypeId?PermissionCode=CVSA&UserTypeId=208&UserType=1 2025-11-25 11:53:57.5580|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/Admin/GetAllUsersAndPermissionsByUserTypeId?PermissionCode=initiatepayment&UserTypeId=208&UserType=1 2025-11-25 11:53:57.5580|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/Admin/GetAllPermissions 2025-11-25 11:53:57.5580|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/Admin/GetUserPermissionsByUserId?userId=521 2025-11-25 11:53:57.5580|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 11:53:57.5580|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 11:53:57.5727|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 11:53:57.5727|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 11:53:57.5727|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.GetAllUsersAndPermissionsByUserTypeId (Authentication)' 2025-11-25 11:53:57.5727|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.GetAllUsersAndPermissionsByUserTypeId (Authentication)' 2025-11-25 11:53:57.5727|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.GetAllPermissions (Authentication)' 2025-11-25 11:53:57.5727|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.GetUserPermissionsByUserId (Authentication)' 2025-11-25 11:53:57.5896|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllPermissions", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllPermissions() on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 11:53:57.5896|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetUserPermissionsByUserId", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetUserPermissionsByUserId(Int64) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 11:53:57.5896|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 11:53:57.5896|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 11:53:57.5896|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllUsersAndPermissionsByUserTypeId", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllUsersAndPermissionsByUserTypeId(System.String, Int64, Int64) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 11:53:57.5896|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllUsersAndPermissionsByUserTypeId", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllUsersAndPermissionsByUserTypeId(System.String, Int64, Int64) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 11:53:57.5896|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 11:53:57.5896|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 11:53:57.5896|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] 2025-11-25 11:53:57.6093|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[Authentication.Data.Models.Identity.Permission, Authentication.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2025-11-25 11:53:57.6093|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [u].[Id], [u].[CreatedBy], [u].[DateCreated], [u].[DateUpdated], [u].[IsActive], [u].[IsDeleted], [u].[PermissionId], [u].[RowVersion], [u].[UpdatedBy], [u].[UserId] FROM [UserPermissions] AS [u] WHERE [u].[UserId] = @__userId_0 2025-11-25 11:53:57.6093|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[Authentication.Data.Models.Identity.UserView, Authentication.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2025-11-25 11:53:57.6093|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[Authentication.Data.Models.Identity.UserView, Authentication.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2025-11-25 11:53:57.6093|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[Authentication.Data.Models.Identity.UserPermission, Authentication.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2025-11-25 11:53:57.6093|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.GetAllPermissions (Authentication) in 25.0817ms 2025-11-25 11:53:57.6093|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.GetAllUsersAndPermissionsByUserTypeId (Authentication) in 18.7118ms 2025-11-25 11:53:57.6093|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.GetAllUsersAndPermissionsByUserTypeId (Authentication) in 16.9565ms 2025-11-25 11:53:57.6194|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.GetAllPermissions (Authentication)' 2025-11-25 11:53:57.6194|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.GetUserPermissionsByUserId (Authentication) in 26.9563ms 2025-11-25 11:53:57.6194|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.GetAllUsersAndPermissionsByUserTypeId (Authentication)' 2025-11-25 11:53:57.6194|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.GetAllUsersAndPermissionsByUserTypeId (Authentication)' 2025-11-25 11:53:57.6194|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 60.0824ms 200 application/json; charset=utf-8 2025-11-25 11:53:57.6194|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/Admin/GetAllUsersAndPermissionsByUserTypeId?PermissionCode=initiatepayment&UserTypeId=208&UserType=1 2025-11-25 11:53:57.6194|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/Admin/GetAllUsersAndPermissionsByUserTypeId?PermissionCode=CVSA&UserTypeId=208&UserType=1 2025-11-25 11:53:57.6194|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.GetUserPermissionsByUserId (Authentication)' 2025-11-25 11:53:57.6194|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 63.2501ms 200 application/json; charset=utf-8 2025-11-25 11:53:57.6194|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 64.4861ms 200 application/json; charset=utf-8 2025-11-25 11:53:57.6194|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 11:53:57.6194|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 11:53:57.6194|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 67.7894ms 200 application/json; charset=utf-8 2025-11-25 11:53:57.6379|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.GetAllUsersAndPermissionsByUserTypeId (Authentication)' 2025-11-25 11:53:57.6379|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.GetAllUsersAndPermissionsByUserTypeId (Authentication)' 2025-11-25 11:53:57.6379|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllUsersAndPermissionsByUserTypeId", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllUsersAndPermissionsByUserTypeId(System.String, Int64, Int64) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 11:53:57.6379|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllUsersAndPermissionsByUserTypeId", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllUsersAndPermissionsByUserTypeId(System.String, Int64, Int64) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 11:53:57.6379|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 11:53:57.6379|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 11:53:57.6528|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[Authentication.Data.Models.Identity.UserView, Authentication.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2025-11-25 11:53:57.6528|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.GetAllUsersAndPermissionsByUserTypeId (Authentication) in 9.7441ms 2025-11-25 11:53:57.6528|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[Authentication.Data.Models.Identity.UserView, Authentication.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2025-11-25 11:53:57.6528|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.GetAllUsersAndPermissionsByUserTypeId (Authentication)' 2025-11-25 11:53:57.6528|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.GetAllUsersAndPermissionsByUserTypeId (Authentication) in 11.3897ms 2025-11-25 11:53:57.6528|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 34.2047ms 200 application/json; charset=utf-8 2025-11-25 11:53:57.6528|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.GetAllUsersAndPermissionsByUserTypeId (Authentication)' 2025-11-25 11:53:57.6528|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 39.338ms 200 application/json; charset=utf-8 2025-11-25 11:54:05.8054|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/Admin/SearchPermission 2025-11-25 11:54:05.8054|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/Admin/SearchRoleDetails 2025-11-25 11:54:05.8054|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/User/Search 2025-11-25 11:54:05.8087|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 11:54:05.8087|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 11:54:05.8087|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 11:54:05.8087|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 8.8568ms 204 2025-11-25 11:54:05.8087|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 10.716ms 204 2025-11-25 11:54:05.8087|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 12.2018ms 204 2025-11-25 11:54:05.8255|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/Admin/SearchRoleDetails application/json 93 2025-11-25 11:54:05.8255|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/Admin/SearchPermission application/json 60 2025-11-25 11:54:05.8255|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 11:54:05.8255|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/User/Search application/json 86 2025-11-25 11:54:05.8255|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 11:54:05.8255|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.SearchRoleDetails (Authentication)' 2025-11-25 11:54:05.8255|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 11:54:05.8255|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.SearchPermission (Authentication)' 2025-11-25 11:54:05.8255|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "SearchRoleDetails", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] SearchRoleDetails(AuditTrailUtility.Utility.SearchCall`1[Authentication.Data.Models.Identity.RoleSearch]) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 11:54:05.8384|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.SearchUsers (Authentication)' 2025-11-25 11:54:05.8384|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "SearchPermission", controller = "Account"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult SearchPermission(AuditTrailUtility.Utility.SearchCall`1[Authentication.Data.Models.PermissionModel]) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 11:54:05.8384|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 11:54:05.8384|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "SearchUsers", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] SearchUsers(AuditTrailUtility.Utility.SearchCall`1[Authentication.Data.Models.Identity.UserSearch]) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 11:54:05.8384|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 11:54:05.8384|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 11:54:05.8558|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] 2025-11-25 11:54:05.8558|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'AuditTrailUtility.Utility.SearchResponse`1[[Authentication.Data.Models.PermissionGroupViewModel, Authentication.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2025-11-25 11:54:05.8558|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.SearchPermission (Authentication) in 15.6642ms 2025-11-25 11:54:05.8558|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[Authentication.Data.Models.Identity.RoleViewModel, Authentication.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2025-11-25 11:54:05.8558|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.SearchPermission (Authentication)' 2025-11-25 11:54:05.8558|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.SearchRoleDetails (Authentication) in 24.8097ms 2025-11-25 11:54:05.8558|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 42.2867ms 200 application/json; charset=utf-8 2025-11-25 11:54:05.8701|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.SearchRoleDetails (Authentication)' 2025-11-25 11:54:05.8701|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 47.9218ms 200 application/json; charset=utf-8 2025-11-25 11:54:05.8701|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (21ms) [Parameters=[@Search='?', @Email='?', @userName='?', @Role='?', @Id='?' (DbType = Int64), @UserTypeId='?' (DbType = Int64), @UserType='?' (DbType = Int32), @Page='?' (DbType = Int32), @PageSize='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30'] GetAllUsers @Search,@Email,@userName,@Role,@Id,@UserTypeId,@UserType,@Page,@PageSize 2025-11-25 11:54:05.8701|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[Authentication.Data.Models.Identity.UserView, Authentication.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2025-11-25 11:54:05.8701|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.SearchUsers (Authentication) in 31.5156ms 2025-11-25 11:54:05.8701|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.SearchUsers (Authentication)' 2025-11-25 11:54:05.8851|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 56.8885ms 200 application/json; charset=utf-8 2025-11-25 11:54:07.1233|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/Admin/GetAllPermissions 2025-11-25 11:54:07.1233|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/Admin/GetAllUsersAndPermissionsByUserTypeId?PermissionCode=initiatepayment&UserTypeId=208&UserType=1 2025-11-25 11:54:07.1233|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/Admin/GetAllUsersAndPermissionsByUserTypeId?PermissionCode=CVSA&UserTypeId=208&UserType=1 2025-11-25 11:54:07.1233|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/Admin/GetUserPermissionsByUserId?userId=521 2025-11-25 11:54:07.1233|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/Admin/GetAllUsersAndPermissionsByUserTypeId?PermissionCode=CVSA&UserTypeId=208&UserType=1 2025-11-25 11:54:07.1233|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/Admin/GetAllUsersAndPermissionsByUserTypeId?PermissionCode=initiatepayment&UserTypeId=208&UserType=1 2025-11-25 11:54:07.1233|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 11:54:07.1233|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 11:54:07.1233|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 11:54:07.1375|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 11:54:07.1375|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 11:54:07.1375|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 11:54:07.1375|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 21.0731ms 204 2025-11-25 11:54:07.1375|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 24.0168ms 204 2025-11-25 11:54:07.1375|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 26.4906ms 204 2025-11-25 11:54:07.1520|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 26.9798ms 204 2025-11-25 11:54:07.1520|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 28.7824ms 204 2025-11-25 11:54:07.1520|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 30.0673ms 204 2025-11-25 11:54:07.1520|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/Admin/GetAllPermissions 2025-11-25 11:54:07.1520|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/Admin/GetAllUsersAndPermissionsByUserTypeId?PermissionCode=initiatepayment&UserTypeId=208&UserType=1 2025-11-25 11:54:07.1520|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/Admin/GetAllUsersAndPermissionsByUserTypeId?PermissionCode=CVSA&UserTypeId=208&UserType=1 2025-11-25 11:54:07.1520|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/Admin/GetUserPermissionsByUserId?userId=521 2025-11-25 11:54:07.1679|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 11:54:07.1679|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 11:54:07.1679|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 11:54:07.1679|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 11:54:07.1679|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.GetAllPermissions (Authentication)' 2025-11-25 11:54:07.1679|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.GetAllUsersAndPermissionsByUserTypeId (Authentication)' 2025-11-25 11:54:07.1825|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllUsersAndPermissionsByUserTypeId", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllUsersAndPermissionsByUserTypeId(System.String, Int64, Int64) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 11:54:07.1679|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.GetUserPermissionsByUserId (Authentication)' 2025-11-25 11:54:07.1679|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllPermissions", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllPermissions() on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 11:54:07.1679|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.GetAllUsersAndPermissionsByUserTypeId (Authentication)' 2025-11-25 11:54:07.1825|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 11:54:07.1825|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetUserPermissionsByUserId", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetUserPermissionsByUserId(Int64) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 11:54:07.1825|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 11:54:07.1825|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllUsersAndPermissionsByUserTypeId", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllUsersAndPermissionsByUserTypeId(System.String, Int64, Int64) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 11:54:07.1825|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 11:54:07.1825|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[Authentication.Data.Models.Identity.UserView, Authentication.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2025-11-25 11:54:07.2010|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] 2025-11-25 11:54:07.2010|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 11:54:07.2010|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [u].[Id], [u].[CreatedBy], [u].[DateCreated], [u].[DateUpdated], [u].[IsActive], [u].[IsDeleted], [u].[PermissionId], [u].[RowVersion], [u].[UpdatedBy], [u].[UserId] FROM [UserPermissions] AS [u] WHERE [u].[UserId] = @__userId_0 2025-11-25 11:54:07.2010|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.GetAllUsersAndPermissionsByUserTypeId (Authentication) in 23.768ms 2025-11-25 11:54:07.2010|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[Authentication.Data.Models.Identity.Permission, Authentication.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2025-11-25 11:54:07.2156|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[Authentication.Data.Models.Identity.UserPermission, Authentication.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2025-11-25 11:54:07.2156|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/Admin/GetAllUsersAndPermissionsByUserTypeId?PermissionCode=initiatepayment&UserTypeId=208&UserType=1 2025-11-25 11:54:07.2156|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.GetAllUsersAndPermissionsByUserTypeId (Authentication)' 2025-11-25 11:54:07.2156|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[Authentication.Data.Models.Identity.UserView, Authentication.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2025-11-25 11:54:07.2156|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.GetAllPermissions (Authentication) in 33.3387ms 2025-11-25 11:54:07.2307|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.GetAllPermissions (Authentication)' 2025-11-25 11:54:07.2156|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 11:54:07.2156|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 68.1587ms 200 application/json; charset=utf-8 2025-11-25 11:54:07.2307|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.GetAllUsersAndPermissionsByUserTypeId (Authentication) in 29.8266ms 2025-11-25 11:54:07.2156|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.GetUserPermissionsByUserId (Authentication) in 26.0841ms 2025-11-25 11:54:07.2307|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 76.701ms 200 application/json; charset=utf-8 2025-11-25 11:54:07.2613|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/Admin/GetAllUsersAndPermissionsByUserTypeId?PermissionCode=CVSA&UserTypeId=208&UserType=1 2025-11-25 11:54:07.2307|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.GetAllUsersAndPermissionsByUserTypeId (Authentication)' 2025-11-25 11:54:07.2613|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.GetAllUsersAndPermissionsByUserTypeId (Authentication)' 2025-11-25 11:54:07.2613|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.GetUserPermissionsByUserId (Authentication)' 2025-11-25 11:54:07.2613|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 11:54:07.2613|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllUsersAndPermissionsByUserTypeId", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllUsersAndPermissionsByUserTypeId(System.String, Int64, Int64) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 11:54:07.2613|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 107.2393ms 200 application/json; charset=utf-8 2025-11-25 11:54:07.2613|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 105.783ms 200 application/json; charset=utf-8 2025-11-25 11:54:07.2613|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.GetAllUsersAndPermissionsByUserTypeId (Authentication)' 2025-11-25 11:54:07.2613|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 11:54:07.2613|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllUsersAndPermissionsByUserTypeId", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllUsersAndPermissionsByUserTypeId(System.String, Int64, Int64) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 11:54:07.2787|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 11:54:07.2787|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[Authentication.Data.Models.Identity.UserView, Authentication.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2025-11-25 11:54:07.2787|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.GetAllUsersAndPermissionsByUserTypeId (Authentication) in 9.1735ms 2025-11-25 11:54:07.2787|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.GetAllUsersAndPermissionsByUserTypeId (Authentication)' 2025-11-25 11:54:07.2787|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 66.5579ms 200 application/json; charset=utf-8 2025-11-25 11:54:07.2787|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[Authentication.Data.Models.Identity.UserView, Authentication.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2025-11-25 11:54:07.2787|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.GetAllUsersAndPermissionsByUserTypeId (Authentication) in 7.1532ms 2025-11-25 11:54:07.2787|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.GetAllUsersAndPermissionsByUserTypeId (Authentication)' 2025-11-25 11:54:07.2787|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 26.4294ms 200 application/json; charset=utf-8 2025-11-25 11:56:22.7575|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=5+cG/y3D32bzW2p18vdXeLWRKBAA0t5/JNsEqce3/2Y= 2025-11-25 11:56:22.7575|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 11:56:22.7575|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 2.9461ms 204 2025-11-25 11:56:22.7817|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=5+cG/y3D32bzW2p18vdXeLWRKBAA0t5/JNsEqce3/2Y= 2025-11-25 11:56:22.7817|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=5+cG/y3D32bzW2p18vdXeLWRKBAA0t5/JNsEqce3/2Y= 0 2025-11-25 11:56:22.7817|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 11:56:22.7817|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 11:56:22.7817|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 4.6984ms 204 2025-11-25 11:56:22.7817|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 11:56:22.7908|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "RefreshToken", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] RefreshToken(System.String) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 11:56:22.7908|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 11:56:22.8037|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=5+cG/y3D32bzW2p18vdXeLWRKBAA0t5/JNsEqce3/2Y= 0 2025-11-25 11:56:22.8037|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 11:56:22.8037|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 11:56:22.8037|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "RefreshToken", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] RefreshToken(System.String) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 11:56:22.8037|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 11:56:22.8037|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (17ms) [Parameters=[@__Token_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE [u].[Token] = @__Token_0 2025-11-25 11:56:22.8037|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'Microsoft.AspNetCore.Mvc.ProblemDetails'. 2025-11-25 11:56:22.8037|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.RefreshToken (Authentication) in 22.0693ms 2025-11-25 11:56:22.8037|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 11:56:22.8037|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 33.3323ms 401 application/problem+json; charset=utf-8 2025-11-25 11:56:22.8290|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (20ms) [Parameters=[@__Token_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE [u].[Token] = @__Token_0 2025-11-25 11:56:22.8290|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'Microsoft.AspNetCore.Mvc.ProblemDetails'. 2025-11-25 11:56:22.8290|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.RefreshToken (Authentication) in 23.8796ms 2025-11-25 11:56:22.8290|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 11:56:22.8290|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 30.2629ms 401 application/problem+json; charset=utf-8 2025-11-25 11:56:41.6955|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignIn 2025-11-25 11:56:41.6955|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 11:56:41.6955|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 5.7697ms 204 2025-11-25 11:56:41.7103|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignIn application/json 60 2025-11-25 11:56:41.7103|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 11:56:41.7103|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.SignIn (Authentication)' 2025-11-25 11:56:41.7103|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "SignIn", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] SignIn(Authentication.Data.Models.Identity.AuthBindingModel) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 11:56:41.7103|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 11:56:41.7231|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__ToLower_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE LOWER([a].[UserName]) = @__ToLower_0 2025-11-25 11:56:41.7231|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__checkUser_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__checkUser_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) ORDER BY [u].[Id] DESC 2025-11-25 11:56:41.7231|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[NormalizedUserName] = @__normalizedUserName_0 2025-11-25 11:56:41.7231|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[ClaimType], [a].[ClaimValue], [a].[Discriminator], [a].[UserId] FROM [AspNetUserClaims] AS [a] WHERE [a].[Discriminator] IN (N'IdentityUserClaim', N'UserClaim') AND ([a].[UserId] = @__user_Id_0) 2025-11-25 11:56:41.7391|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 11:56:41.7391|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__normalizedName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[InstitutionId], [a].[IsActive], [a].[Name], [a].[NormalizedName], [a].[UpdatedBy], [a].[UserType] FROM [AspNetRoles] AS [a] WHERE [a].[NormalizedName] = @__normalizedName_0 2025-11-25 11:56:41.7391|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__role_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[ClaimType], [a].[ClaimValue] FROM [AspNetRoleClaims] AS [a] WHERE [a].[RoleId] = @__role_Id_0 2025-11-25 11:56:41.7391|10|INFO|Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationHandler|AuthenticationScheme: Identity.Application signed in. 2025-11-25 11:56:41.7547|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[NormalizedUserName] = @__normalizedUserName_0 2025-11-25 11:56:41.7547|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 11:56:41.7547|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [p].[Code] FROM [UserPermissions] AS [u] INNER JOIN [Permissions] AS [p] ON [u].[PermissionId] = [p].[Id] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 11:56:41.7725|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (8ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 11:56:41.7725|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p6='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [UserToken] SET [DateCreated] = @p0, [ExpiryDate] = @p1, [IsActive] = @p2, [SessionExpiryDate] = @p3, [Token] = @p4, [UserId] = @p5 WHERE [Id] = @p6; SELECT @@ROWCOUNT; 2025-11-25 11:56:41.7725|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; INSERT INTO [UserToken] ([DateCreated], [ExpiryDate], [IsActive], [SessionExpiryDate], [Token], [UserId]) VALUES (@p0, @p1, @p2, @p3, @p4, @p5); SELECT [Id] FROM [UserToken] WHERE @@ROWCOUNT = 1 AND [Id] = scope_identity(); 2025-11-25 11:56:41.7873|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 11:56:41.7873||INFO|Authentication.Controllers.AccountController|userlcaulker@MOF role is gotten 2025-11-25 11:56:41.7873|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [u].[Id], [u].[CreatedBy], [u].[DateCreated], [u].[DateUpdated], [u].[IsActive], [u].[IsDeleted], [u].[PermissionId], [u].[RowVersion], [u].[UpdatedBy], [u].[UserId] FROM [UserPermissions] AS [u] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 11:56:41.7873|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 11:56:41.7873|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 11:56:41.8004|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 11:56:41.8004|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 11:56:41.8004|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 11:56:41.8004|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 11:56:41.8004|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 11:56:41.8004|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 11:56:41.8170|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 11:56:41.8170||INFO|Authentication.Controllers.AccountController|user lcaulker@MOF is signin but about to call corporate service 2025-11-25 11:56:41.8698|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'AuditTrailUtility.Utility.SaveResponse'. 2025-11-25 11:56:41.8698|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.SignIn (Authentication) in 154.8577ms 2025-11-25 11:56:41.8698|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.SignIn (Authentication)' 2025-11-25 11:56:41.8800|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 169.6462ms 200 application/json; charset=utf-8 2025-11-25 11:56:41.9574|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/Admin/GetAllUsersByCorporateId?corporateId=207 2025-11-25 11:56:41.9574|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 11:56:41.9574|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 7.7144ms 204 2025-11-25 11:56:41.9834|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/Admin/GetAllUsersByCorporateId?corporateId=207 2025-11-25 11:56:41.9875|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 11:56:41.9875|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.GetAllUsersByCorporateId (Authentication)' 2025-11-25 11:56:41.9875|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllUsersByCorporateId", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllUsersByCorporateId(Int64) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 11:56:41.9875|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 11:56:42.0065|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__corporateId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[UserTypeId] = @__corporateId_0 2025-11-25 11:56:42.0065|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[Authentication.Data.Models.Identity.UserBindingModel, Authentication.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2025-11-25 11:56:42.0185|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.GetAllUsersByCorporateId (Authentication) in 17.4393ms 2025-11-25 11:56:42.0185|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.GetAllUsersByCorporateId (Authentication)' 2025-11-25 11:56:42.0185|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 39.373ms 200 application/json; charset=utf-8 2025-11-25 11:57:08.6770|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=vsJ0twWxXKplZZRmLygtb2AsfAaz2qDKPVP+fhAtcvo= 2025-11-25 11:57:08.6770|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 11:57:08.6770|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 4.0503ms 204 2025-11-25 11:57:08.6770|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=vsJ0twWxXKplZZRmLygtb2AsfAaz2qDKPVP+fhAtcvo= 2025-11-25 11:57:08.6770|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=vsJ0twWxXKplZZRmLygtb2AsfAaz2qDKPVP+fhAtcvo= 2025-11-25 11:57:08.6770|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 11:57:08.6770|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 5.121ms 204 2025-11-25 11:57:08.6770|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=vsJ0twWxXKplZZRmLygtb2AsfAaz2qDKPVP+fhAtcvo= 0 2025-11-25 11:57:08.6770|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 11:57:08.6770|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 11:57:08.6770|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 7.7818ms 204 2025-11-25 11:57:08.6770|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 11:57:08.6927|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=vsJ0twWxXKplZZRmLygtb2AsfAaz2qDKPVP+fhAtcvo= 0 2025-11-25 11:57:08.6927|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "RefreshToken", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] RefreshToken(System.String) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 11:57:08.6927|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 11:57:08.6927|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=vsJ0twWxXKplZZRmLygtb2AsfAaz2qDKPVP+fhAtcvo= 0 2025-11-25 11:57:08.6927|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 11:57:08.6927|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 11:57:08.6927|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 11:57:08.6927|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "RefreshToken", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] RefreshToken(System.String) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 11:57:08.6927|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 11:57:08.6927|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 11:57:08.6927|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "RefreshToken", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] RefreshToken(System.String) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 11:57:08.6927|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 11:57:08.7163|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (17ms) [Parameters=[@__Token_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE [u].[Token] = @__Token_0 2025-11-25 11:57:08.7163|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'Microsoft.AspNetCore.Mvc.ProblemDetails'. 2025-11-25 11:57:08.7163|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (13ms) [Parameters=[@__Token_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE [u].[Token] = @__Token_0 2025-11-25 11:57:08.7163|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.RefreshToken (Authentication) in 23.5382ms 2025-11-25 11:57:08.7163|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'Microsoft.AspNetCore.Mvc.ProblemDetails'. 2025-11-25 11:57:08.7163|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 11:57:08.7236|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.RefreshToken (Authentication) in 21.7859ms 2025-11-25 11:57:08.7236|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 38.3851ms 401 application/problem+json; charset=utf-8 2025-11-25 11:57:08.7236|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 11:57:08.7236|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 34.9335ms 401 application/problem+json; charset=utf-8 2025-11-25 11:57:08.7236|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (13ms) [Parameters=[@__Token_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE [u].[Token] = @__Token_0 2025-11-25 11:57:08.7236|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'Microsoft.AspNetCore.Mvc.ProblemDetails'. 2025-11-25 11:57:08.7236|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.RefreshToken (Authentication) in 27.374ms 2025-11-25 11:57:08.7236|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 11:57:08.7236|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 40.1123ms 401 application/problem+json; charset=utf-8 2025-11-25 11:57:18.1239|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignIn 2025-11-25 11:57:18.1239|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 11:57:18.1239|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 5.3467ms 204 2025-11-25 11:57:18.1336|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignIn application/json 64 2025-11-25 11:57:18.1336|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 11:57:18.1336|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.SignIn (Authentication)' 2025-11-25 11:57:18.1336|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "SignIn", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] SignIn(Authentication.Data.Models.Identity.AuthBindingModel) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 11:57:18.1336|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 11:57:18.1466|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (6ms) [Parameters=[@__ToLower_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE LOWER([a].[UserName]) = @__ToLower_0 2025-11-25 11:57:18.1466|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (3ms) [Parameters=[@__checkUser_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__checkUser_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) ORDER BY [u].[Id] DESC 2025-11-25 11:57:18.1466|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (3ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[NormalizedUserName] = @__normalizedUserName_0 2025-11-25 11:57:18.1677|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[ClaimType], [a].[ClaimValue], [a].[Discriminator], [a].[UserId] FROM [AspNetUserClaims] AS [a] WHERE [a].[Discriminator] IN (N'IdentityUserClaim', N'UserClaim') AND ([a].[UserId] = @__user_Id_0) 2025-11-25 11:57:18.1677|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 11:57:18.1677|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (3ms) [Parameters=[@__normalizedName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[InstitutionId], [a].[IsActive], [a].[Name], [a].[NormalizedName], [a].[UpdatedBy], [a].[UserType] FROM [AspNetRoles] AS [a] WHERE [a].[NormalizedName] = @__normalizedName_0 2025-11-25 11:57:18.1800|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__role_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[ClaimType], [a].[ClaimValue] FROM [AspNetRoleClaims] AS [a] WHERE [a].[RoleId] = @__role_Id_0 2025-11-25 11:57:18.1800|10|INFO|Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationHandler|AuthenticationScheme: Identity.Application signed in. 2025-11-25 11:57:18.1800|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (5ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[NormalizedUserName] = @__normalizedUserName_0 2025-11-25 11:57:18.1965|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 11:57:18.1965|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [p].[Code] FROM [UserPermissions] AS [u] INNER JOIN [Permissions] AS [p] ON [u].[PermissionId] = [p].[Id] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 11:57:18.2174|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (13ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 11:57:18.2255|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (3ms) [Parameters=[@p6='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [UserToken] SET [DateCreated] = @p0, [ExpiryDate] = @p1, [IsActive] = @p2, [SessionExpiryDate] = @p3, [Token] = @p4, [UserId] = @p5 WHERE [Id] = @p6; SELECT @@ROWCOUNT; 2025-11-25 11:57:18.2255|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; INSERT INTO [UserToken] ([DateCreated], [ExpiryDate], [IsActive], [SessionExpiryDate], [Token], [UserId]) VALUES (@p0, @p1, @p2, @p3, @p4, @p5); SELECT [Id] FROM [UserToken] WHERE @@ROWCOUNT = 1 AND [Id] = scope_identity(); 2025-11-25 11:57:18.2422|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 11:57:18.2422||INFO|Authentication.Controllers.AccountController|userybangura@MOF role is gotten 2025-11-25 11:57:18.2422|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (3ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [u].[Id], [u].[CreatedBy], [u].[DateCreated], [u].[DateUpdated], [u].[IsActive], [u].[IsDeleted], [u].[PermissionId], [u].[RowVersion], [u].[UpdatedBy], [u].[UserId] FROM [UserPermissions] AS [u] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 11:57:18.2546|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 11:57:18.2546|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 11:57:18.2546|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 11:57:18.2546|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 11:57:18.2546|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (0ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 11:57:18.2546|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (0ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 11:57:18.2546||INFO|Authentication.Controllers.AccountController|user ybangura@MOF is signin but about to call corporate service 2025-11-25 11:57:18.3135|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'AuditTrailUtility.Utility.SaveResponse'. 2025-11-25 11:57:18.3135|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.SignIn (Authentication) in 178.7236ms 2025-11-25 11:57:18.3192|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.SignIn (Authentication)' 2025-11-25 11:57:18.3192|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 188.1724ms 200 application/json; charset=utf-8 2025-11-25 11:57:18.3717|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/Admin/GetAllUsersByCorporateId?corporateId=207 2025-11-25 11:57:18.3717|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 11:57:18.3796|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 7.9233ms 204 2025-11-25 11:57:18.3796|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/Admin/GetAllUsersByCorporateId?corporateId=207 2025-11-25 11:57:18.3796|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 11:57:18.3796|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.GetAllUsersByCorporateId (Authentication)' 2025-11-25 11:57:18.3796|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllUsersByCorporateId", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllUsersByCorporateId(Int64) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 11:57:18.3796|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 11:57:18.4012|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__corporateId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[UserTypeId] = @__corporateId_0 2025-11-25 11:57:18.4012|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[Authentication.Data.Models.Identity.UserBindingModel, Authentication.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2025-11-25 11:57:18.4012|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.GetAllUsersByCorporateId (Authentication) in 14.6829ms 2025-11-25 11:57:18.4122|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.GetAllUsersByCorporateId (Authentication)' 2025-11-25 11:57:18.4122|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 30.505ms 200 application/json; charset=utf-8 2025-11-25 11:58:29.4093|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=9kOD9px+KPkF3qyXmZoGu6ZQ8UA8mz73pMrjm1OgSew= 2025-11-25 11:58:29.4093|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=9kOD9px+KPkF3qyXmZoGu6ZQ8UA8mz73pMrjm1OgSew= 2025-11-25 11:58:29.4093|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 11:58:29.4093|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 11:58:29.4093|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 5.5579ms 204 2025-11-25 11:58:29.4093|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6.5706ms 204 2025-11-25 11:58:29.4197|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=9kOD9px+KPkF3qyXmZoGu6ZQ8UA8mz73pMrjm1OgSew= 0 2025-11-25 11:58:29.4197|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 11:58:29.4197|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=9kOD9px+KPkF3qyXmZoGu6ZQ8UA8mz73pMrjm1OgSew= 0 2025-11-25 11:58:29.4197|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 11:58:29.4197|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 11:58:29.4197|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "RefreshToken", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] RefreshToken(System.String) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 11:58:29.4197|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 11:58:29.4197|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 11:58:29.4197|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "RefreshToken", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] RefreshToken(System.String) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 11:58:29.4197|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=9kOD9px+KPkF3qyXmZoGu6ZQ8UA8mz73pMrjm1OgSew= 0 2025-11-25 11:58:29.4197|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=9kOD9px+KPkF3qyXmZoGu6ZQ8UA8mz73pMrjm1OgSew= 0 2025-11-25 11:58:29.4197|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=9kOD9px+KPkF3qyXmZoGu6ZQ8UA8mz73pMrjm1OgSew= 0 2025-11-25 11:58:29.4197|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 11:58:29.4339|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 11:58:29.4339|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 11:58:29.4339|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 11:58:29.4339|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 11:58:29.4339|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 11:58:29.4339|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 11:58:29.4339|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "RefreshToken", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] RefreshToken(System.String) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 11:58:29.4339|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "RefreshToken", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] RefreshToken(System.String) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 11:58:29.4339|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "RefreshToken", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] RefreshToken(System.String) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 11:58:29.4339|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 11:58:29.4339|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 11:58:29.4339|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 11:58:29.4503|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (20ms) [Parameters=[@__Token_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE [u].[Token] = @__Token_0 2025-11-25 11:58:29.4503|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (17ms) [Parameters=[@__Token_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE [u].[Token] = @__Token_0 2025-11-25 11:58:29.4503|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'Microsoft.AspNetCore.Mvc.ProblemDetails'. 2025-11-25 11:58:29.4503|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'Microsoft.AspNetCore.Mvc.ProblemDetails'. 2025-11-25 11:58:29.4503|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.RefreshToken (Authentication) in 30.7316ms 2025-11-25 11:58:29.4503|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.RefreshToken (Authentication) in 27.8155ms 2025-11-25 11:58:29.4503|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 11:58:29.4503|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 11:58:29.4503|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 43.0598ms 401 application/problem+json; charset=utf-8 2025-11-25 11:58:29.4503|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 41.9ms 401 application/problem+json; charset=utf-8 2025-11-25 11:58:29.4658|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (14ms) [Parameters=[@__Token_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE [u].[Token] = @__Token_0 2025-11-25 11:58:29.4658|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (13ms) [Parameters=[@__Token_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE [u].[Token] = @__Token_0 2025-11-25 11:58:29.4658|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'Microsoft.AspNetCore.Mvc.ProblemDetails'. 2025-11-25 11:58:29.4658|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'Microsoft.AspNetCore.Mvc.ProblemDetails'. 2025-11-25 11:58:29.4658|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (12ms) [Parameters=[@__Token_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE [u].[Token] = @__Token_0 2025-11-25 11:58:29.4658|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.RefreshToken (Authentication) in 26.5555ms 2025-11-25 11:58:29.4658|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.RefreshToken (Authentication) in 26.2848ms 2025-11-25 11:58:29.4658|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'Microsoft.AspNetCore.Mvc.ProblemDetails'. 2025-11-25 11:58:29.4658|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 11:58:29.4658|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 11:58:29.4812|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.RefreshToken (Authentication) in 33.6885ms 2025-11-25 11:58:29.4812|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 53.0426ms 401 application/problem+json; charset=utf-8 2025-11-25 11:58:29.4812|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 54.4704ms 401 application/problem+json; charset=utf-8 2025-11-25 11:58:29.4812|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 11:58:29.4812|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 61.611ms 401 application/problem+json; charset=utf-8 2025-11-25 11:58:37.6560|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignIn 2025-11-25 11:58:37.6560|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 11:58:37.6560|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 5.334ms 204 2025-11-25 11:58:37.6677|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignIn application/json 60 2025-11-25 11:58:37.6677|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 11:58:37.6677|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.SignIn (Authentication)' 2025-11-25 11:58:37.6677|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "SignIn", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] SignIn(Authentication.Data.Models.Identity.AuthBindingModel) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 11:58:37.6677|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 11:58:37.6677|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__ToLower_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE LOWER([a].[UserName]) = @__ToLower_0 2025-11-25 11:58:37.6806|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__checkUser_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__checkUser_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) ORDER BY [u].[Id] DESC 2025-11-25 11:58:37.6806|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[NormalizedUserName] = @__normalizedUserName_0 2025-11-25 11:58:37.6806|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[ClaimType], [a].[ClaimValue], [a].[Discriminator], [a].[UserId] FROM [AspNetUserClaims] AS [a] WHERE [a].[Discriminator] IN (N'IdentityUserClaim', N'UserClaim') AND ([a].[UserId] = @__user_Id_0) 2025-11-25 11:58:37.6806|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 11:58:37.6960|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__normalizedName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[InstitutionId], [a].[IsActive], [a].[Name], [a].[NormalizedName], [a].[UpdatedBy], [a].[UserType] FROM [AspNetRoles] AS [a] WHERE [a].[NormalizedName] = @__normalizedName_0 2025-11-25 11:58:37.6960|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__role_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[ClaimType], [a].[ClaimValue] FROM [AspNetRoleClaims] AS [a] WHERE [a].[RoleId] = @__role_Id_0 2025-11-25 11:58:37.6960|10|INFO|Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationHandler|AuthenticationScheme: Identity.Application signed in. 2025-11-25 11:58:37.6960|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[NormalizedUserName] = @__normalizedUserName_0 2025-11-25 11:58:37.7115|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 11:58:37.7115|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [p].[Code] FROM [UserPermissions] AS [u] INNER JOIN [Permissions] AS [p] ON [u].[PermissionId] = [p].[Id] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 11:58:37.7291|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (13ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 11:58:37.7291|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p6='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [UserToken] SET [DateCreated] = @p0, [ExpiryDate] = @p1, [IsActive] = @p2, [SessionExpiryDate] = @p3, [Token] = @p4, [UserId] = @p5 WHERE [Id] = @p6; SELECT @@ROWCOUNT; 2025-11-25 11:58:37.7291|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; INSERT INTO [UserToken] ([DateCreated], [ExpiryDate], [IsActive], [SessionExpiryDate], [Token], [UserId]) VALUES (@p0, @p1, @p2, @p3, @p4, @p5); SELECT [Id] FROM [UserToken] WHERE @@ROWCOUNT = 1 AND [Id] = scope_identity(); 2025-11-25 11:58:37.7442|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 11:58:37.7442||INFO|Authentication.Controllers.AccountController|usersjalloh@MOF role is gotten 2025-11-25 11:58:37.7442|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [u].[Id], [u].[CreatedBy], [u].[DateCreated], [u].[DateUpdated], [u].[IsActive], [u].[IsDeleted], [u].[PermissionId], [u].[RowVersion], [u].[UpdatedBy], [u].[UserId] FROM [UserPermissions] AS [u] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 11:58:37.7442|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 11:58:37.7585|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 11:58:37.7585|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 11:58:37.7585|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 11:58:37.7585||INFO|Authentication.Controllers.AccountController|user sjalloh@MOF is signin but about to call corporate service 2025-11-25 11:58:37.8116|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'AuditTrailUtility.Utility.SaveResponse'. 2025-11-25 11:58:37.8116|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.SignIn (Authentication) in 140.5463ms 2025-11-25 11:58:37.8116|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.SignIn (Authentication)' 2025-11-25 11:58:37.8116|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 149.0326ms 200 application/json; charset=utf-8 2025-11-25 11:58:37.8393|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/Admin/GetAllUsersByCorporateId?corporateId=207 2025-11-25 11:58:37.8393|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 11:58:37.8393|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 7.0177ms 204 2025-11-25 11:58:37.8393|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/Admin/GetAllUsersByCorporateId?corporateId=207 2025-11-25 11:58:37.8563|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 11:58:37.8563|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.GetAllUsersByCorporateId (Authentication)' 2025-11-25 11:58:37.8563|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllUsersByCorporateId", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllUsersByCorporateId(Int64) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 11:58:37.8563|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 11:58:37.8701|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__corporateId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[UserTypeId] = @__corporateId_0 2025-11-25 11:58:37.8701|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[Authentication.Data.Models.Identity.UserBindingModel, Authentication.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2025-11-25 11:58:37.8701|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.GetAllUsersByCorporateId (Authentication) in 12.7827ms 2025-11-25 11:58:37.8701|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.GetAllUsersByCorporateId (Authentication)' 2025-11-25 11:58:37.8701|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 31.1052ms 200 application/json; charset=utf-8 2025-11-25 12:03:51.0736|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=cHk7aA9JHFEF80hnVhQpQucL7EJdH8CoV+3kXOZ8voA= 2025-11-25 12:03:51.0736|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 12:03:51.0736|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 3.9936ms 204 2025-11-25 12:03:51.0736|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=cHk7aA9JHFEF80hnVhQpQucL7EJdH8CoV+3kXOZ8voA= 2025-11-25 12:03:51.0736|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 12:03:51.0736|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 4.8602ms 204 2025-11-25 12:03:51.0736|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=cHk7aA9JHFEF80hnVhQpQucL7EJdH8CoV+3kXOZ8voA= 0 2025-11-25 12:03:51.0736|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 12:03:51.0736|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 12:03:51.0877|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "RefreshToken", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] RefreshToken(System.String) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 12:03:51.0877|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=cHk7aA9JHFEF80hnVhQpQucL7EJdH8CoV+3kXOZ8voA= 0 2025-11-25 12:03:51.0877|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 12:03:51.0877|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=cHk7aA9JHFEF80hnVhQpQucL7EJdH8CoV+3kXOZ8voA= 0 2025-11-25 12:03:51.0877|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 12:03:51.0877|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=cHk7aA9JHFEF80hnVhQpQucL7EJdH8CoV+3kXOZ8voA= 0 2025-11-25 12:03:51.0877|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=cHk7aA9JHFEF80hnVhQpQucL7EJdH8CoV+3kXOZ8voA= 0 2025-11-25 12:03:51.0877|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 12:03:51.0877|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 12:03:51.0877|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 12:03:51.0877|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 12:03:51.0877|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 12:03:51.0877|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "RefreshToken", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] RefreshToken(System.String) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 12:03:51.0877|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 12:03:51.0877|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 12:03:51.0877|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "RefreshToken", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] RefreshToken(System.String) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 12:03:51.1044|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 12:03:51.1044|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "RefreshToken", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] RefreshToken(System.String) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 12:03:51.1044|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "RefreshToken", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] RefreshToken(System.String) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 12:03:51.1044|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 12:03:51.1044|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 12:03:51.1044|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 12:03:51.1044|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (19ms) [Parameters=[@__Token_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE [u].[Token] = @__Token_0 2025-11-25 12:03:51.1206|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'Microsoft.AspNetCore.Mvc.ProblemDetails'. 2025-11-25 12:03:51.1206|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.RefreshToken (Authentication) in 32.951ms 2025-11-25 12:03:51.1206|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 12:03:51.1206|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 41.3801ms 401 application/problem+json; charset=utf-8 2025-11-25 12:03:51.1206|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (14ms) [Parameters=[@__Token_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE [u].[Token] = @__Token_0 2025-11-25 12:03:51.1206|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'Microsoft.AspNetCore.Mvc.ProblemDetails'. 2025-11-25 12:03:51.1206|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (13ms) [Parameters=[@__Token_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE [u].[Token] = @__Token_0 2025-11-25 12:03:51.1206|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.RefreshToken (Authentication) in 30.0562ms 2025-11-25 12:03:51.1357|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'Microsoft.AspNetCore.Mvc.ProblemDetails'. 2025-11-25 12:03:51.1357|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 12:03:51.1357|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.RefreshToken (Authentication) in 28.9213ms 2025-11-25 12:03:51.1357|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (14ms) [Parameters=[@__Token_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE [u].[Token] = @__Token_0 2025-11-25 12:03:51.1357|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 51.755ms 401 application/problem+json; charset=utf-8 2025-11-25 12:03:51.1357|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 12:03:51.1357|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'Microsoft.AspNetCore.Mvc.ProblemDetails'. 2025-11-25 12:03:51.1357|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 52.4598ms 401 application/problem+json; charset=utf-8 2025-11-25 12:03:51.1357|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.RefreshToken (Authentication) in 38.0508ms 2025-11-25 12:03:51.1357|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 12:03:51.1357|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (16ms) [Parameters=[@__Token_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE [u].[Token] = @__Token_0 2025-11-25 12:03:51.1503|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 58.2713ms 401 application/problem+json; charset=utf-8 2025-11-25 12:03:51.1503|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'Microsoft.AspNetCore.Mvc.ProblemDetails'. 2025-11-25 12:03:51.1503|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.RefreshToken (Authentication) in 44.4705ms 2025-11-25 12:03:51.1503|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 12:03:51.1503|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 70.1444ms 401 application/problem+json; charset=utf-8 2025-11-25 12:03:59.5674|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignIn 2025-11-25 12:03:59.5674|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 12:03:59.5674|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 5.2717ms 204 2025-11-25 12:03:59.5881|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignIn application/json 59 2025-11-25 12:03:59.5904|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 12:03:59.5904|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.SignIn (Authentication)' 2025-11-25 12:03:59.5904|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "SignIn", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] SignIn(Authentication.Data.Models.Identity.AuthBindingModel) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 12:03:59.5904|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 12:03:59.5904|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__ToLower_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE LOWER([a].[UserName]) = @__ToLower_0 2025-11-25 12:03:59.5904|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__checkUser_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__checkUser_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) ORDER BY [u].[Id] DESC 2025-11-25 12:03:59.6050|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[NormalizedUserName] = @__normalizedUserName_0 2025-11-25 12:03:59.6050|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[ClaimType], [a].[ClaimValue], [a].[Discriminator], [a].[UserId] FROM [AspNetUserClaims] AS [a] WHERE [a].[Discriminator] IN (N'IdentityUserClaim', N'UserClaim') AND ([a].[UserId] = @__user_Id_0) 2025-11-25 12:03:59.6218|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 12:03:59.6218|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__normalizedName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[InstitutionId], [a].[IsActive], [a].[Name], [a].[NormalizedName], [a].[UpdatedBy], [a].[UserType] FROM [AspNetRoles] AS [a] WHERE [a].[NormalizedName] = @__normalizedName_0 2025-11-25 12:03:59.6218|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__role_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[ClaimType], [a].[ClaimValue] FROM [AspNetRoleClaims] AS [a] WHERE [a].[RoleId] = @__role_Id_0 2025-11-25 12:03:59.6218|10|INFO|Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationHandler|AuthenticationScheme: Identity.Application signed in. 2025-11-25 12:03:59.6218|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[NormalizedUserName] = @__normalizedUserName_0 2025-11-25 12:03:59.6436|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 12:03:59.6436|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [p].[Code] FROM [UserPermissions] AS [u] INNER JOIN [Permissions] AS [p] ON [u].[PermissionId] = [p].[Id] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 12:03:59.6527|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (5ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 12:03:59.6527|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p6='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [UserToken] SET [DateCreated] = @p0, [ExpiryDate] = @p1, [IsActive] = @p2, [SessionExpiryDate] = @p3, [Token] = @p4, [UserId] = @p5 WHERE [Id] = @p6; SELECT @@ROWCOUNT; 2025-11-25 12:03:59.6527|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; INSERT INTO [UserToken] ([DateCreated], [ExpiryDate], [IsActive], [SessionExpiryDate], [Token], [UserId]) VALUES (@p0, @p1, @p2, @p3, @p4, @p5); SELECT [Id] FROM [UserToken] WHERE @@ROWCOUNT = 1 AND [Id] = scope_identity(); 2025-11-25 12:03:59.6527|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 12:03:59.6673||INFO|Authentication.Controllers.AccountController|userrcoker@MOF role is gotten 2025-11-25 12:03:59.6673|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [u].[Id], [u].[CreatedBy], [u].[DateCreated], [u].[DateUpdated], [u].[IsActive], [u].[IsDeleted], [u].[PermissionId], [u].[RowVersion], [u].[UpdatedBy], [u].[UserId] FROM [UserPermissions] AS [u] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 12:03:59.6673|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 12:03:59.6673|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 12:03:59.6673|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 12:03:59.6840|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 12:03:59.6840|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 12:03:59.6840|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 12:03:59.6840|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 12:03:59.6840|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 12:03:59.6840|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 12:03:59.6840|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (0ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 12:03:59.6840||INFO|Authentication.Controllers.AccountController|user rcoker@MOF is signin but about to call corporate service 2025-11-25 12:03:59.7423|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'AuditTrailUtility.Utility.SaveResponse'. 2025-11-25 12:03:59.7447|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.SignIn (Authentication) in 150.8183ms 2025-11-25 12:03:59.7447|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.SignIn (Authentication)' 2025-11-25 12:03:59.7447|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 160.2199ms 200 application/json; charset=utf-8 2025-11-25 12:03:59.7681|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/Admin/GetAllUsersByCorporateId?corporateId=207 2025-11-25 12:03:59.7681|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 12:03:59.7681|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6.078ms 204 2025-11-25 12:03:59.7811|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/Admin/GetAllUsersByCorporateId?corporateId=207 2025-11-25 12:03:59.7811|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 12:03:59.7811|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.GetAllUsersByCorporateId (Authentication)' 2025-11-25 12:03:59.7811|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllUsersByCorporateId", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllUsersByCorporateId(Int64) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 12:03:59.7944|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 12:03:59.7944|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__corporateId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[UserTypeId] = @__corporateId_0 2025-11-25 12:03:59.8101|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[Authentication.Data.Models.Identity.UserBindingModel, Authentication.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2025-11-25 12:03:59.8101|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.GetAllUsersByCorporateId (Authentication) in 23.85ms 2025-11-25 12:03:59.8277|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.GetAllUsersByCorporateId (Authentication)' 2025-11-25 12:03:59.8277|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 50.9728ms 200 application/json; charset=utf-8 2025-11-25 12:08:06.5820|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignOut/521 2025-11-25 12:08:06.5855|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 12:08:06.5855|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6.0035ms 204 2025-11-25 12:08:06.6621|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignOut/521 2025-11-25 12:08:06.6621|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 12:08:06.6621|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.SignOut (Authentication)' 2025-11-25 12:08:06.6621|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "SignOut", controller = "Account"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult SignOut(Int64) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 12:08:06.6621|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 12:08:06.6895|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (12ms) [Parameters=[@__UserId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__UserId_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 12:08:06.6972|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p6='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [UserToken] SET [DateCreated] = @p0, [ExpiryDate] = @p1, [IsActive] = @p2, [SessionExpiryDate] = @p3, [Token] = @p4, [UserId] = @p5 WHERE [Id] = @p6; SELECT @@ROWCOUNT; 2025-11-25 12:08:06.6972|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'AuditTrailUtility.Utility.SaveResponse'. 2025-11-25 12:08:06.6972|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.SignOut (Authentication) in 31.7461ms 2025-11-25 12:08:06.7076|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.SignOut (Authentication)' 2025-11-25 12:08:06.7076|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 47.7981ms 200 application/json; charset=utf-8 2025-11-25 12:08:33.0148|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignIn 2025-11-25 12:08:33.0148|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 12:08:33.0148|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 2.9096ms 204 2025-11-25 12:08:33.0253|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignIn application/json 65 2025-11-25 12:08:33.0253|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 12:08:33.0253|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.SignIn (Authentication)' 2025-11-25 12:08:33.0253|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "SignIn", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] SignIn(Authentication.Data.Models.Identity.AuthBindingModel) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 12:08:33.0253|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 12:08:33.0253|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__ToLower_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE LOWER([a].[UserName]) = @__ToLower_0 2025-11-25 12:08:33.0373|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__checkUser_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__checkUser_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) ORDER BY [u].[Id] DESC 2025-11-25 12:08:33.0373|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[NormalizedUserName] = @__normalizedUserName_0 2025-11-25 12:08:33.0373|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[ClaimType], [a].[ClaimValue], [a].[Discriminator], [a].[UserId] FROM [AspNetUserClaims] AS [a] WHERE [a].[Discriminator] IN (N'IdentityUserClaim', N'UserClaim') AND ([a].[UserId] = @__user_Id_0) 2025-11-25 12:08:33.0373|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 12:08:33.0373|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__normalizedName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[InstitutionId], [a].[IsActive], [a].[Name], [a].[NormalizedName], [a].[UpdatedBy], [a].[UserType] FROM [AspNetRoles] AS [a] WHERE [a].[NormalizedName] = @__normalizedName_0 2025-11-25 12:08:33.0518|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__role_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[ClaimType], [a].[ClaimValue] FROM [AspNetRoleClaims] AS [a] WHERE [a].[RoleId] = @__role_Id_0 2025-11-25 12:08:33.0518|10|INFO|Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationHandler|AuthenticationScheme: Identity.Application signed in. 2025-11-25 12:08:33.0518|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[NormalizedUserName] = @__normalizedUserName_0 2025-11-25 12:08:33.0518|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 12:08:33.0699|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [p].[Code] FROM [UserPermissions] AS [u] INNER JOIN [Permissions] AS [p] ON [u].[PermissionId] = [p].[Id] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 12:08:33.0699|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (5ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 12:08:33.0852|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@p6='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [UserToken] SET [DateCreated] = @p0, [ExpiryDate] = @p1, [IsActive] = @p2, [SessionExpiryDate] = @p3, [Token] = @p4, [UserId] = @p5 WHERE [Id] = @p6; SELECT @@ROWCOUNT; 2025-11-25 12:08:33.0852|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; INSERT INTO [UserToken] ([DateCreated], [ExpiryDate], [IsActive], [SessionExpiryDate], [Token], [UserId]) VALUES (@p0, @p1, @p2, @p3, @p4, @p5); SELECT [Id] FROM [UserToken] WHERE @@ROWCOUNT = 1 AND [Id] = scope_identity(); 2025-11-25 12:08:33.0994|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 12:08:33.0994||INFO|Authentication.Controllers.AccountController|usermmohai@MOF role is gotten 2025-11-25 12:08:33.0994|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [u].[Id], [u].[CreatedBy], [u].[DateCreated], [u].[DateUpdated], [u].[IsActive], [u].[IsDeleted], [u].[PermissionId], [u].[RowVersion], [u].[UpdatedBy], [u].[UserId] FROM [UserPermissions] AS [u] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 12:08:33.1141|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 12:08:33.1141|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 12:08:33.1141|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 12:08:33.1141|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 12:08:33.1141|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 12:08:33.1302|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 12:08:33.1302|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 12:08:33.1302|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 12:08:33.1302|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 12:08:33.1302|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 12:08:33.1302|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 12:08:33.1302|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 12:08:33.1456|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 12:08:33.1456|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 12:08:33.1456|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 12:08:33.1456|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 12:08:33.1456||INFO|Authentication.Controllers.AccountController|user mmohai@MOF is signin but about to call corporate service 2025-11-25 12:08:33.2043|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'AuditTrailUtility.Utility.SaveResponse'. 2025-11-25 12:08:33.2043|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.SignIn (Authentication) in 176.0594ms 2025-11-25 12:08:33.2079|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.SignIn (Authentication)' 2025-11-25 12:08:33.2079|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 183.9307ms 200 application/json; charset=utf-8 2025-11-25 12:08:33.2976|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/Admin/GetAllUsersByCorporateId?corporateId=207 2025-11-25 12:08:33.2976|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 12:08:33.3036|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6.0398ms 204 2025-11-25 12:08:33.3180|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/Admin/GetAllUsersByCorporateId?corporateId=207 2025-11-25 12:08:33.3180|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 12:08:33.3180|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.GetAllUsersByCorporateId (Authentication)' 2025-11-25 12:08:33.3180|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllUsersByCorporateId", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllUsersByCorporateId(Int64) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 12:08:33.3180|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 12:08:33.3325|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__corporateId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[UserTypeId] = @__corporateId_0 2025-11-25 12:08:33.3325|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[Authentication.Data.Models.Identity.UserBindingModel, Authentication.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2025-11-25 12:08:33.3325|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.GetAllUsersByCorporateId (Authentication) in 8.658ms 2025-11-25 12:08:33.3325|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.GetAllUsersByCorporateId (Authentication)' 2025-11-25 12:08:33.3325|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 21.718ms 200 application/json; charset=utf-8 2025-11-25 12:13:30.9305|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=6pmkagpq1FCPszn7mE6LLF0s7kHxjDsqrCvyyNV+MFc= 2025-11-25 12:13:30.9305|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=6pmkagpq1FCPszn7mE6LLF0s7kHxjDsqrCvyyNV+MFc= 2025-11-25 12:13:30.9305|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 12:13:30.9305|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 12:13:30.9305|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 4.623ms 204 2025-11-25 12:13:30.9305|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 5.5442ms 204 2025-11-25 12:13:30.9305|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=6pmkagpq1FCPszn7mE6LLF0s7kHxjDsqrCvyyNV+MFc= 0 2025-11-25 12:13:30.9305|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=6pmkagpq1FCPszn7mE6LLF0s7kHxjDsqrCvyyNV+MFc= 0 2025-11-25 12:13:30.9305|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 12:13:30.9428|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 12:13:30.9428|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 12:13:30.9428|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 12:13:30.9428|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "RefreshToken", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] RefreshToken(System.String) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 12:13:30.9428|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "RefreshToken", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] RefreshToken(System.String) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 12:13:30.9428|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 12:13:30.9428|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 12:13:30.9428|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=6pmkagpq1FCPszn7mE6LLF0s7kHxjDsqrCvyyNV+MFc= 0 2025-11-25 12:13:30.9428|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 12:13:30.9428|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=6pmkagpq1FCPszn7mE6LLF0s7kHxjDsqrCvyyNV+MFc= 0 2025-11-25 12:13:30.9428|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=6pmkagpq1FCPszn7mE6LLF0s7kHxjDsqrCvyyNV+MFc= 0 2025-11-25 12:13:30.9428|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 12:13:30.9581|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 12:13:30.9581|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 12:13:30.9581|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "RefreshToken", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] RefreshToken(System.String) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 12:13:30.9581|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 12:13:30.9581|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 12:13:30.9581|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 12:13:30.9581|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "RefreshToken", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] RefreshToken(System.String) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 12:13:30.9581|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "RefreshToken", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] RefreshToken(System.String) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 12:13:30.9581|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 12:13:30.9581|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 12:13:30.9581|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (17ms) [Parameters=[@__Token_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE [u].[Token] = @__Token_0 2025-11-25 12:13:30.9581|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'Microsoft.AspNetCore.Mvc.ProblemDetails'. 2025-11-25 12:13:30.9744|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.RefreshToken (Authentication) in 24.9839ms 2025-11-25 12:13:30.9744|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 12:13:30.9744|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 37.3923ms 401 application/problem+json; charset=utf-8 2025-11-25 12:13:30.9744|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (19ms) [Parameters=[@__Token_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE [u].[Token] = @__Token_0 2025-11-25 12:13:30.9744|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'Microsoft.AspNetCore.Mvc.ProblemDetails'. 2025-11-25 12:13:30.9744|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.RefreshToken (Authentication) in 33.5464ms 2025-11-25 12:13:30.9744|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (12ms) [Parameters=[@__Token_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE [u].[Token] = @__Token_0 2025-11-25 12:13:30.9744|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 12:13:30.9744|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'Microsoft.AspNetCore.Mvc.ProblemDetails'. 2025-11-25 12:13:30.9744|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 47.9165ms 401 application/problem+json; charset=utf-8 2025-11-25 12:13:30.9744|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (14ms) [Parameters=[@__Token_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE [u].[Token] = @__Token_0 2025-11-25 12:13:30.9890|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.RefreshToken (Authentication) in 20.8165ms 2025-11-25 12:13:30.9890|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'Microsoft.AspNetCore.Mvc.ProblemDetails'. 2025-11-25 12:13:30.9890|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 12:13:30.9890|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.RefreshToken (Authentication) in 29.6753ms 2025-11-25 12:13:30.9890|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 38.7341ms 401 application/problem+json; charset=utf-8 2025-11-25 12:13:30.9890|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 12:13:30.9890|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (18ms) [Parameters=[@__Token_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE [u].[Token] = @__Token_0 2025-11-25 12:13:30.9890|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 46.3122ms 401 application/problem+json; charset=utf-8 2025-11-25 12:13:30.9890|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'Microsoft.AspNetCore.Mvc.ProblemDetails'. 2025-11-25 12:13:30.9890|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.RefreshToken (Authentication) in 32.8644ms 2025-11-25 12:13:30.9890|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 12:13:31.0061|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 49.7869ms 401 application/problem+json; charset=utf-8 2025-11-25 12:13:37.6675|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignIn 2025-11-25 12:13:37.6675|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 12:13:37.6675|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 5.9846ms 204 2025-11-25 12:13:37.6783|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignIn application/json 62 2025-11-25 12:13:37.6783|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 12:13:37.6783|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.SignIn (Authentication)' 2025-11-25 12:13:37.6783|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "SignIn", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] SignIn(Authentication.Data.Models.Identity.AuthBindingModel) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 12:13:37.6783|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 12:13:37.6783|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__ToLower_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE LOWER([a].[UserName]) = @__ToLower_0 2025-11-25 12:13:37.6783|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__checkUser_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__checkUser_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) ORDER BY [u].[Id] DESC 2025-11-25 12:13:37.6783|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[NormalizedUserName] = @__normalizedUserName_0 2025-11-25 12:13:37.6962|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[ClaimType], [a].[ClaimValue], [a].[Discriminator], [a].[UserId] FROM [AspNetUserClaims] AS [a] WHERE [a].[Discriminator] IN (N'IdentityUserClaim', N'UserClaim') AND ([a].[UserId] = @__user_Id_0) 2025-11-25 12:13:37.6962|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 12:13:37.6962|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__normalizedName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[InstitutionId], [a].[IsActive], [a].[Name], [a].[NormalizedName], [a].[UpdatedBy], [a].[UserType] FROM [AspNetRoles] AS [a] WHERE [a].[NormalizedName] = @__normalizedName_0 2025-11-25 12:13:37.6962|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__role_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[ClaimType], [a].[ClaimValue] FROM [AspNetRoleClaims] AS [a] WHERE [a].[RoleId] = @__role_Id_0 2025-11-25 12:13:37.7083|10|INFO|Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationHandler|AuthenticationScheme: Identity.Application signed in. 2025-11-25 12:13:37.7083|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[NormalizedUserName] = @__normalizedUserName_0 2025-11-25 12:13:37.7083|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 12:13:37.7083|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [p].[Code] FROM [UserPermissions] AS [u] INNER JOIN [Permissions] AS [p] ON [u].[PermissionId] = [p].[Id] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 12:13:37.7360|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (13ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 12:13:37.7404|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p6='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [UserToken] SET [DateCreated] = @p0, [ExpiryDate] = @p1, [IsActive] = @p2, [SessionExpiryDate] = @p3, [Token] = @p4, [UserId] = @p5 WHERE [Id] = @p6; SELECT @@ROWCOUNT; 2025-11-25 12:13:37.7404|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; INSERT INTO [UserToken] ([DateCreated], [ExpiryDate], [IsActive], [SessionExpiryDate], [Token], [UserId]) VALUES (@p0, @p1, @p2, @p3, @p4, @p5); SELECT [Id] FROM [UserToken] WHERE @@ROWCOUNT = 1 AND [Id] = scope_identity(); 2025-11-25 12:13:37.7404|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 12:13:37.7404||INFO|Authentication.Controllers.AccountController|userabconteh@MOF role is gotten 2025-11-25 12:13:37.7586|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [u].[Id], [u].[CreatedBy], [u].[DateCreated], [u].[DateUpdated], [u].[IsActive], [u].[IsDeleted], [u].[PermissionId], [u].[RowVersion], [u].[UpdatedBy], [u].[UserId] FROM [UserPermissions] AS [u] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 12:13:37.7586|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 12:13:37.7586|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 12:13:37.7586|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 12:13:37.7586|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 12:13:37.7709|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 12:13:37.7709|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 12:13:37.7709|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 12:13:37.7709|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 12:13:37.7709|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 12:13:37.7709||INFO|Authentication.Controllers.AccountController|user abconteh@MOF is signin but about to call corporate service 2025-11-25 12:13:37.8207|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'AuditTrailUtility.Utility.SaveResponse'. 2025-11-25 12:13:37.8207|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.SignIn (Authentication) in 140.4454ms 2025-11-25 12:13:37.8207|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.SignIn (Authentication)' 2025-11-25 12:13:37.8207|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 147.4243ms 200 application/json; charset=utf-8 2025-11-25 12:13:37.8816|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/Admin/GetAllUsersByCorporateId?corporateId=207 2025-11-25 12:13:37.8816|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 12:13:37.8816|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 5.453ms 204 2025-11-25 12:13:37.8816|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/Admin/GetAllUsersByCorporateId?corporateId=207 2025-11-25 12:13:37.8955|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 12:13:37.8955|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.GetAllUsersByCorporateId (Authentication)' 2025-11-25 12:13:37.8955|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllUsersByCorporateId", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllUsersByCorporateId(Int64) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 12:13:37.8955|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 12:13:37.8955|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__corporateId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[UserTypeId] = @__corporateId_0 2025-11-25 12:13:37.9129|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[Authentication.Data.Models.Identity.UserBindingModel, Authentication.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2025-11-25 12:13:37.9129|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.GetAllUsersByCorporateId (Authentication) in 15.2785ms 2025-11-25 12:13:37.9129|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.GetAllUsersByCorporateId (Authentication)' 2025-11-25 12:13:37.9129|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 29.0713ms 200 application/json; charset=utf-8 2025-11-25 12:17:51.8378|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignOut/492 2025-11-25 12:17:51.8378|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 12:17:51.8378|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 5.2978ms 204 2025-11-25 12:17:51.8936|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignOut/492 2025-11-25 12:17:51.8936|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 12:17:51.8936|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.SignOut (Authentication)' 2025-11-25 12:17:51.8936|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "SignOut", controller = "Account"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult SignOut(Int64) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 12:17:51.8936|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 12:17:51.9186|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (11ms) [Parameters=[@__UserId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__UserId_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 12:17:51.9224|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p6='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [UserToken] SET [DateCreated] = @p0, [ExpiryDate] = @p1, [IsActive] = @p2, [SessionExpiryDate] = @p3, [Token] = @p4, [UserId] = @p5 WHERE [Id] = @p6; SELECT @@ROWCOUNT; 2025-11-25 12:17:51.9224|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'AuditTrailUtility.Utility.SaveResponse'. 2025-11-25 12:17:51.9224|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.SignOut (Authentication) in 21.244ms 2025-11-25 12:17:51.9224|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.SignOut (Authentication)' 2025-11-25 12:17:51.9224|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 33.7052ms 200 application/json; charset=utf-8 2025-11-25 12:18:43.6557|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=QcKhqu6Fp+Wb4ld2imzOwXEXfcV7oG7OIs9WAtV15VU= 2025-11-25 12:18:43.6557|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 12:18:43.6557|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 5.5175ms 204 2025-11-25 12:18:43.6679|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=QcKhqu6Fp+Wb4ld2imzOwXEXfcV7oG7OIs9WAtV15VU= 0 2025-11-25 12:18:43.6679|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 12:18:43.6679|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 12:18:43.6679|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "RefreshToken", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] RefreshToken(System.String) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 12:18:43.6679|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 12:18:43.6973|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (18ms) [Parameters=[@__Token_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE [u].[Token] = @__Token_0 2025-11-25 12:18:43.6973|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'Microsoft.AspNetCore.Mvc.ProblemDetails'. 2025-11-25 12:18:43.6973|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.RefreshToken (Authentication) in 26.0926ms 2025-11-25 12:18:43.6973|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 12:18:43.6973|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 38.6434ms 401 application/problem+json; charset=utf-8 2025-11-25 12:18:53.6604|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignIn 2025-11-25 12:18:53.6604|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 12:18:53.6662|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 5.8773ms 204 2025-11-25 12:18:53.6662|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignIn application/json 60 2025-11-25 12:18:53.6662|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 12:18:53.6662|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.SignIn (Authentication)' 2025-11-25 12:18:53.6803|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "SignIn", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] SignIn(Authentication.Data.Models.Identity.AuthBindingModel) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 12:18:53.6803|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 12:18:53.7225|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (36ms) [Parameters=[@__ToLower_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE LOWER([a].[UserName]) = @__ToLower_0 2025-11-25 12:18:53.7278|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__checkUser_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__checkUser_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) ORDER BY [u].[Id] DESC 2025-11-25 12:18:53.7278|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[NormalizedUserName] = @__normalizedUserName_0 2025-11-25 12:18:53.7278|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[ClaimType], [a].[ClaimValue], [a].[Discriminator], [a].[UserId] FROM [AspNetUserClaims] AS [a] WHERE [a].[Discriminator] IN (N'IdentityUserClaim', N'UserClaim') AND ([a].[UserId] = @__user_Id_0) 2025-11-25 12:18:53.7278|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 12:18:53.7454|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__normalizedName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[InstitutionId], [a].[IsActive], [a].[Name], [a].[NormalizedName], [a].[UpdatedBy], [a].[UserType] FROM [AspNetRoles] AS [a] WHERE [a].[NormalizedName] = @__normalizedName_0 2025-11-25 12:18:53.7454|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__role_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[ClaimType], [a].[ClaimValue] FROM [AspNetRoleClaims] AS [a] WHERE [a].[RoleId] = @__role_Id_0 2025-11-25 12:18:53.7454|10|INFO|Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationHandler|AuthenticationScheme: Identity.Application signed in. 2025-11-25 12:18:53.7454|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[NormalizedUserName] = @__normalizedUserName_0 2025-11-25 12:18:53.7686|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 12:18:53.7742|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [p].[Code] FROM [UserPermissions] AS [u] INNER JOIN [Permissions] AS [p] ON [u].[PermissionId] = [p].[Id] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 12:18:53.7742|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (12ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 12:18:53.7961|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p6='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [UserToken] SET [DateCreated] = @p0, [ExpiryDate] = @p1, [IsActive] = @p2, [SessionExpiryDate] = @p3, [Token] = @p4, [UserId] = @p5 WHERE [Id] = @p6; SELECT @@ROWCOUNT; 2025-11-25 12:18:53.7961|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; INSERT INTO [UserToken] ([DateCreated], [ExpiryDate], [IsActive], [SessionExpiryDate], [Token], [UserId]) VALUES (@p0, @p1, @p2, @p3, @p4, @p5); SELECT [Id] FROM [UserToken] WHERE @@ROWCOUNT = 1 AND [Id] = scope_identity(); 2025-11-25 12:18:53.8112|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 12:18:53.8112||INFO|Authentication.Controllers.AccountController|usersjalloh@MOF role is gotten 2025-11-25 12:18:53.8112|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [u].[Id], [u].[CreatedBy], [u].[DateCreated], [u].[DateUpdated], [u].[IsActive], [u].[IsDeleted], [u].[PermissionId], [u].[RowVersion], [u].[UpdatedBy], [u].[UserId] FROM [UserPermissions] AS [u] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 12:18:53.8252|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 12:18:53.8252|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 12:18:53.8252|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 12:18:53.8252|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 12:18:53.8252||INFO|Authentication.Controllers.AccountController|user sjalloh@MOF is signin but about to call corporate service 2025-11-25 12:18:53.8841|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'AuditTrailUtility.Utility.SaveResponse'. 2025-11-25 12:18:53.8841|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.SignIn (Authentication) in 204.4512ms 2025-11-25 12:18:53.8841|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.SignIn (Authentication)' 2025-11-25 12:18:53.8841|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 217.3077ms 200 application/json; charset=utf-8 2025-11-25 12:18:53.9415|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/Admin/GetAllUsersByCorporateId?corporateId=207 2025-11-25 12:18:53.9415|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 12:18:53.9488|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 7.3032ms 204 2025-11-25 12:18:53.9488|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/Admin/GetAllUsersByCorporateId?corporateId=207 2025-11-25 12:18:53.9488|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 12:18:53.9488|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.GetAllUsersByCorporateId (Authentication)' 2025-11-25 12:18:53.9626|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllUsersByCorporateId", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllUsersByCorporateId(Int64) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 12:18:53.9626|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 12:18:54.0187|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (47ms) [Parameters=[@__corporateId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[UserTypeId] = @__corporateId_0 2025-11-25 12:18:54.0187|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[Authentication.Data.Models.Identity.UserBindingModel, Authentication.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2025-11-25 12:18:54.0187|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.GetAllUsersByCorporateId (Authentication) in 58.5961ms 2025-11-25 12:18:54.0258|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.GetAllUsersByCorporateId (Authentication)' 2025-11-25 12:18:54.0258|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 72.2221ms 200 application/json; charset=utf-8 2025-11-25 12:22:00.7229|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignOut/491 2025-11-25 12:22:00.7259|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 12:22:00.7259|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 4.4471ms 204 2025-11-25 12:22:00.7496|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignOut/491 2025-11-25 12:22:00.7496|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 12:22:00.7553|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.SignOut (Authentication)' 2025-11-25 12:22:00.7553|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "SignOut", controller = "Account"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult SignOut(Int64) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 12:22:00.7553|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 12:22:00.7553|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (7ms) [Parameters=[@__UserId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__UserId_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 12:22:00.7732|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p6='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [UserToken] SET [DateCreated] = @p0, [ExpiryDate] = @p1, [IsActive] = @p2, [SessionExpiryDate] = @p3, [Token] = @p4, [UserId] = @p5 WHERE [Id] = @p6; SELECT @@ROWCOUNT; 2025-11-25 12:22:00.7732|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'AuditTrailUtility.Utility.SaveResponse'. 2025-11-25 12:22:00.7732|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.SignOut (Authentication) in 19.733ms 2025-11-25 12:22:00.7732|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.SignOut (Authentication)' 2025-11-25 12:22:00.7732|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 31.515ms 200 application/json; charset=utf-8 2025-11-25 12:25:23.3071|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=sHDD2009XDb39hxm6Ygc9rR+MGQtmr2C5rcwfZLz8TQ= 2025-11-25 12:25:23.3071|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=sHDD2009XDb39hxm6Ygc9rR+MGQtmr2C5rcwfZLz8TQ= 2025-11-25 12:25:23.3071|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 12:25:23.3106|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 12:25:23.3106|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 4.9315ms 204 2025-11-25 12:25:23.3106|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6.3464ms 204 2025-11-25 12:25:23.3106|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=sHDD2009XDb39hxm6Ygc9rR+MGQtmr2C5rcwfZLz8TQ= 0 2025-11-25 12:25:23.3106|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=sHDD2009XDb39hxm6Ygc9rR+MGQtmr2C5rcwfZLz8TQ= 0 2025-11-25 12:25:23.3106|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 12:25:23.3106|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 12:25:23.3106|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=sHDD2009XDb39hxm6Ygc9rR+MGQtmr2C5rcwfZLz8TQ= 0 2025-11-25 12:25:23.3106|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 12:25:23.3106|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 12:25:23.3106|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 12:25:23.3106|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "RefreshToken", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] RefreshToken(System.String) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 12:25:23.3261|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "RefreshToken", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] RefreshToken(System.String) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 12:25:23.3261|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=sHDD2009XDb39hxm6Ygc9rR+MGQtmr2C5rcwfZLz8TQ= 0 2025-11-25 12:25:23.3261|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=sHDD2009XDb39hxm6Ygc9rR+MGQtmr2C5rcwfZLz8TQ= 0 2025-11-25 12:25:23.3261|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 12:25:23.3261|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 12:25:23.3261|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 12:25:23.3261|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 12:25:23.3261|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 12:25:23.3261|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "RefreshToken", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] RefreshToken(System.String) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 12:25:23.3261|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 12:25:23.3261|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 12:25:23.3261|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 12:25:23.3426|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "RefreshToken", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] RefreshToken(System.String) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 12:25:23.3426|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "RefreshToken", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] RefreshToken(System.String) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 12:25:23.3426|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 12:25:23.3426|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 12:25:23.3426|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (19ms) [Parameters=[@__Token_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE [u].[Token] = @__Token_0 2025-11-25 12:25:23.3576|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'Microsoft.AspNetCore.Mvc.ProblemDetails'. 2025-11-25 12:25:23.3576|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.RefreshToken (Authentication) in 30.2433ms 2025-11-25 12:25:23.3576|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 12:25:23.3576|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 44.9224ms 401 application/problem+json; charset=utf-8 2025-11-25 12:25:23.3576|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (20ms) [Parameters=[@__Token_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE [u].[Token] = @__Token_0 2025-11-25 12:25:23.3576|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'Microsoft.AspNetCore.Mvc.ProblemDetails'. 2025-11-25 12:25:23.3576|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (13ms) [Parameters=[@__Token_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE [u].[Token] = @__Token_0 2025-11-25 12:25:23.3576|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.RefreshToken (Authentication) in 37.689ms 2025-11-25 12:25:23.3576|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'Microsoft.AspNetCore.Mvc.ProblemDetails'. 2025-11-25 12:25:23.3576|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (12ms) [Parameters=[@__Token_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE [u].[Token] = @__Token_0 2025-11-25 12:25:23.3576|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 12:25:23.3576|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.RefreshToken (Authentication) in 30.7588ms 2025-11-25 12:25:23.3576|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'Microsoft.AspNetCore.Mvc.ProblemDetails'. 2025-11-25 12:25:23.3738|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 56.3347ms 401 application/problem+json; charset=utf-8 2025-11-25 12:25:23.3738|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 12:25:23.3738|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (15ms) [Parameters=[@__Token_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE [u].[Token] = @__Token_0 2025-11-25 12:25:23.3738|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.RefreshToken (Authentication) in 27.2049ms 2025-11-25 12:25:23.3738|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 57.273ms 401 application/problem+json; charset=utf-8 2025-11-25 12:25:23.3738|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'Microsoft.AspNetCore.Mvc.ProblemDetails'. 2025-11-25 12:25:23.3738|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 12:25:23.3738|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.RefreshToken (Authentication) in 35.3029ms 2025-11-25 12:25:23.3738|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 55.6838ms 401 application/problem+json; charset=utf-8 2025-11-25 12:25:23.3738|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 12:25:23.3738|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 59.3156ms 401 application/problem+json; charset=utf-8 2025-11-25 12:25:32.1308|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignIn 2025-11-25 12:25:32.1308|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 12:25:32.1308|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 5.1442ms 204 2025-11-25 12:25:32.1420|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignIn application/json 64 2025-11-25 12:25:32.1420|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 12:25:32.1420|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.SignIn (Authentication)' 2025-11-25 12:25:32.1420|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "SignIn", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] SignIn(Authentication.Data.Models.Identity.AuthBindingModel) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 12:25:32.1420|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 12:25:32.1555|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__ToLower_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE LOWER([a].[UserName]) = @__ToLower_0 2025-11-25 12:25:32.1555|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__checkUser_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__checkUser_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) ORDER BY [u].[Id] DESC 2025-11-25 12:25:32.1555|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[NormalizedUserName] = @__normalizedUserName_0 2025-11-25 12:25:32.1555|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[ClaimType], [a].[ClaimValue], [a].[Discriminator], [a].[UserId] FROM [AspNetUserClaims] AS [a] WHERE [a].[Discriminator] IN (N'IdentityUserClaim', N'UserClaim') AND ([a].[UserId] = @__user_Id_0) 2025-11-25 12:25:32.1555|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 12:25:32.1555|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__normalizedName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[InstitutionId], [a].[IsActive], [a].[Name], [a].[NormalizedName], [a].[UpdatedBy], [a].[UserType] FROM [AspNetRoles] AS [a] WHERE [a].[NormalizedName] = @__normalizedName_0 2025-11-25 12:25:32.1699|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__role_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[ClaimType], [a].[ClaimValue] FROM [AspNetRoleClaims] AS [a] WHERE [a].[RoleId] = @__role_Id_0 2025-11-25 12:25:32.1699|10|INFO|Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationHandler|AuthenticationScheme: Identity.Application signed in. 2025-11-25 12:25:32.1699|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[NormalizedUserName] = @__normalizedUserName_0 2025-11-25 12:25:32.1699|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 12:25:32.1699|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [p].[Code] FROM [UserPermissions] AS [u] INNER JOIN [Permissions] AS [p] ON [u].[PermissionId] = [p].[Id] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 12:25:32.1973|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (11ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 12:25:32.2025|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p6='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [UserToken] SET [DateCreated] = @p0, [ExpiryDate] = @p1, [IsActive] = @p2, [SessionExpiryDate] = @p3, [Token] = @p4, [UserId] = @p5 WHERE [Id] = @p6; SELECT @@ROWCOUNT; 2025-11-25 12:25:32.2025|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; INSERT INTO [UserToken] ([DateCreated], [ExpiryDate], [IsActive], [SessionExpiryDate], [Token], [UserId]) VALUES (@p0, @p1, @p2, @p3, @p4, @p5); SELECT [Id] FROM [UserToken] WHERE @@ROWCOUNT = 1 AND [Id] = scope_identity(); 2025-11-25 12:25:32.2025|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (0ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 12:25:32.2025||INFO|Authentication.Controllers.AccountController|userybangura@MOF role is gotten 2025-11-25 12:25:32.2025|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [u].[Id], [u].[CreatedBy], [u].[DateCreated], [u].[DateUpdated], [u].[IsActive], [u].[IsDeleted], [u].[PermissionId], [u].[RowVersion], [u].[UpdatedBy], [u].[UserId] FROM [UserPermissions] AS [u] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 12:25:32.2025|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (0ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 12:25:32.2172|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 12:25:32.2172|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (0ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 12:25:32.2172|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (0ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 12:25:32.2172|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (0ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 12:25:32.2172|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (0ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 12:25:32.2172||INFO|Authentication.Controllers.AccountController|user ybangura@MOF is signin but about to call corporate service 2025-11-25 12:25:32.2621|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'AuditTrailUtility.Utility.SaveResponse'. 2025-11-25 12:25:32.2652|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.SignIn (Authentication) in 116.0892ms 2025-11-25 12:25:32.2652|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.SignIn (Authentication)' 2025-11-25 12:25:32.2652|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 126.4327ms 200 application/json; charset=utf-8 2025-11-25 12:25:32.3263|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/Admin/GetAllUsersByCorporateId?corporateId=207 2025-11-25 12:25:32.3263|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 12:25:32.3263|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 4.8653ms 204 2025-11-25 12:25:32.3263|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/Admin/GetAllUsersByCorporateId?corporateId=207 2025-11-25 12:25:32.3263|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 12:25:32.3263|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.GetAllUsersByCorporateId (Authentication)' 2025-11-25 12:25:32.3263|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllUsersByCorporateId", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllUsersByCorporateId(Int64) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 12:25:32.3263|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 12:25:32.3440|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__corporateId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[UserTypeId] = @__corporateId_0 2025-11-25 12:25:32.3440|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[Authentication.Data.Models.Identity.UserBindingModel, Authentication.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2025-11-25 12:25:32.3440|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.GetAllUsersByCorporateId (Authentication) in 6.7798ms 2025-11-25 12:25:32.3440|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.GetAllUsersByCorporateId (Authentication)' 2025-11-25 12:25:32.3440|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 15.6774ms 200 application/json; charset=utf-8 2025-11-25 12:26:14.0743|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=FJf2lt+a3MN4dRXjCEPitJJtEFep+cZruFhW1VIWta0= 2025-11-25 12:26:14.0743|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 12:26:14.0775|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 3.2646ms 204 2025-11-25 12:26:14.0775|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=FJf2lt+a3MN4dRXjCEPitJJtEFep+cZruFhW1VIWta0= 0 2025-11-25 12:26:14.0775|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 12:26:14.0775|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 12:26:14.0775|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "RefreshToken", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] RefreshToken(System.String) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 12:26:14.0775|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 12:26:14.1052|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (17ms) [Parameters=[@__Token_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE [u].[Token] = @__Token_0 2025-11-25 12:26:14.1081|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'Microsoft.AspNetCore.Mvc.ProblemDetails'. 2025-11-25 12:26:14.1081|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.RefreshToken (Authentication) in 23.9129ms 2025-11-25 12:26:14.1081|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 12:26:14.1081|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 33.0147ms 401 application/problem+json; charset=utf-8 2025-11-25 12:26:23.9238|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignIn 2025-11-25 12:26:23.9238|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 12:26:23.9238|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 4.835ms 204 2025-11-25 12:26:23.9238|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignIn application/json 61 2025-11-25 12:26:23.9364|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 12:26:23.9364|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.SignIn (Authentication)' 2025-11-25 12:26:23.9364|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "SignIn", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] SignIn(Authentication.Data.Models.Identity.AuthBindingModel) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 12:26:23.9364|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 12:26:23.9723|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (27ms) [Parameters=[@__ToLower_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE LOWER([a].[UserName]) = @__ToLower_0 2025-11-25 12:26:23.9723|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__checkUser_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__checkUser_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) ORDER BY [u].[Id] DESC 2025-11-25 12:26:23.9723|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (5ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[NormalizedUserName] = @__normalizedUserName_0 2025-11-25 12:26:23.9871|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[ClaimType], [a].[ClaimValue], [a].[Discriminator], [a].[UserId] FROM [AspNetUserClaims] AS [a] WHERE [a].[Discriminator] IN (N'IdentityUserClaim', N'UserClaim') AND ([a].[UserId] = @__user_Id_0) 2025-11-25 12:26:23.9871|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 12:26:23.9871|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__normalizedName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[InstitutionId], [a].[IsActive], [a].[Name], [a].[NormalizedName], [a].[UpdatedBy], [a].[UserType] FROM [AspNetRoles] AS [a] WHERE [a].[NormalizedName] = @__normalizedName_0 2025-11-25 12:26:23.9871|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__role_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[ClaimType], [a].[ClaimValue] FROM [AspNetRoleClaims] AS [a] WHERE [a].[RoleId] = @__role_Id_0 2025-11-25 12:26:23.9996|10|INFO|Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationHandler|AuthenticationScheme: Identity.Application signed in. 2025-11-25 12:26:23.9996|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[NormalizedUserName] = @__normalizedUserName_0 2025-11-25 12:26:23.9996|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 12:26:23.9996|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [p].[Code] FROM [UserPermissions] AS [u] INNER JOIN [Permissions] AS [p] ON [u].[PermissionId] = [p].[Id] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 12:26:24.0281|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (11ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 12:26:24.0347|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p6='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [UserToken] SET [DateCreated] = @p0, [ExpiryDate] = @p1, [IsActive] = @p2, [SessionExpiryDate] = @p3, [Token] = @p4, [UserId] = @p5 WHERE [Id] = @p6; SELECT @@ROWCOUNT; 2025-11-25 12:26:24.0347|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; INSERT INTO [UserToken] ([DateCreated], [ExpiryDate], [IsActive], [SessionExpiryDate], [Token], [UserId]) VALUES (@p0, @p1, @p2, @p3, @p4, @p5); SELECT [Id] FROM [UserToken] WHERE @@ROWCOUNT = 1 AND [Id] = scope_identity(); 2025-11-25 12:26:24.0347|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 12:26:24.0347||INFO|Authentication.Controllers.AccountController|useraimansaray@MOF role is gotten 2025-11-25 12:26:24.0472|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [u].[Id], [u].[CreatedBy], [u].[DateCreated], [u].[DateUpdated], [u].[IsActive], [u].[IsDeleted], [u].[PermissionId], [u].[RowVersion], [u].[UpdatedBy], [u].[UserId] FROM [UserPermissions] AS [u] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 12:26:24.0472|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 12:26:24.0472|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 12:26:24.0472|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 12:26:24.0472|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 12:26:24.0472|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 12:26:24.0631|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 12:26:24.0631|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 12:26:24.0631||INFO|Authentication.Controllers.AccountController|user aimansaray@MOF is signin but about to call corporate service 2025-11-25 12:26:24.1096|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'AuditTrailUtility.Utility.SaveResponse'. 2025-11-25 12:26:24.1096|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.SignIn (Authentication) in 171.5005ms 2025-11-25 12:26:24.1096|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.SignIn (Authentication)' 2025-11-25 12:26:24.1096|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 182.0465ms 200 application/json; charset=utf-8 2025-11-25 12:26:24.1526|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/Admin/GetAllUsersByCorporateId?corporateId=207 2025-11-25 12:26:24.1560|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 12:26:24.1560|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6.8045ms 204 2025-11-25 12:26:24.1560|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/Admin/GetAllUsersByCorporateId?corporateId=207 2025-11-25 12:26:24.1560|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 12:26:24.1560|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.GetAllUsersByCorporateId (Authentication)' 2025-11-25 12:26:24.1716|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllUsersByCorporateId", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllUsersByCorporateId(Int64) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 12:26:24.1716|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 12:26:24.1716|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__corporateId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[UserTypeId] = @__corporateId_0 2025-11-25 12:26:24.1886|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[Authentication.Data.Models.Identity.UserBindingModel, Authentication.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2025-11-25 12:26:24.1886|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.GetAllUsersByCorporateId (Authentication) in 13.3798ms 2025-11-25 12:26:24.1886|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.GetAllUsersByCorporateId (Authentication)' 2025-11-25 12:26:24.1886|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 31.4773ms 200 application/json; charset=utf-8 2025-11-25 12:41:25.0094|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=tdAEMfOlL7KNO4iaQLOsVNs3Y62alvl1O1PR7PgRERA= 2025-11-25 12:41:25.0110|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 12:41:25.0110|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 3.0974ms 204 2025-11-25 12:41:25.0110|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=tdAEMfOlL7KNO4iaQLOsVNs3Y62alvl1O1PR7PgRERA= 2025-11-25 12:41:25.0110|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=tdAEMfOlL7KNO4iaQLOsVNs3Y62alvl1O1PR7PgRERA= 2025-11-25 12:41:25.0110|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 12:41:25.0110|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=tdAEMfOlL7KNO4iaQLOsVNs3Y62alvl1O1PR7PgRERA= 0 2025-11-25 12:41:25.0110|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 12:41:25.0110|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 4.635ms 204 2025-11-25 12:41:25.0110|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 12:41:25.0110|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6.0193ms 204 2025-11-25 12:41:25.0110|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=tdAEMfOlL7KNO4iaQLOsVNs3Y62alvl1O1PR7PgRERA= 0 2025-11-25 12:41:25.0110|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 12:41:25.0110|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=tdAEMfOlL7KNO4iaQLOsVNs3Y62alvl1O1PR7PgRERA= 0 2025-11-25 12:41:25.0110|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 12:41:25.0268|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "RefreshToken", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] RefreshToken(System.String) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 12:41:25.0268|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 12:41:25.0268|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 12:41:25.0268|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 12:41:25.0268|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 12:41:25.0268|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "RefreshToken", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] RefreshToken(System.String) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 12:41:25.0268|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "RefreshToken", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] RefreshToken(System.String) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 12:41:25.0268|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 12:41:25.0268|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 12:41:25.0563|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (15ms) [Parameters=[@__Token_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE [u].[Token] = @__Token_0 2025-11-25 12:41:25.0601|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__p_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[Id] = @__p_0 2025-11-25 12:41:25.0601|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 12:41:25.0601|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (17ms) [Parameters=[@__Token_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE [u].[Token] = @__Token_0 2025-11-25 12:41:25.0601|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [p].[Code] FROM [UserPermissions] AS [u] INNER JOIN [Permissions] AS [p] ON [u].[PermissionId] = [p].[Id] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 12:41:25.0601|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__p_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[Id] = @__p_0 2025-11-25 12:41:25.0601|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 12:41:25.0738|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (20ms) [Parameters=[@__Token_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE [u].[Token] = @__Token_0 2025-11-25 12:41:25.0738|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (6ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 12:41:25.0738|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [p].[Code] FROM [UserPermissions] AS [u] INNER JOIN [Permissions] AS [p] ON [u].[PermissionId] = [p].[Id] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 12:41:25.0738|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__p_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[Id] = @__p_0 2025-11-25 12:41:25.0738|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p6='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [UserToken] SET [DateCreated] = @p0, [ExpiryDate] = @p1, [IsActive] = @p2, [SessionExpiryDate] = @p3, [Token] = @p4, [UserId] = @p5 WHERE [Id] = @p6; SELECT @@ROWCOUNT; 2025-11-25 12:41:25.0738|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 12:41:25.0738|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; INSERT INTO [UserToken] ([DateCreated], [ExpiryDate], [IsActive], [SessionExpiryDate], [Token], [UserId]) VALUES (@p0, @p1, @p2, @p3, @p4, @p5); SELECT [Id] FROM [UserToken] WHERE @@ROWCOUNT = 1 AND [Id] = scope_identity(); 2025-11-25 12:41:25.0738|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [p].[Code] FROM [UserPermissions] AS [u] INNER JOIN [Permissions] AS [p] ON [u].[PermissionId] = [p].[Id] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 12:41:25.0738|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'Authentication.Data.Models.TokenResponse'. 2025-11-25 12:41:25.0738|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.RefreshToken (Authentication) in 57.7116ms 2025-11-25 12:41:25.0738|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 12:41:25.0893|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (11ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 12:41:25.0893|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 73.6481ms 200 application/json; charset=utf-8 2025-11-25 12:41:25.0893|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (6ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 12:41:25.0893|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p6='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [UserToken] SET [DateCreated] = @p0, [ExpiryDate] = @p1, [IsActive] = @p2, [SessionExpiryDate] = @p3, [Token] = @p4, [UserId] = @p5 WHERE [Id] = @p6; SELECT @@ROWCOUNT; 2025-11-25 12:41:25.0893|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p6='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [UserToken] SET [DateCreated] = @p0, [ExpiryDate] = @p1, [IsActive] = @p2, [SessionExpiryDate] = @p3, [Token] = @p4, [UserId] = @p5 WHERE [Id] = @p6; SELECT @@ROWCOUNT; 2025-11-25 12:41:25.0893|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; INSERT INTO [UserToken] ([DateCreated], [ExpiryDate], [IsActive], [SessionExpiryDate], [Token], [UserId]) VALUES (@p0, @p1, @p2, @p3, @p4, @p5); SELECT [Id] FROM [UserToken] WHERE @@ROWCOUNT = 1 AND [Id] = scope_identity(); 2025-11-25 12:41:25.0893|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'Authentication.Data.Models.TokenResponse'. 2025-11-25 12:41:25.0893|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.RefreshToken (Authentication) in 64.8578ms 2025-11-25 12:41:25.0893|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; INSERT INTO [UserToken] ([DateCreated], [ExpiryDate], [IsActive], [SessionExpiryDate], [Token], [UserId]) VALUES (@p0, @p1, @p2, @p3, @p4, @p5); SELECT [Id] FROM [UserToken] WHERE @@ROWCOUNT = 1 AND [Id] = scope_identity(); 2025-11-25 12:41:25.0893|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 12:41:25.1046|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'Authentication.Data.Models.TokenResponse'. 2025-11-25 12:41:25.1046|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 82.3937ms 200 application/json; charset=utf-8 2025-11-25 12:41:25.1046|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.RefreshToken (Authentication) in 72.5828ms 2025-11-25 12:41:25.1046|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 12:41:25.1046|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 88.7555ms 200 application/json; charset=utf-8 2025-11-25 13:01:35.1257|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://127.0.0.1:37814/AUTHENTICATIONSERVICE/iisintegration 0 2025-11-25 13:01:35.1257|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 3.7192ms 202 2025-11-25 13:03:41.7652||DEBUG|Authentication.Program|init main function 2025-11-25 13:03:45.3776|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 13:03:45.8982|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (14ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT 1 2025-11-25 13:03:45.9177|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (12ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT OBJECT_ID(N'[__EFMigrationsHistory]'); 2025-11-25 13:03:45.9177|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT 1 2025-11-25 13:03:45.9177|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT OBJECT_ID(N'[__EFMigrationsHistory]'); 2025-11-25 13:03:45.9343|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT [MigrationId], [ProductVersion] FROM [__EFMigrationsHistory] ORDER BY [MigrationId]; 2025-11-25 13:03:46.0430|20405|INFO|Microsoft.EntityFrameworkCore.Migrations|No migrations were applied. The database is already up to date. 2025-11-25 13:03:46.4820||INFO|Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager|User profile not available. Using 'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ASP.NET\4.0.30319.0\AutoGenKeys\S-1-5-82-2404559740-2321761809-584227669-3522060946-2110276425\DataProtection' as key repository and Windows DPAPI to encrypt keys at rest. 2025-11-25 13:03:46.7743|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=Pz8yyK+FXkRDbURN6VAGLgnIzYXP9Vt69/afII4L8xo= 2025-11-25 13:03:46.7743|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=Pz8yyK+FXkRDbURN6VAGLgnIzYXP9Vt69/afII4L8xo= 2025-11-25 13:03:46.7743|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=Pz8yyK+FXkRDbURN6VAGLgnIzYXP9Vt69/afII4L8xo= 2025-11-25 13:03:46.7743|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=Pz8yyK+FXkRDbURN6VAGLgnIzYXP9Vt69/afII4L8xo= 2025-11-25 13:03:46.7743|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=Pz8yyK+FXkRDbURN6VAGLgnIzYXP9Vt69/afII4L8xo= 2025-11-25 13:03:46.7743|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=Pz8yyK+FXkRDbURN6VAGLgnIzYXP9Vt69/afII4L8xo= 2025-11-25 13:03:46.7743|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=Pz8yyK+FXkRDbURN6VAGLgnIzYXP9Vt69/afII4L8xo= 2025-11-25 13:03:46.7743|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=Pz8yyK+FXkRDbURN6VAGLgnIzYXP9Vt69/afII4L8xo= 2025-11-25 13:03:46.7743|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=Pz8yyK+FXkRDbURN6VAGLgnIzYXP9Vt69/afII4L8xo= 2025-11-25 13:03:46.7743|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=Pz8yyK+FXkRDbURN6VAGLgnIzYXP9Vt69/afII4L8xo= 2025-11-25 13:03:46.7743|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=Pz8yyK+FXkRDbURN6VAGLgnIzYXP9Vt69/afII4L8xo= 2025-11-25 13:03:46.7743|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=Pz8yyK+FXkRDbURN6VAGLgnIzYXP9Vt69/afII4L8xo= 2025-11-25 13:03:46.7743|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=Pz8yyK+FXkRDbURN6VAGLgnIzYXP9Vt69/afII4L8xo= 2025-11-25 13:03:46.7743|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=Pz8yyK+FXkRDbURN6VAGLgnIzYXP9Vt69/afII4L8xo= 2025-11-25 13:03:46.7743|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=Pz8yyK+FXkRDbURN6VAGLgnIzYXP9Vt69/afII4L8xo= 2025-11-25 13:03:46.7743|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=Pz8yyK+FXkRDbURN6VAGLgnIzYXP9Vt69/afII4L8xo= 2025-11-25 13:03:46.8044|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 13:03:46.8044|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 13:03:46.8044|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 13:03:46.8044|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 13:03:46.8044|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 13:03:46.8044|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 13:03:46.8044|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 13:03:46.8044|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 13:03:46.8044|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 13:03:46.8044|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 44.6785ms 204 2025-11-25 13:03:46.8044|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 13:03:46.8044|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 13:03:46.8044|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 13:03:46.8044|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 13:03:46.8044|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 13:03:46.8044|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 13:03:46.8044|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 39.6811ms 204 2025-11-25 13:03:46.8044|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 39.6685ms 204 2025-11-25 13:03:46.8044|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 39.6759ms 204 2025-11-25 13:03:46.8044|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 39.6885ms 204 2025-11-25 13:03:46.8044|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 40.9193ms 204 2025-11-25 13:03:46.8044|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 41.4374ms 204 2025-11-25 13:03:46.8044|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 42.2159ms 204 2025-11-25 13:03:46.8044|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 43.9146ms 204 2025-11-25 13:03:46.8044|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 13:03:46.8212|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 48.37ms 204 2025-11-25 13:03:46.8212|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 50.2689ms 204 2025-11-25 13:03:46.8212|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 51.76ms 204 2025-11-25 13:03:46.8212|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 53.3255ms 204 2025-11-25 13:03:46.8212|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 54.9515ms 204 2025-11-25 13:03:46.8212|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 55.8738ms 204 2025-11-25 13:03:46.8430|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 70.1372ms 204 2025-11-25 13:03:46.8489|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=Pz8yyK+FXkRDbURN6VAGLgnIzYXP9Vt69/afII4L8xo= 0 2025-11-25 13:03:46.8489|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=Pz8yyK+FXkRDbURN6VAGLgnIzYXP9Vt69/afII4L8xo= 0 2025-11-25 13:03:46.8489|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=Pz8yyK+FXkRDbURN6VAGLgnIzYXP9Vt69/afII4L8xo= 0 2025-11-25 13:03:46.8489|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=Pz8yyK+FXkRDbURN6VAGLgnIzYXP9Vt69/afII4L8xo= 0 2025-11-25 13:03:46.8489|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=Pz8yyK+FXkRDbURN6VAGLgnIzYXP9Vt69/afII4L8xo= 0 2025-11-25 13:03:46.8489|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=Pz8yyK+FXkRDbURN6VAGLgnIzYXP9Vt69/afII4L8xo= 0 2025-11-25 13:03:46.8489|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=Pz8yyK+FXkRDbURN6VAGLgnIzYXP9Vt69/afII4L8xo= 0 2025-11-25 13:03:46.8489|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 13:03:46.8489|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=Pz8yyK+FXkRDbURN6VAGLgnIzYXP9Vt69/afII4L8xo= 0 2025-11-25 13:03:46.8489|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=Pz8yyK+FXkRDbURN6VAGLgnIzYXP9Vt69/afII4L8xo= 0 2025-11-25 13:03:46.8489|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=Pz8yyK+FXkRDbURN6VAGLgnIzYXP9Vt69/afII4L8xo= 0 2025-11-25 13:03:46.8489|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=Pz8yyK+FXkRDbURN6VAGLgnIzYXP9Vt69/afII4L8xo= 0 2025-11-25 13:03:46.8489|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=Pz8yyK+FXkRDbURN6VAGLgnIzYXP9Vt69/afII4L8xo= 0 2025-11-25 13:03:46.8489|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=Pz8yyK+FXkRDbURN6VAGLgnIzYXP9Vt69/afII4L8xo= 0 2025-11-25 13:03:46.8489|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=Pz8yyK+FXkRDbURN6VAGLgnIzYXP9Vt69/afII4L8xo= 0 2025-11-25 13:03:46.8489|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=Pz8yyK+FXkRDbURN6VAGLgnIzYXP9Vt69/afII4L8xo= 0 2025-11-25 13:03:46.8489|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 13:03:46.8489|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 13:03:46.8489|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 13:03:46.8489|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 13:03:46.8489|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 13:03:46.8489|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 13:03:46.8489|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=Pz8yyK+FXkRDbURN6VAGLgnIzYXP9Vt69/afII4L8xo= 0 2025-11-25 13:03:46.8489|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 13:03:46.8489|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 13:03:46.8659|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 13:03:46.8659|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 13:03:46.8659|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 13:03:46.8659|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 13:03:46.8659|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 13:03:46.8659|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 13:03:46.8659|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 13:03:46.8659|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 13:03:46.8659|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 13:03:46.8659|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 13:03:46.8659|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 13:03:46.8659|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 13:03:46.8659|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 13:03:46.8803|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 13:03:46.8803|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 13:03:46.8803|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 13:03:46.8803|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 13:03:46.8803|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 13:03:46.8803|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 13:03:46.8803|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 13:03:46.8803|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 13:03:46.8803|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 13:03:46.9020|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 13:03:46.9245|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "RefreshToken", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] RefreshToken(System.String) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 13:03:46.9245|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "RefreshToken", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] RefreshToken(System.String) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 13:03:46.9245|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "RefreshToken", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] RefreshToken(System.String) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 13:03:46.9245|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "RefreshToken", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] RefreshToken(System.String) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 13:03:46.9245|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "RefreshToken", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] RefreshToken(System.String) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 13:03:46.9245|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "RefreshToken", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] RefreshToken(System.String) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 13:03:46.9245|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "RefreshToken", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] RefreshToken(System.String) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 13:03:46.9245|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "RefreshToken", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] RefreshToken(System.String) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 13:03:46.9245|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "RefreshToken", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] RefreshToken(System.String) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 13:03:46.9245|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "RefreshToken", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] RefreshToken(System.String) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 13:03:46.9245|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "RefreshToken", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] RefreshToken(System.String) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 13:03:46.9245|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "RefreshToken", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] RefreshToken(System.String) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 13:03:46.9245|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "RefreshToken", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] RefreshToken(System.String) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 13:03:46.9245|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "RefreshToken", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] RefreshToken(System.String) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 13:03:46.9245|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "RefreshToken", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] RefreshToken(System.String) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 13:03:46.9245|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "RefreshToken", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] RefreshToken(System.String) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 13:03:46.9336|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 13:03:46.9336|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 13:03:46.9336|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 13:03:46.9336|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 13:03:46.9336|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 13:03:46.9336|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 13:03:46.9336|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 13:03:46.9336|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 13:03:46.9336|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 13:03:46.9336|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 13:03:46.9336|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 13:03:46.9336|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 13:03:46.9336|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 13:03:46.9673|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 13:03:46.9673|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 13:03:46.9673|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 13:03:47.1401|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (40ms) [Parameters=[@__Token_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE [u].[Token] = @__Token_0 2025-11-25 13:03:47.1401|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (14ms) [Parameters=[@__Token_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE [u].[Token] = @__Token_0 2025-11-25 13:03:47.1401|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (15ms) [Parameters=[@__Token_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE [u].[Token] = @__Token_0 2025-11-25 13:03:47.1401|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (19ms) [Parameters=[@__Token_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE [u].[Token] = @__Token_0 2025-11-25 13:03:47.1401|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (10ms) [Parameters=[@__Token_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE [u].[Token] = @__Token_0 2025-11-25 13:03:47.1401|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (26ms) [Parameters=[@__Token_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE [u].[Token] = @__Token_0 2025-11-25 13:03:47.1470|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (39ms) [Parameters=[@__Token_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE [u].[Token] = @__Token_0 2025-11-25 13:03:47.1470|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'Microsoft.AspNetCore.Mvc.ProblemDetails'. 2025-11-25 13:03:47.1470|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'Microsoft.AspNetCore.Mvc.ProblemDetails'. 2025-11-25 13:03:47.1470|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'Microsoft.AspNetCore.Mvc.ProblemDetails'. 2025-11-25 13:03:47.1470|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'Microsoft.AspNetCore.Mvc.ProblemDetails'. 2025-11-25 13:03:47.1470|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'Microsoft.AspNetCore.Mvc.ProblemDetails'. 2025-11-25 13:03:47.1470|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'Microsoft.AspNetCore.Mvc.ProblemDetails'. 2025-11-25 13:03:47.1470|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'Microsoft.AspNetCore.Mvc.ProblemDetails'. 2025-11-25 13:03:47.1470|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (11ms) [Parameters=[@__Token_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE [u].[Token] = @__Token_0 2025-11-25 13:03:47.1470|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (13ms) [Parameters=[@__Token_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE [u].[Token] = @__Token_0 2025-11-25 13:03:47.1470|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (11ms) [Parameters=[@__Token_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE [u].[Token] = @__Token_0 2025-11-25 13:03:47.1470|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (17ms) [Parameters=[@__Token_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE [u].[Token] = @__Token_0 2025-11-25 13:03:47.1470|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (10ms) [Parameters=[@__Token_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE [u].[Token] = @__Token_0 2025-11-25 13:03:47.1470|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (13ms) [Parameters=[@__Token_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE [u].[Token] = @__Token_0 2025-11-25 13:03:47.1470|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'Microsoft.AspNetCore.Mvc.ProblemDetails'. 2025-11-25 13:03:47.1470|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (22ms) [Parameters=[@__Token_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE [u].[Token] = @__Token_0 2025-11-25 13:03:47.1470|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'Microsoft.AspNetCore.Mvc.ProblemDetails'. 2025-11-25 13:03:47.1470|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'Microsoft.AspNetCore.Mvc.ProblemDetails'. 2025-11-25 13:03:47.1470|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'Microsoft.AspNetCore.Mvc.ProblemDetails'. 2025-11-25 13:03:47.1470|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'Microsoft.AspNetCore.Mvc.ProblemDetails'. 2025-11-25 13:03:47.1470|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'Microsoft.AspNetCore.Mvc.ProblemDetails'. 2025-11-25 13:03:47.1614|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (17ms) [Parameters=[@__Token_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE [u].[Token] = @__Token_0 2025-11-25 13:03:47.1614|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'Microsoft.AspNetCore.Mvc.ProblemDetails'. 2025-11-25 13:03:47.1614|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'Microsoft.AspNetCore.Mvc.ProblemDetails'. 2025-11-25 13:03:47.1614|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (11ms) [Parameters=[@__Token_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE [u].[Token] = @__Token_0 2025-11-25 13:03:47.1614|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'Microsoft.AspNetCore.Mvc.ProblemDetails'. 2025-11-25 13:03:47.2560|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.RefreshToken (Authentication) in 316.9211ms 2025-11-25 13:03:47.2560|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.RefreshToken (Authentication) in 327.1416ms 2025-11-25 13:03:47.2560|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.RefreshToken (Authentication) in 315.8697ms 2025-11-25 13:03:47.2560|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.RefreshToken (Authentication) in 324.8415ms 2025-11-25 13:03:47.2560|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.RefreshToken (Authentication) in 325.5439ms 2025-11-25 13:03:47.2560|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 13:03:47.2560|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.RefreshToken (Authentication) in 324.1336ms 2025-11-25 13:03:47.2560|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.RefreshToken (Authentication) in 326.4639ms 2025-11-25 13:03:47.2560|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.RefreshToken (Authentication) in 320.7722ms 2025-11-25 13:03:47.2560|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.RefreshToken (Authentication) in 321.6757ms 2025-11-25 13:03:47.2560|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.RefreshToken (Authentication) in 318.0584ms 2025-11-25 13:03:47.2560|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.RefreshToken (Authentication) in 318.7436ms 2025-11-25 13:03:47.2560|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.RefreshToken (Authentication) in 319.6486ms 2025-11-25 13:03:47.2560|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.RefreshToken (Authentication) in 323.4416ms 2025-11-25 13:03:47.2560|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.RefreshToken (Authentication) in 317.4696ms 2025-11-25 13:03:47.2560|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.RefreshToken (Authentication) in 322.4383ms 2025-11-25 13:03:47.2560|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 13:03:47.2560|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 13:03:47.2560|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 13:03:47.2560|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 13:03:47.2560|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.RefreshToken (Authentication) in 314.8694ms 2025-11-25 13:03:47.2560|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 13:03:47.2560|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 13:03:47.2560|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 413.753ms 401 application/problem+json; charset=utf-8 2025-11-25 13:03:47.2560|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 13:03:47.2560|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 13:03:47.2560|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 13:03:47.2560|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 13:03:47.2560|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 13:03:47.2560|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 13:03:47.2560|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 13:03:47.2560|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 13:03:47.2560|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 419.541ms 401 application/problem+json; charset=utf-8 2025-11-25 13:03:47.2560|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 420.3852ms 401 application/problem+json; charset=utf-8 2025-11-25 13:03:47.2560|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 420.9302ms 401 application/problem+json; charset=utf-8 2025-11-25 13:03:47.2560|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 421.5805ms 401 application/problem+json; charset=utf-8 2025-11-25 13:03:47.2723|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 13:03:47.2723|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 423.0464ms 401 application/problem+json; charset=utf-8 2025-11-25 13:03:47.2723|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 424.5095ms 401 application/problem+json; charset=utf-8 2025-11-25 13:03:47.2723|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 426.9493ms 401 application/problem+json; charset=utf-8 2025-11-25 13:03:47.2723|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 427.5512ms 401 application/problem+json; charset=utf-8 2025-11-25 13:03:47.2723|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 428.383ms 401 application/problem+json; charset=utf-8 2025-11-25 13:03:47.2723|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 428.9753ms 401 application/problem+json; charset=utf-8 2025-11-25 13:03:47.2723|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 429.9027ms 401 application/problem+json; charset=utf-8 2025-11-25 13:03:47.2723|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 431.5619ms 401 application/problem+json; charset=utf-8 2025-11-25 13:03:47.2723|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 432.1608ms 401 application/problem+json; charset=utf-8 2025-11-25 13:03:47.2723|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 430.8161ms 401 application/problem+json; charset=utf-8 2025-11-25 13:03:47.2870|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 437.9372ms 401 application/problem+json; charset=utf-8 2025-11-25 13:03:55.4569|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignIn 2025-11-25 13:03:55.4612|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 13:03:55.4612|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6.9824ms 204 2025-11-25 13:03:55.4612|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignIn application/json 60 2025-11-25 13:03:55.4612|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 13:03:55.4766|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.SignIn (Authentication)' 2025-11-25 13:03:55.4766|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "SignIn", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] SignIn(Authentication.Data.Models.Identity.AuthBindingModel) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 13:03:55.4921|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 13:03:55.5852|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (16ms) [Parameters=[@__ToLower_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE LOWER([a].[UserName]) = @__ToLower_0 2025-11-25 13:03:55.6790|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__checkUser_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__checkUser_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) ORDER BY [u].[Id] DESC 2025-11-25 13:03:55.7221|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (11ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[NormalizedUserName] = @__normalizedUserName_0 2025-11-25 13:03:55.7492||WARN|Microsoft.AspNetCore.Identity.UserManager|Invalid password for user 519. 2025-11-25 13:03:55.7492|2|WARN|Microsoft.AspNetCore.Identity.SignInManager|User 519 failed to provide the correct password. 2025-11-25 13:03:55.7654|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (3ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[NormalizedUserName] = @__normalizedUserName_0 2025-11-25 13:03:55.8785|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (4ms) [Parameters=[@p32='?' (DbType = Int64), @p0='?' (DbType = Int32), @p1='?' (Size = 4000), @p2='?' (DbType = Int64), @p3='?' (Size = 4000), @p33='?' (Size = 4000), @p4='?' (DbType = Int64), @p5='?' (DbType = DateTime2), @p6='?' (DbType = DateTime2), @p7='?' (DbType = DateTime2), @p8='?' (DbType = Int64), @p9='?' (Size = 256), @p10='?' (DbType = Boolean), @p11='?' (Size = 4000), @p12='?' (DbType = Boolean), @p13='?' (DbType = Boolean), @p14='?' (DbType = Boolean), @p15='?' (Size = 4000), @p16='?' (DbType = DateTime2), @p17='?' (DbType = Boolean), @p18='?' (DbType = DateTimeOffset), @p19='?' (Size = 4000), @p20='?' (Size = 4000), @p21='?' (Size = 256), @p22='?' (Size = 256), @p23='?' (Size = 4000), @p24='?' (Size = 4000), @p25='?' (DbType = Boolean), @p34='?' (Size = 8) (DbType = Binary), @p26='?' (Size = 4000), @p27='?' (DbType = Boolean), @p28='?' (DbType = Int64), @p29='?' (Size = 256), @p30='?' (DbType = Int32), @p31='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [AspNetUsers] SET [AccessFailedCount] = @p0, [Address] = @p1, [BranchId] = @p2, [ConcurrencyStamp] = @p3, [CreatedBy] = @p4, [DOB] = @p5, [DateCreated] = @p6, [DateUpdated] = @p7, [DeletedBy] = @p8, [Email] = @p9, [EmailConfirmed] = @p10, [FirstName] = @p11, [IsActive] = @p12, [IsDeleted] = @p13, [IsFirstLogin] = @p14, [LastName] = @p15, [LastPasswordChangeDate] = @p16, [LockoutEnabled] = @p17, [LockoutEnd] = @p18, [MiddleName] = @p19, [MobileNumber] = @p20, [NormalizedEmail] = @p21, [NormalizedUserName] = @p22, [PasswordHash] = @p23, [PhoneNumber] = @p24, [PhoneNumberConfirmed] = @p25, [SecurityStamp] = @p26, [TwoFactorEnabled] = @p27, [UpdatedBy] = @p28, [UserName] = @p29, [UserType] = @p30, [UserTypeId] = @p31 WHERE [Id] = @p32 AND [ConcurrencyStamp] = @p33 AND [RowVersion] = @p34; SELECT [RowVersion] FROM [AspNetUsers] WHERE @@ROWCOUNT = 1 AND [Id] = @p32; 2025-11-25 13:03:55.9288|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.String'. 2025-11-25 13:03:55.9288|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.SignIn (Authentication) in 442.2433ms 2025-11-25 13:03:55.9288|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.SignIn (Authentication)' 2025-11-25 13:03:55.9288|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 468.049ms 400 text/plain; charset=utf-8 2025-11-25 13:04:05.8490|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignIn 2025-11-25 13:04:05.8520|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 13:04:05.8520|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 4.9252ms 204 2025-11-25 13:04:05.8520|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignIn application/json 60 2025-11-25 13:04:05.8520|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 13:04:05.8520|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.SignIn (Authentication)' 2025-11-25 13:04:05.8520|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "SignIn", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] SignIn(Authentication.Data.Models.Identity.AuthBindingModel) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 13:04:05.8683|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 13:04:05.8683|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__ToLower_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE LOWER([a].[UserName]) = @__ToLower_0 2025-11-25 13:04:05.8683|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__checkUser_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__checkUser_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) ORDER BY [u].[Id] DESC 2025-11-25 13:04:05.8872|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (4ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[NormalizedUserName] = @__normalizedUserName_0 2025-11-25 13:04:05.9031|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[NormalizedUserName] = @__normalizedUserName_0 2025-11-25 13:04:05.9147|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (4ms) [Parameters=[@p32='?' (DbType = Int64), @p0='?' (DbType = Int32), @p1='?' (Size = 4000), @p2='?' (DbType = Int64), @p3='?' (Size = 4000), @p33='?' (Size = 4000), @p4='?' (DbType = Int64), @p5='?' (DbType = DateTime2), @p6='?' (DbType = DateTime2), @p7='?' (DbType = DateTime2), @p8='?' (DbType = Int64), @p9='?' (Size = 256), @p10='?' (DbType = Boolean), @p11='?' (Size = 4000), @p12='?' (DbType = Boolean), @p13='?' (DbType = Boolean), @p14='?' (DbType = Boolean), @p15='?' (Size = 4000), @p16='?' (DbType = DateTime2), @p17='?' (DbType = Boolean), @p18='?' (DbType = DateTimeOffset), @p19='?' (Size = 4000), @p20='?' (Size = 4000), @p21='?' (Size = 256), @p22='?' (Size = 256), @p23='?' (Size = 4000), @p24='?' (Size = 4000), @p25='?' (DbType = Boolean), @p34='?' (Size = 8) (DbType = Binary), @p26='?' (Size = 4000), @p27='?' (DbType = Boolean), @p28='?' (DbType = Int64), @p29='?' (Size = 256), @p30='?' (DbType = Int32), @p31='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [AspNetUsers] SET [AccessFailedCount] = @p0, [Address] = @p1, [BranchId] = @p2, [ConcurrencyStamp] = @p3, [CreatedBy] = @p4, [DOB] = @p5, [DateCreated] = @p6, [DateUpdated] = @p7, [DeletedBy] = @p8, [Email] = @p9, [EmailConfirmed] = @p10, [FirstName] = @p11, [IsActive] = @p12, [IsDeleted] = @p13, [IsFirstLogin] = @p14, [LastName] = @p15, [LastPasswordChangeDate] = @p16, [LockoutEnabled] = @p17, [LockoutEnd] = @p18, [MiddleName] = @p19, [MobileNumber] = @p20, [NormalizedEmail] = @p21, [NormalizedUserName] = @p22, [PasswordHash] = @p23, [PhoneNumber] = @p24, [PhoneNumberConfirmed] = @p25, [SecurityStamp] = @p26, [TwoFactorEnabled] = @p27, [UpdatedBy] = @p28, [UserName] = @p29, [UserType] = @p30, [UserTypeId] = @p31 WHERE [Id] = @p32 AND [ConcurrencyStamp] = @p33 AND [RowVersion] = @p34; SELECT [RowVersion] FROM [AspNetUsers] WHERE @@ROWCOUNT = 1 AND [Id] = @p32; 2025-11-25 13:04:05.9537|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[ClaimType], [a].[ClaimValue], [a].[Discriminator], [a].[UserId] FROM [AspNetUserClaims] AS [a] WHERE [a].[Discriminator] IN (N'IdentityUserClaim', N'UserClaim') AND ([a].[UserId] = @__user_Id_0) 2025-11-25 13:04:05.9969|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 13:04:06.0079|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__normalizedName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[InstitutionId], [a].[IsActive], [a].[Name], [a].[NormalizedName], [a].[UpdatedBy], [a].[UserType] FROM [AspNetRoles] AS [a] WHERE [a].[NormalizedName] = @__normalizedName_0 2025-11-25 13:04:06.0312|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__role_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[ClaimType], [a].[ClaimValue] FROM [AspNetRoleClaims] AS [a] WHERE [a].[RoleId] = @__role_Id_0 2025-11-25 13:04:06.0404|10|INFO|Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationHandler|AuthenticationScheme: Identity.Application signed in. 2025-11-25 13:04:06.0404|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[NormalizedUserName] = @__normalizedUserName_0 2025-11-25 13:04:06.6784|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (3ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 13:04:06.6983|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [p].[Code] FROM [UserPermissions] AS [u] INNER JOIN [Permissions] AS [p] ON [u].[PermissionId] = [p].[Id] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 13:04:06.9928|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (11ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 13:04:07.0202|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@p6='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [UserToken] SET [DateCreated] = @p0, [ExpiryDate] = @p1, [IsActive] = @p2, [SessionExpiryDate] = @p3, [Token] = @p4, [UserId] = @p5 WHERE [Id] = @p6; SELECT @@ROWCOUNT; 2025-11-25 13:04:07.0501|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; INSERT INTO [UserToken] ([DateCreated], [ExpiryDate], [IsActive], [SessionExpiryDate], [Token], [UserId]) VALUES (@p0, @p1, @p2, @p3, @p4, @p5); SELECT [Id] FROM [UserToken] WHERE @@ROWCOUNT = 1 AND [Id] = scope_identity(); 2025-11-25 13:04:07.0645|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 13:04:07.0645||INFO|Authentication.Controllers.AccountController|usersjalloh@MOF role is gotten 2025-11-25 13:04:07.0763|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [u].[Id], [u].[CreatedBy], [u].[DateCreated], [u].[DateUpdated], [u].[IsActive], [u].[IsDeleted], [u].[PermissionId], [u].[RowVersion], [u].[UpdatedBy], [u].[UserId] FROM [UserPermissions] AS [u] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 13:04:07.0910|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 13:04:07.0910|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 13:04:07.0910|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 13:04:07.0910|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 13:04:07.0910||INFO|Authentication.Controllers.AccountController|user sjalloh@MOF is signin but about to call corporate service 2025-11-25 13:04:07.2565|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'AuditTrailUtility.Utility.SaveResponse'. 2025-11-25 13:04:07.2657|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.SignIn (Authentication) in 1398.9427ms 2025-11-25 13:04:07.2657|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.SignIn (Authentication)' 2025-11-25 13:04:07.2657|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1408.4018ms 200 application/json; charset=utf-8 2025-11-25 13:04:07.3160|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/Admin/GetAllUsersByCorporateId?corporateId=207 2025-11-25 13:04:07.3160|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 13:04:07.3227|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6.8163ms 204 2025-11-25 13:04:07.3227|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/Admin/GetAllUsersByCorporateId?corporateId=207 2025-11-25 13:04:07.3387|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 13:04:07.3387|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.GetAllUsersByCorporateId (Authentication)' 2025-11-25 13:04:07.3387|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllUsersByCorporateId", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllUsersByCorporateId(Int64) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 13:04:07.3387|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 13:04:07.3645|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__corporateId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[UserTypeId] = @__corporateId_0 2025-11-25 13:04:07.3911|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[Authentication.Data.Models.Identity.UserBindingModel, Authentication.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2025-11-25 13:04:07.4030|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.GetAllUsersByCorporateId (Authentication) in 52.8836ms 2025-11-25 13:04:07.4030|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.GetAllUsersByCorporateId (Authentication)' 2025-11-25 13:04:07.4030|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 77.166ms 200 application/json; charset=utf-8 2025-11-25 13:12:55.4911|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=BgKNuTQVHG9RQ4TxMApq2xndn9cy/x0y6z4tcWge4lY= 2025-11-25 13:12:55.4911|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=BgKNuTQVHG9RQ4TxMApq2xndn9cy/x0y6z4tcWge4lY= 2025-11-25 13:12:55.4911|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 13:12:55.4911|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 13:12:55.4911|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6.8776ms 204 2025-11-25 13:12:55.4911|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 9.551ms 204 2025-11-25 13:12:55.4911|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=BgKNuTQVHG9RQ4TxMApq2xndn9cy/x0y6z4tcWge4lY= 2025-11-25 13:12:55.4911|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=BgKNuTQVHG9RQ4TxMApq2xndn9cy/x0y6z4tcWge4lY= 2025-11-25 13:12:55.4911|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=BgKNuTQVHG9RQ4TxMApq2xndn9cy/x0y6z4tcWge4lY= 0 2025-11-25 13:12:55.4911|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 13:12:55.5066|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=BgKNuTQVHG9RQ4TxMApq2xndn9cy/x0y6z4tcWge4lY= 0 2025-11-25 13:12:55.5066|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 13:12:55.5066|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=BgKNuTQVHG9RQ4TxMApq2xndn9cy/x0y6z4tcWge4lY= 0 2025-11-25 13:12:55.5066|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 13:12:55.5066|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 5.5886ms 204 2025-11-25 13:12:55.5066|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 13:12:55.5066|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 7.3788ms 204 2025-11-25 13:12:55.5066|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 13:12:55.5066|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 13:12:55.5066|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 13:12:55.5066|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=BgKNuTQVHG9RQ4TxMApq2xndn9cy/x0y6z4tcWge4lY= 0 2025-11-25 13:12:55.5066|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 13:12:55.5066|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "RefreshToken", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] RefreshToken(System.String) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 13:12:55.5066|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "RefreshToken", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] RefreshToken(System.String) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 13:12:55.5066|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 13:12:55.5066|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "RefreshToken", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] RefreshToken(System.String) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 13:12:55.5223|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=BgKNuTQVHG9RQ4TxMApq2xndn9cy/x0y6z4tcWge4lY= 0 2025-11-25 13:12:55.5223|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 13:12:55.5223|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 13:12:55.5223|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 13:12:55.5223|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 13:12:55.5223|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 13:12:55.5223|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "RefreshToken", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] RefreshToken(System.String) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 13:12:55.5223|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 13:12:55.5223|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 13:12:55.5381|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "RefreshToken", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] RefreshToken(System.String) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 13:12:55.5381|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 13:12:55.5537|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (13ms) [Parameters=[@__Token_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE [u].[Token] = @__Token_0 2025-11-25 13:12:55.5537|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'Microsoft.AspNetCore.Mvc.ProblemDetails'. 2025-11-25 13:12:55.5537|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.RefreshToken (Authentication) in 37.8004ms 2025-11-25 13:12:55.5537|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 13:12:55.5537|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 57.3762ms 401 application/problem+json; charset=utf-8 2025-11-25 13:12:55.5688|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (20ms) [Parameters=[@__Token_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE [u].[Token] = @__Token_0 2025-11-25 13:12:55.5688|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (13ms) [Parameters=[@__Token_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE [u].[Token] = @__Token_0 2025-11-25 13:12:55.5688|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (18ms) [Parameters=[@__Token_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE [u].[Token] = @__Token_0 2025-11-25 13:12:55.5688|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (11ms) [Parameters=[@__Token_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE [u].[Token] = @__Token_0 2025-11-25 13:12:55.5688|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'Microsoft.AspNetCore.Mvc.ProblemDetails'. 2025-11-25 13:12:55.5859|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'Microsoft.AspNetCore.Mvc.ProblemDetails'. 2025-11-25 13:12:55.5859|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'Microsoft.AspNetCore.Mvc.ProblemDetails'. 2025-11-25 13:12:55.5859|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'Microsoft.AspNetCore.Mvc.ProblemDetails'. 2025-11-25 13:12:55.5859|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.RefreshToken (Authentication) in 65.5427ms 2025-11-25 13:12:55.5859|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.RefreshToken (Authentication) in 65.1263ms 2025-11-25 13:12:55.5859|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.RefreshToken (Authentication) in 56.4385ms 2025-11-25 13:12:55.5859|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.RefreshToken (Authentication) in 51.0699ms 2025-11-25 13:12:55.5859|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 13:12:55.5859|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 13:12:55.5859|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 13:12:55.6003|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 13:12:55.6003|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 94.5428ms 401 application/problem+json; charset=utf-8 2025-11-25 13:12:55.6003|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 95.3869ms 401 application/problem+json; charset=utf-8 2025-11-25 13:12:55.6003|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 88.602ms 401 application/problem+json; charset=utf-8 2025-11-25 13:12:55.6003|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 83.5611ms 401 application/problem+json; charset=utf-8 2025-11-25 13:13:34.0073|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignIn 2025-11-25 13:13:34.0073|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 13:13:34.0073|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 8.1437ms 204 2025-11-25 13:13:34.0269|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignIn application/json 64 2025-11-25 13:13:34.0269|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 13:13:34.0269|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.SignIn (Authentication)' 2025-11-25 13:13:34.0269|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "SignIn", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] SignIn(Authentication.Data.Models.Identity.AuthBindingModel) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 13:13:34.0403|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 13:13:34.0403|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (3ms) [Parameters=[@__ToLower_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE LOWER([a].[UserName]) = @__ToLower_0 2025-11-25 13:13:34.0538|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__checkUser_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__checkUser_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) ORDER BY [u].[Id] DESC 2025-11-25 13:13:34.0538|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (3ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[NormalizedUserName] = @__normalizedUserName_0 2025-11-25 13:13:34.0741|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[ClaimType], [a].[ClaimValue], [a].[Discriminator], [a].[UserId] FROM [AspNetUserClaims] AS [a] WHERE [a].[Discriminator] IN (N'IdentityUserClaim', N'UserClaim') AND ([a].[UserId] = @__user_Id_0) 2025-11-25 13:13:34.0741|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 13:13:34.0887|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__normalizedName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[InstitutionId], [a].[IsActive], [a].[Name], [a].[NormalizedName], [a].[UpdatedBy], [a].[UserType] FROM [AspNetRoles] AS [a] WHERE [a].[NormalizedName] = @__normalizedName_0 2025-11-25 13:13:34.0887|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__role_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[ClaimType], [a].[ClaimValue] FROM [AspNetRoleClaims] AS [a] WHERE [a].[RoleId] = @__role_Id_0 2025-11-25 13:13:34.0887|10|INFO|Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationHandler|AuthenticationScheme: Identity.Application signed in. 2025-11-25 13:13:34.1022|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[NormalizedUserName] = @__normalizedUserName_0 2025-11-25 13:13:34.1237|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 13:13:34.1305|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [p].[Code] FROM [UserPermissions] AS [u] INNER JOIN [Permissions] AS [p] ON [u].[PermissionId] = [p].[Id] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 13:13:34.1305|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (12ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 13:13:34.1561|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@p6='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [UserToken] SET [DateCreated] = @p0, [ExpiryDate] = @p1, [IsActive] = @p2, [SessionExpiryDate] = @p3, [Token] = @p4, [UserId] = @p5 WHERE [Id] = @p6; SELECT @@ROWCOUNT; 2025-11-25 13:13:34.1647|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; INSERT INTO [UserToken] ([DateCreated], [ExpiryDate], [IsActive], [SessionExpiryDate], [Token], [UserId]) VALUES (@p0, @p1, @p2, @p3, @p4, @p5); SELECT [Id] FROM [UserToken] WHERE @@ROWCOUNT = 1 AND [Id] = scope_identity(); 2025-11-25 13:13:34.1647|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 13:13:34.1647||INFO|Authentication.Controllers.AccountController|userybangura@MOF role is gotten 2025-11-25 13:13:34.1787|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [u].[Id], [u].[CreatedBy], [u].[DateCreated], [u].[DateUpdated], [u].[IsActive], [u].[IsDeleted], [u].[PermissionId], [u].[RowVersion], [u].[UpdatedBy], [u].[UserId] FROM [UserPermissions] AS [u] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 13:13:34.1787|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 13:13:34.1787|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 13:13:34.1787|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 13:13:34.1939|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 13:13:34.1939|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 13:13:34.1939|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 13:13:34.1939||INFO|Authentication.Controllers.AccountController|user ybangura@MOF is signin but about to call corporate service 2025-11-25 13:13:34.2777|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'AuditTrailUtility.Utility.SaveResponse'. 2025-11-25 13:13:34.2777|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.SignIn (Authentication) in 246.2883ms 2025-11-25 13:13:34.2777|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.SignIn (Authentication)' 2025-11-25 13:13:34.2880|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 261.0514ms 200 application/json; charset=utf-8 2025-11-25 13:13:34.3540|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/Admin/GetAllUsersByCorporateId?corporateId=207 2025-11-25 13:13:34.3540|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 13:13:34.3540|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 10.0351ms 204 2025-11-25 13:13:34.3731|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/Admin/GetAllUsersByCorporateId?corporateId=207 2025-11-25 13:13:34.3731|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 13:13:34.3731|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.GetAllUsersByCorporateId (Authentication)' 2025-11-25 13:13:34.3731|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllUsersByCorporateId", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllUsersByCorporateId(Int64) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 13:13:34.3833|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 13:13:34.3833|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__corporateId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[UserTypeId] = @__corporateId_0 2025-11-25 13:13:34.3833|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[Authentication.Data.Models.Identity.UserBindingModel, Authentication.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2025-11-25 13:13:34.3833|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.GetAllUsersByCorporateId (Authentication) in 14.7503ms 2025-11-25 13:13:34.3984|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.GetAllUsersByCorporateId (Authentication)' 2025-11-25 13:13:34.3984|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 27.2408ms 200 application/json; charset=utf-8 2025-11-25 13:17:04.0773|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=yhJpGj7p/xDB2NJWnHcRub1TVYta8IYBimBzHCaEdWE= 2025-11-25 13:17:04.0773|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 13:17:04.0773|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 7.6408ms 204 2025-11-25 13:17:04.1062|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=yhJpGj7p/xDB2NJWnHcRub1TVYta8IYBimBzHCaEdWE= 0 2025-11-25 13:17:04.1062|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 13:17:04.1062|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 13:17:04.1062|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "RefreshToken", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] RefreshToken(System.String) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 13:17:04.1184|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 13:17:04.1394|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (17ms) [Parameters=[@__Token_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE [u].[Token] = @__Token_0 2025-11-25 13:17:04.1394|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'Microsoft.AspNetCore.Mvc.ProblemDetails'. 2025-11-25 13:17:04.1394|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.RefreshToken (Authentication) in 32.2166ms 2025-11-25 13:17:04.1509|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 13:17:04.1509|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 47.6223ms 401 application/problem+json; charset=utf-8 2025-11-25 13:17:43.6527|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignIn 2025-11-25 13:17:43.6527|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 13:17:43.6527|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 4.304ms 204 2025-11-25 13:17:43.7124|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignIn application/json 60 2025-11-25 13:17:43.7124|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 13:17:43.7156|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.SignIn (Authentication)' 2025-11-25 13:17:43.7156|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "SignIn", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] SignIn(Authentication.Data.Models.Identity.AuthBindingModel) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 13:17:43.7156|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 13:17:43.7156|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__ToLower_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE LOWER([a].[UserName]) = @__ToLower_0 2025-11-25 13:17:43.7320|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__checkUser_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__checkUser_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) ORDER BY [u].[Id] DESC 2025-11-25 13:17:43.7320|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[NormalizedUserName] = @__normalizedUserName_0 2025-11-25 13:17:43.7546|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (3ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[ClaimType], [a].[ClaimValue], [a].[Discriminator], [a].[UserId] FROM [AspNetUserClaims] AS [a] WHERE [a].[Discriminator] IN (N'IdentityUserClaim', N'UserClaim') AND ([a].[UserId] = @__user_Id_0) 2025-11-25 13:17:43.7622|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 13:17:43.7622|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (3ms) [Parameters=[@__normalizedName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[InstitutionId], [a].[IsActive], [a].[Name], [a].[NormalizedName], [a].[UpdatedBy], [a].[UserType] FROM [AspNetRoles] AS [a] WHERE [a].[NormalizedName] = @__normalizedName_0 2025-11-25 13:17:43.7622|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__role_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[ClaimType], [a].[ClaimValue] FROM [AspNetRoleClaims] AS [a] WHERE [a].[RoleId] = @__role_Id_0 2025-11-25 13:17:43.7797|10|INFO|Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationHandler|AuthenticationScheme: Identity.Application signed in. 2025-11-25 13:17:43.7797|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (4ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[NormalizedUserName] = @__normalizedUserName_0 2025-11-25 13:17:43.7968|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 13:17:43.7968|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [p].[Code] FROM [UserPermissions] AS [u] INNER JOIN [Permissions] AS [p] ON [u].[PermissionId] = [p].[Id] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 13:17:43.8199|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (13ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 13:17:43.8265|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p6='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [UserToken] SET [DateCreated] = @p0, [ExpiryDate] = @p1, [IsActive] = @p2, [SessionExpiryDate] = @p3, [Token] = @p4, [UserId] = @p5 WHERE [Id] = @p6; SELECT @@ROWCOUNT; 2025-11-25 13:17:43.8265|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; INSERT INTO [UserToken] ([DateCreated], [ExpiryDate], [IsActive], [SessionExpiryDate], [Token], [UserId]) VALUES (@p0, @p1, @p2, @p3, @p4, @p5); SELECT [Id] FROM [UserToken] WHERE @@ROWCOUNT = 1 AND [Id] = scope_identity(); 2025-11-25 13:17:43.8265|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 13:17:43.8405||INFO|Authentication.Controllers.AccountController|userlcaulker@MOF role is gotten 2025-11-25 13:17:43.8405|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [u].[Id], [u].[CreatedBy], [u].[DateCreated], [u].[DateUpdated], [u].[IsActive], [u].[IsDeleted], [u].[PermissionId], [u].[RowVersion], [u].[UpdatedBy], [u].[UserId] FROM [UserPermissions] AS [u] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 13:17:43.8405|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 13:17:43.8405|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 13:17:43.8405|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 13:17:43.8568|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 13:17:43.8568|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 13:17:43.8568|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 13:17:43.8568|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 13:17:43.8568|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 13:17:43.8568|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 13:17:43.8568||INFO|Authentication.Controllers.AccountController|user lcaulker@MOF is signin but about to call corporate service 2025-11-25 13:17:43.9327|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'AuditTrailUtility.Utility.SaveResponse'. 2025-11-25 13:17:43.9361|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.SignIn (Authentication) in 218.3892ms 2025-11-25 13:17:43.9361|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.SignIn (Authentication)' 2025-11-25 13:17:43.9361|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 227.2245ms 200 application/json; charset=utf-8 2025-11-25 13:17:44.3830|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/Admin/GetAllUsersByCorporateId?corporateId=207 2025-11-25 13:17:44.3830|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 13:17:44.3830|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 8.0865ms 204 2025-11-25 13:17:44.6930|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/Admin/GetAllUsersByCorporateId?corporateId=207 2025-11-25 13:17:44.6930|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 13:17:44.6930|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.GetAllUsersByCorporateId (Authentication)' 2025-11-25 13:17:44.7064|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllUsersByCorporateId", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllUsersByCorporateId(Int64) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 13:17:44.7064|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 13:17:44.7064|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (3ms) [Parameters=[@__corporateId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[UserTypeId] = @__corporateId_0 2025-11-25 13:17:44.7232|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[Authentication.Data.Models.Identity.UserBindingModel, Authentication.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2025-11-25 13:17:44.7232|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.GetAllUsersByCorporateId (Authentication) in 17.2936ms 2025-11-25 13:17:44.7232|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.GetAllUsersByCorporateId (Authentication)' 2025-11-25 13:17:44.7232|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 36.205ms 200 application/json; charset=utf-8 2025-11-25 13:25:59.9860|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=+ndyDLU43+eGWUv0cftxLsDRLG9tvuV8l2k93Clx7K8= 2025-11-25 13:25:59.9860|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 13:25:59.9860|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 7.1016ms 204 2025-11-25 13:25:59.9860|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=+ndyDLU43+eGWUv0cftxLsDRLG9tvuV8l2k93Clx7K8= 0 2025-11-25 13:25:59.9998|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 13:25:59.9998|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 13:25:59.9998|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "RefreshToken", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] RefreshToken(System.String) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 13:25:59.9998|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 13:26:00.0410|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (21ms) [Parameters=[@__Token_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE [u].[Token] = @__Token_0 2025-11-25 13:26:00.0410|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'Microsoft.AspNetCore.Mvc.ProblemDetails'. 2025-11-25 13:26:00.0495|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.RefreshToken (Authentication) in 44.9735ms 2025-11-25 13:26:00.0495|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 13:26:00.0495|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 54.0723ms 401 application/problem+json; charset=utf-8 2025-11-25 13:27:11.2762|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=TMbRmV3piOChBkO1FCNiAboZnSw2ZladBNhc/5lUE88= 2025-11-25 13:27:11.2762|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 13:27:11.2762|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=TMbRmV3piOChBkO1FCNiAboZnSw2ZladBNhc/5lUE88= 2025-11-25 13:27:11.2762|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 3.7029ms 204 2025-11-25 13:27:11.2762|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 13:27:11.2762|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=TMbRmV3piOChBkO1FCNiAboZnSw2ZladBNhc/5lUE88= 0 2025-11-25 13:27:11.2762|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 3.8532ms 204 2025-11-25 13:27:11.2857|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 13:27:11.2857|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=TMbRmV3piOChBkO1FCNiAboZnSw2ZladBNhc/5lUE88= 0 2025-11-25 13:27:11.2857|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 13:27:11.2857|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 13:27:11.2857|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "RefreshToken", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] RefreshToken(System.String) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 13:27:11.2857|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 13:27:11.2857|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 13:27:11.2857|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "RefreshToken", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] RefreshToken(System.String) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 13:27:11.2857|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 13:27:11.3092|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=TMbRmV3piOChBkO1FCNiAboZnSw2ZladBNhc/5lUE88= 0 2025-11-25 13:27:11.3092|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=TMbRmV3piOChBkO1FCNiAboZnSw2ZladBNhc/5lUE88= 0 2025-11-25 13:27:11.3092|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=TMbRmV3piOChBkO1FCNiAboZnSw2ZladBNhc/5lUE88= 0 2025-11-25 13:27:11.3092|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 13:27:11.3092|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 13:27:11.3092|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 13:27:11.3165|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 13:27:11.3165|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (19ms) [Parameters=[@__Token_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE [u].[Token] = @__Token_0 2025-11-25 13:27:11.3165|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 13:27:11.3165|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 13:27:11.3165|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "RefreshToken", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] RefreshToken(System.String) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 13:27:11.3165|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (12ms) [Parameters=[@__Token_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE [u].[Token] = @__Token_0 2025-11-25 13:27:11.3165|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "RefreshToken", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] RefreshToken(System.String) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 13:27:11.3165|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "RefreshToken", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] RefreshToken(System.String) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 13:27:11.3165|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 13:27:11.3325|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 13:27:11.3325|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 13:27:11.3540|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__p_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[Id] = @__p_0 2025-11-25 13:27:11.3540|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (20ms) [Parameters=[@__Token_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE [u].[Token] = @__Token_0 2025-11-25 13:27:11.3540|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (20ms) [Parameters=[@__Token_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE [u].[Token] = @__Token_0 2025-11-25 13:27:11.3540|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__p_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[Id] = @__p_0 2025-11-25 13:27:11.3540|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__p_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[Id] = @__p_0 2025-11-25 13:27:11.3638|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 13:27:11.3638|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__p_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[Id] = @__p_0 2025-11-25 13:27:11.3638|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 13:27:11.3638|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 13:27:11.3638|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (19ms) [Parameters=[@__Token_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE [u].[Token] = @__Token_0 2025-11-25 13:27:11.3638|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [p].[Code] FROM [UserPermissions] AS [u] INNER JOIN [Permissions] AS [p] ON [u].[PermissionId] = [p].[Id] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 13:27:11.3638|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [p].[Code] FROM [UserPermissions] AS [u] INNER JOIN [Permissions] AS [p] ON [u].[PermissionId] = [p].[Id] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 13:27:11.3638|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 13:27:11.3638|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [p].[Code] FROM [UserPermissions] AS [u] INNER JOIN [Permissions] AS [p] ON [u].[PermissionId] = [p].[Id] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 13:27:11.3638|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__p_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[Id] = @__p_0 2025-11-25 13:27:11.3802|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [p].[Code] FROM [UserPermissions] AS [u] INNER JOIN [Permissions] AS [p] ON [u].[PermissionId] = [p].[Id] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 13:27:11.3802|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 13:27:11.3802|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [p].[Code] FROM [UserPermissions] AS [u] INNER JOIN [Permissions] AS [p] ON [u].[PermissionId] = [p].[Id] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 13:27:11.3802|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (11ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 13:27:11.3802|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (12ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 13:27:11.3802|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (14ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 13:27:11.3945|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p6='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [UserToken] SET [DateCreated] = @p0, [ExpiryDate] = @p1, [IsActive] = @p2, [SessionExpiryDate] = @p3, [Token] = @p4, [UserId] = @p5 WHERE [Id] = @p6; SELECT @@ROWCOUNT; 2025-11-25 13:27:11.3945|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (13ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 13:27:11.3945|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p6='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [UserToken] SET [DateCreated] = @p0, [ExpiryDate] = @p1, [IsActive] = @p2, [SessionExpiryDate] = @p3, [Token] = @p4, [UserId] = @p5 WHERE [Id] = @p6; SELECT @@ROWCOUNT; 2025-11-25 13:27:11.3945|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (10ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 13:27:11.3945|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; INSERT INTO [UserToken] ([DateCreated], [ExpiryDate], [IsActive], [SessionExpiryDate], [Token], [UserId]) VALUES (@p0, @p1, @p2, @p3, @p4, @p5); SELECT [Id] FROM [UserToken] WHERE @@ROWCOUNT = 1 AND [Id] = scope_identity(); 2025-11-25 13:27:11.3945|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (4ms) [Parameters=[@p6='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [UserToken] SET [DateCreated] = @p0, [ExpiryDate] = @p1, [IsActive] = @p2, [SessionExpiryDate] = @p3, [Token] = @p4, [UserId] = @p5 WHERE [Id] = @p6; SELECT @@ROWCOUNT; 2025-11-25 13:27:11.3945|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; INSERT INTO [UserToken] ([DateCreated], [ExpiryDate], [IsActive], [SessionExpiryDate], [Token], [UserId]) VALUES (@p0, @p1, @p2, @p3, @p4, @p5); SELECT [Id] FROM [UserToken] WHERE @@ROWCOUNT = 1 AND [Id] = scope_identity(); 2025-11-25 13:27:11.3945|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'Authentication.Data.Models.TokenResponse'. 2025-11-25 13:27:11.3945|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (8ms) [Parameters=[@p6='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [UserToken] SET [DateCreated] = @p0, [ExpiryDate] = @p1, [IsActive] = @p2, [SessionExpiryDate] = @p3, [Token] = @p4, [UserId] = @p5 WHERE [Id] = @p6; SELECT @@ROWCOUNT; 2025-11-25 13:27:11.3945|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'Authentication.Data.Models.TokenResponse'. 2025-11-25 13:27:11.3945|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; INSERT INTO [UserToken] ([DateCreated], [ExpiryDate], [IsActive], [SessionExpiryDate], [Token], [UserId]) VALUES (@p0, @p1, @p2, @p3, @p4, @p5); SELECT [Id] FROM [UserToken] WHERE @@ROWCOUNT = 1 AND [Id] = scope_identity(); 2025-11-25 13:27:11.3945|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (5ms) [Parameters=[@p6='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [UserToken] SET [DateCreated] = @p0, [ExpiryDate] = @p1, [IsActive] = @p2, [SessionExpiryDate] = @p3, [Token] = @p4, [UserId] = @p5 WHERE [Id] = @p6; SELECT @@ROWCOUNT; 2025-11-25 13:27:11.4103|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; INSERT INTO [UserToken] ([DateCreated], [ExpiryDate], [IsActive], [SessionExpiryDate], [Token], [UserId]) VALUES (@p0, @p1, @p2, @p3, @p4, @p5); SELECT [Id] FROM [UserToken] WHERE @@ROWCOUNT = 1 AND [Id] = scope_identity(); 2025-11-25 13:27:11.4103|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'Authentication.Data.Models.TokenResponse'. 2025-11-25 13:27:11.4103|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.RefreshToken (Authentication) in 115.9654ms 2025-11-25 13:27:11.4103|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.RefreshToken (Authentication) in 112.3077ms 2025-11-25 13:27:11.4103|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'Authentication.Data.Models.TokenResponse'. 2025-11-25 13:27:11.4103|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.RefreshToken (Authentication) in 85.629ms 2025-11-25 13:27:11.4103|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 13:27:11.4103|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; INSERT INTO [UserToken] ([DateCreated], [ExpiryDate], [IsActive], [SessionExpiryDate], [Token], [UserId]) VALUES (@p0, @p1, @p2, @p3, @p4, @p5); SELECT [Id] FROM [UserToken] WHERE @@ROWCOUNT = 1 AND [Id] = scope_identity(); 2025-11-25 13:27:11.4103|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 13:27:11.4103|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.RefreshToken (Authentication) in 84.869ms 2025-11-25 13:27:11.4103|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 13:27:11.4103|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 135.3017ms 200 application/json; charset=utf-8 2025-11-25 13:27:11.4103|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 133.289ms 200 application/json; charset=utf-8 2025-11-25 13:27:11.4103|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 13:27:11.4103|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'Authentication.Data.Models.TokenResponse'. 2025-11-25 13:27:11.4103|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 113.6071ms 200 application/json; charset=utf-8 2025-11-25 13:27:11.4280|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 118.5103ms 200 application/json; charset=utf-8 2025-11-25 13:27:11.4280|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.RefreshToken (Authentication) in 98.2556ms 2025-11-25 13:27:11.4280|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 13:27:11.4280|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 128.4517ms 200 application/json; charset=utf-8 2025-11-25 13:29:54.7307|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=YiIyfPzK11bTq//AGyW8TJ5DrSR6cUp17WDWFE3qsxI= 2025-11-25 13:29:54.7342|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 13:29:54.7342|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6.4201ms 204 2025-11-25 13:29:54.7342|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=YiIyfPzK11bTq//AGyW8TJ5DrSR6cUp17WDWFE3qsxI= 2025-11-25 13:29:54.7342|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 13:29:54.7342|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 3.7558ms 204 2025-11-25 13:29:54.7489|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=YiIyfPzK11bTq//AGyW8TJ5DrSR6cUp17WDWFE3qsxI= 0 2025-11-25 13:29:54.7489|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 13:29:54.7489|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 13:29:54.7489|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "RefreshToken", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] RefreshToken(System.String) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 13:29:54.7489|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 13:29:54.7489|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=YiIyfPzK11bTq//AGyW8TJ5DrSR6cUp17WDWFE3qsxI= 0 2025-11-25 13:29:54.7489|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 13:29:54.7489|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 13:29:54.7639|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "RefreshToken", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] RefreshToken(System.String) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 13:29:54.7639|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 13:29:54.7639|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (19ms) [Parameters=[@__Token_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE [u].[Token] = @__Token_0 2025-11-25 13:29:54.7824|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'Microsoft.AspNetCore.Mvc.ProblemDetails'. 2025-11-25 13:29:54.7824|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.RefreshToken (Authentication) in 31.5112ms 2025-11-25 13:29:54.7824|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (18ms) [Parameters=[@__Token_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE [u].[Token] = @__Token_0 2025-11-25 13:29:54.7824|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 13:29:54.7824|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'Microsoft.AspNetCore.Mvc.ProblemDetails'. 2025-11-25 13:29:54.7824|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 40.8706ms 401 application/problem+json; charset=utf-8 2025-11-25 13:29:54.7824|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.RefreshToken (Authentication) in 25.4965ms 2025-11-25 13:29:54.7824|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 13:29:54.7824|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 33.4185ms 401 application/problem+json; charset=utf-8 2025-11-25 13:30:00.6790|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignIn 2025-11-25 13:30:00.6790|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 13:30:00.6855|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6.4915ms 204 2025-11-25 13:30:00.6855|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignIn application/json 62 2025-11-25 13:30:00.6855|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 13:30:00.6855|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.SignIn (Authentication)' 2025-11-25 13:30:00.7023|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "SignIn", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] SignIn(Authentication.Data.Models.Identity.AuthBindingModel) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 13:30:00.7023|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 13:30:00.7023|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__ToLower_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE LOWER([a].[UserName]) = @__ToLower_0 2025-11-25 13:30:00.7172|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__checkUser_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__checkUser_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) ORDER BY [u].[Id] DESC 2025-11-25 13:30:00.7172|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[NormalizedUserName] = @__normalizedUserName_0 2025-11-25 13:30:00.7320|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[ClaimType], [a].[ClaimValue], [a].[Discriminator], [a].[UserId] FROM [AspNetUserClaims] AS [a] WHERE [a].[Discriminator] IN (N'IdentityUserClaim', N'UserClaim') AND ([a].[UserId] = @__user_Id_0) 2025-11-25 13:30:00.7320|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 13:30:00.7320|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__normalizedName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[InstitutionId], [a].[IsActive], [a].[Name], [a].[NormalizedName], [a].[UpdatedBy], [a].[UserType] FROM [AspNetRoles] AS [a] WHERE [a].[NormalizedName] = @__normalizedName_0 2025-11-25 13:30:00.7320|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__role_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[ClaimType], [a].[ClaimValue] FROM [AspNetRoleClaims] AS [a] WHERE [a].[RoleId] = @__role_Id_0 2025-11-25 13:30:00.7477|10|INFO|Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationHandler|AuthenticationScheme: Identity.Application signed in. 2025-11-25 13:30:00.7477|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[NormalizedUserName] = @__normalizedUserName_0 2025-11-25 13:30:00.7736|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 13:30:00.7794|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [p].[Code] FROM [UserPermissions] AS [u] INNER JOIN [Permissions] AS [p] ON [u].[PermissionId] = [p].[Id] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 13:30:00.7955|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (13ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 13:30:00.7955|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p6='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [UserToken] SET [DateCreated] = @p0, [ExpiryDate] = @p1, [IsActive] = @p2, [SessionExpiryDate] = @p3, [Token] = @p4, [UserId] = @p5 WHERE [Id] = @p6; SELECT @@ROWCOUNT; 2025-11-25 13:30:00.8108|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; INSERT INTO [UserToken] ([DateCreated], [ExpiryDate], [IsActive], [SessionExpiryDate], [Token], [UserId]) VALUES (@p0, @p1, @p2, @p3, @p4, @p5); SELECT [Id] FROM [UserToken] WHERE @@ROWCOUNT = 1 AND [Id] = scope_identity(); 2025-11-25 13:30:00.8108|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 13:30:00.8108||INFO|Authentication.Controllers.AccountController|userabconteh@MOF role is gotten 2025-11-25 13:30:00.8108|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [u].[Id], [u].[CreatedBy], [u].[DateCreated], [u].[DateUpdated], [u].[IsActive], [u].[IsDeleted], [u].[PermissionId], [u].[RowVersion], [u].[UpdatedBy], [u].[UserId] FROM [UserPermissions] AS [u] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 13:30:00.8282|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 13:30:00.8282|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 13:30:00.8282|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 13:30:00.8282|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 13:30:00.8282|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 13:30:00.8418|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 13:30:00.8418|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 13:30:00.8418|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 13:30:00.8418|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 13:30:00.8418||INFO|Authentication.Controllers.AccountController|user abconteh@MOF is signin but about to call corporate service 2025-11-25 13:30:00.9056|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'AuditTrailUtility.Utility.SaveResponse'. 2025-11-25 13:30:00.9056|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.SignIn (Authentication) in 206.296ms 2025-11-25 13:30:00.9056|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.SignIn (Authentication)' 2025-11-25 13:30:00.9056|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 221.2258ms 200 application/json; charset=utf-8 2025-11-25 13:30:00.9823|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/Admin/GetAllUsersByCorporateId?corporateId=207 2025-11-25 13:30:00.9823|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 13:30:00.9823|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6.2938ms 204 2025-11-25 13:30:01.0018|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/Admin/GetAllUsersByCorporateId?corporateId=207 2025-11-25 13:30:01.0018|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 13:30:01.0018|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.GetAllUsersByCorporateId (Authentication)' 2025-11-25 13:30:01.0018|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllUsersByCorporateId", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllUsersByCorporateId(Int64) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 13:30:01.0134|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 13:30:01.0462|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (28ms) [Parameters=[@__corporateId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[UserTypeId] = @__corporateId_0 2025-11-25 13:30:01.0462|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[Authentication.Data.Models.Identity.UserBindingModel, Authentication.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2025-11-25 13:30:01.0462|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.GetAllUsersByCorporateId (Authentication) in 44.374ms 2025-11-25 13:30:01.0462|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.GetAllUsersByCorporateId (Authentication)' 2025-11-25 13:30:01.0604|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 58.6098ms 200 application/json; charset=utf-8 2025-11-25 13:37:45.2786|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=10/42/5B1LtMatNPP1ewEqn2+yUvEv84Na12E0gpdAM= 2025-11-25 13:37:45.2786|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 13:37:45.2786|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 5.8967ms 204 2025-11-25 13:37:45.2933|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=10/42/5B1LtMatNPP1ewEqn2+yUvEv84Na12E0gpdAM= 0 2025-11-25 13:37:45.2933|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 13:37:45.2933|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 13:37:45.2933|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "RefreshToken", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] RefreshToken(System.String) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 13:37:45.3041|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 13:37:45.3289|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (13ms) [Parameters=[@__Token_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE [u].[Token] = @__Token_0 2025-11-25 13:37:45.3289|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'Microsoft.AspNetCore.Mvc.ProblemDetails'. 2025-11-25 13:37:45.3371|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.RefreshToken (Authentication) in 33.8131ms 2025-11-25 13:37:45.3371|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 13:37:45.3371|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 48.3435ms 401 application/problem+json; charset=utf-8 2025-11-25 13:37:59.1270|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignIn 2025-11-25 13:37:59.1270|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 13:37:59.1270|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 4.5122ms 204 2025-11-25 13:37:59.1391|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignIn application/json 60 2025-11-25 13:37:59.1391|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 13:37:59.1391|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.SignIn (Authentication)' 2025-11-25 13:37:59.1391|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "SignIn", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] SignIn(Authentication.Data.Models.Identity.AuthBindingModel) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 13:37:59.1391|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 13:37:59.1563|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (5ms) [Parameters=[@__ToLower_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE LOWER([a].[UserName]) = @__ToLower_0 2025-11-25 13:37:59.1563|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__checkUser_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__checkUser_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) ORDER BY [u].[Id] DESC 2025-11-25 13:37:59.1647|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[NormalizedUserName] = @__normalizedUserName_0 2025-11-25 13:37:59.1647|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[ClaimType], [a].[ClaimValue], [a].[Discriminator], [a].[UserId] FROM [AspNetUserClaims] AS [a] WHERE [a].[Discriminator] IN (N'IdentityUserClaim', N'UserClaim') AND ([a].[UserId] = @__user_Id_0) 2025-11-25 13:37:59.1791|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 13:37:59.1791|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__normalizedName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[InstitutionId], [a].[IsActive], [a].[Name], [a].[NormalizedName], [a].[UpdatedBy], [a].[UserType] FROM [AspNetRoles] AS [a] WHERE [a].[NormalizedName] = @__normalizedName_0 2025-11-25 13:37:59.1791|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__role_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[ClaimType], [a].[ClaimValue] FROM [AspNetRoleClaims] AS [a] WHERE [a].[RoleId] = @__role_Id_0 2025-11-25 13:37:59.1791|10|INFO|Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationHandler|AuthenticationScheme: Identity.Application signed in. 2025-11-25 13:37:59.1949|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[NormalizedUserName] = @__normalizedUserName_0 2025-11-25 13:37:59.2132|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 13:37:59.2132|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [p].[Code] FROM [UserPermissions] AS [u] INNER JOIN [Permissions] AS [p] ON [u].[PermissionId] = [p].[Id] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 13:37:59.2370|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (12ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 13:37:59.2464|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p6='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [UserToken] SET [DateCreated] = @p0, [ExpiryDate] = @p1, [IsActive] = @p2, [SessionExpiryDate] = @p3, [Token] = @p4, [UserId] = @p5 WHERE [Id] = @p6; SELECT @@ROWCOUNT; 2025-11-25 13:37:59.2464|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; INSERT INTO [UserToken] ([DateCreated], [ExpiryDate], [IsActive], [SessionExpiryDate], [Token], [UserId]) VALUES (@p0, @p1, @p2, @p3, @p4, @p5); SELECT [Id] FROM [UserToken] WHERE @@ROWCOUNT = 1 AND [Id] = scope_identity(); 2025-11-25 13:37:59.2585|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 13:37:59.2585||INFO|Authentication.Controllers.AccountController|userlcaulker@MOF role is gotten 2025-11-25 13:37:59.2585|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [u].[Id], [u].[CreatedBy], [u].[DateCreated], [u].[DateUpdated], [u].[IsActive], [u].[IsDeleted], [u].[PermissionId], [u].[RowVersion], [u].[UpdatedBy], [u].[UserId] FROM [UserPermissions] AS [u] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 13:37:59.2585|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 13:37:59.2732|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 13:37:59.2732|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 13:37:59.2732|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 13:37:59.2732|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 13:37:59.2732|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 13:37:59.2883|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 13:37:59.2883|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 13:37:59.2883|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 13:37:59.2883||INFO|Authentication.Controllers.AccountController|user lcaulker@MOF is signin but about to call corporate service 2025-11-25 13:37:59.3572|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'AuditTrailUtility.Utility.SaveResponse'. 2025-11-25 13:37:59.3572|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.SignIn (Authentication) in 215.5595ms 2025-11-25 13:37:59.3572|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.SignIn (Authentication)' 2025-11-25 13:37:59.3572|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 225.0851ms 200 application/json; charset=utf-8 2025-11-25 13:37:59.4615|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/Admin/GetAllUsersByCorporateId?corporateId=207 2025-11-25 13:37:59.4615|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 13:37:59.4615|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 7.6841ms 204 2025-11-25 13:37:59.4767|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/Admin/GetAllUsersByCorporateId?corporateId=207 2025-11-25 13:37:59.4767|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 13:37:59.4767|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.GetAllUsersByCorporateId (Authentication)' 2025-11-25 13:37:59.4767|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllUsersByCorporateId", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllUsersByCorporateId(Int64) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 13:37:59.4767|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 13:37:59.4962|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__corporateId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[UserTypeId] = @__corporateId_0 2025-11-25 13:37:59.4962|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[Authentication.Data.Models.Identity.UserBindingModel, Authentication.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2025-11-25 13:37:59.4962|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.GetAllUsersByCorporateId (Authentication) in 13.0701ms 2025-11-25 13:37:59.4962|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.GetAllUsersByCorporateId (Authentication)' 2025-11-25 13:37:59.4962|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 28.3813ms 200 application/json; charset=utf-8 2025-11-25 13:40:56.4518|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignOut/491 2025-11-25 13:40:56.4518|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 13:40:56.4518|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 4.9263ms 204 2025-11-25 13:40:56.5292|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignOut/491 2025-11-25 13:40:56.5292|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 13:40:56.5372|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.SignOut (Authentication)' 2025-11-25 13:40:56.5372|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "SignOut", controller = "Account"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult SignOut(Int64) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 13:40:56.5372|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 13:40:56.5679|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (10ms) [Parameters=[@__UserId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__UserId_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 13:40:56.5679|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'AuditTrailUtility.Utility.SaveResponse'. 2025-11-25 13:40:56.5679|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.SignOut (Authentication) in 26.395ms 2025-11-25 13:40:56.5679|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.SignOut (Authentication)' 2025-11-25 13:40:56.5679|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 47.1469ms 200 application/json; charset=utf-8 2025-11-25 13:47:20.9704|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=sbZRz27rL3rx3R8QNpmaVrlN6+IY6lPPlYQsSMnGKl8= 2025-11-25 13:47:20.9704|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 13:47:20.9740|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=sbZRz27rL3rx3R8QNpmaVrlN6+IY6lPPlYQsSMnGKl8= 2025-11-25 13:47:20.9740|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 4.4856ms 204 2025-11-25 13:47:20.9740|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=sbZRz27rL3rx3R8QNpmaVrlN6+IY6lPPlYQsSMnGKl8= 2025-11-25 13:47:20.9740|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 13:47:20.9740|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 13:47:20.9740|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=sbZRz27rL3rx3R8QNpmaVrlN6+IY6lPPlYQsSMnGKl8= 0 2025-11-25 13:47:20.9740|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 5.5244ms 204 2025-11-25 13:47:20.9740|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 4.967ms 204 2025-11-25 13:47:20.9740|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 13:47:20.9740|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=sbZRz27rL3rx3R8QNpmaVrlN6+IY6lPPlYQsSMnGKl8= 0 2025-11-25 13:47:20.9740|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=sbZRz27rL3rx3R8QNpmaVrlN6+IY6lPPlYQsSMnGKl8= 0 2025-11-25 13:47:20.9740|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 13:47:20.9740|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 13:47:20.9740|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 13:47:20.9740|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "RefreshToken", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] RefreshToken(System.String) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 13:47:20.9740|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 13:47:20.9890|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 13:47:20.9890|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 13:47:20.9890|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "RefreshToken", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] RefreshToken(System.String) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 13:47:20.9890|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "RefreshToken", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] RefreshToken(System.String) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 13:47:20.9890|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 13:47:20.9890|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 13:47:21.0202|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (17ms) [Parameters=[@__Token_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE [u].[Token] = @__Token_0 2025-11-25 13:47:21.0202|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'Microsoft.AspNetCore.Mvc.ProblemDetails'. 2025-11-25 13:47:21.0202|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (14ms) [Parameters=[@__Token_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE [u].[Token] = @__Token_0 2025-11-25 13:47:21.0202|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.RefreshToken (Authentication) in 35.5942ms 2025-11-25 13:47:21.0202|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'Microsoft.AspNetCore.Mvc.ProblemDetails'. 2025-11-25 13:47:21.0202|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 13:47:21.0202|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.RefreshToken (Authentication) in 35.9873ms 2025-11-25 13:47:21.0202|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 51.1837ms 401 application/problem+json; charset=utf-8 2025-11-25 13:47:21.0202|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 13:47:21.0202|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 50.4712ms 401 application/problem+json; charset=utf-8 2025-11-25 13:47:21.0359|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (17ms) [Parameters=[@__Token_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE [u].[Token] = @__Token_0 2025-11-25 13:47:21.0359|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'Microsoft.AspNetCore.Mvc.ProblemDetails'. 2025-11-25 13:47:21.0359|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.RefreshToken (Authentication) in 46.904ms 2025-11-25 13:47:21.0359|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 13:47:21.0359|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 59.9073ms 401 application/problem+json; charset=utf-8 2025-11-25 13:47:32.0514|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignIn 2025-11-25 13:47:32.0514|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 13:47:32.0514|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 4.4651ms 204 2025-11-25 13:47:32.0514|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignIn application/json 60 2025-11-25 13:47:32.0514|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 13:47:32.0514|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.SignIn (Authentication)' 2025-11-25 13:47:32.0514|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "SignIn", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] SignIn(Authentication.Data.Models.Identity.AuthBindingModel) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 13:47:32.0514|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 13:47:32.0713|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__ToLower_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE LOWER([a].[UserName]) = @__ToLower_0 2025-11-25 13:47:32.0713|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__checkUser_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__checkUser_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) ORDER BY [u].[Id] DESC 2025-11-25 13:47:32.0713|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[NormalizedUserName] = @__normalizedUserName_0 2025-11-25 13:47:32.0834|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[ClaimType], [a].[ClaimValue], [a].[Discriminator], [a].[UserId] FROM [AspNetUserClaims] AS [a] WHERE [a].[Discriminator] IN (N'IdentityUserClaim', N'UserClaim') AND ([a].[UserId] = @__user_Id_0) 2025-11-25 13:47:32.0834|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 13:47:32.0834|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__normalizedName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[InstitutionId], [a].[IsActive], [a].[Name], [a].[NormalizedName], [a].[UpdatedBy], [a].[UserType] FROM [AspNetRoles] AS [a] WHERE [a].[NormalizedName] = @__normalizedName_0 2025-11-25 13:47:32.0834|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__role_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[ClaimType], [a].[ClaimValue] FROM [AspNetRoleClaims] AS [a] WHERE [a].[RoleId] = @__role_Id_0 2025-11-25 13:47:32.0984|10|INFO|Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationHandler|AuthenticationScheme: Identity.Application signed in. 2025-11-25 13:47:32.0984|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[NormalizedUserName] = @__normalizedUserName_0 2025-11-25 13:47:32.1192|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 13:47:32.1192|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [p].[Code] FROM [UserPermissions] AS [u] INNER JOIN [Permissions] AS [p] ON [u].[PermissionId] = [p].[Id] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 13:47:32.1365|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (6ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 13:47:32.1464|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p6='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [UserToken] SET [DateCreated] = @p0, [ExpiryDate] = @p1, [IsActive] = @p2, [SessionExpiryDate] = @p3, [Token] = @p4, [UserId] = @p5 WHERE [Id] = @p6; SELECT @@ROWCOUNT; 2025-11-25 13:47:32.1464|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; INSERT INTO [UserToken] ([DateCreated], [ExpiryDate], [IsActive], [SessionExpiryDate], [Token], [UserId]) VALUES (@p0, @p1, @p2, @p3, @p4, @p5); SELECT [Id] FROM [UserToken] WHERE @@ROWCOUNT = 1 AND [Id] = scope_identity(); 2025-11-25 13:47:32.1464|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 13:47:32.1464||INFO|Authentication.Controllers.AccountController|usersjalloh@MOF role is gotten 2025-11-25 13:47:32.1640|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [u].[Id], [u].[CreatedBy], [u].[DateCreated], [u].[DateUpdated], [u].[IsActive], [u].[IsDeleted], [u].[PermissionId], [u].[RowVersion], [u].[UpdatedBy], [u].[UserId] FROM [UserPermissions] AS [u] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 13:47:32.1640|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 13:47:32.1640|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 13:47:32.1640|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 13:47:32.1640|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 13:47:32.1640||INFO|Authentication.Controllers.AccountController|user sjalloh@MOF is signin but about to call corporate service 2025-11-25 13:47:32.2179|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'AuditTrailUtility.Utility.SaveResponse'. 2025-11-25 13:47:32.2179|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.SignIn (Authentication) in 154.8643ms 2025-11-25 13:47:32.2179|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.SignIn (Authentication)' 2025-11-25 13:47:32.2246|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 164.2929ms 200 application/json; charset=utf-8 2025-11-25 13:47:32.2719|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/Admin/GetAllUsersByCorporateId?corporateId=207 2025-11-25 13:47:32.2719|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 13:47:32.2719|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 8.5814ms 204 2025-11-25 13:47:32.2719|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/Admin/GetAllUsersByCorporateId?corporateId=207 2025-11-25 13:47:32.2879|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 13:47:32.2879|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.GetAllUsersByCorporateId (Authentication)' 2025-11-25 13:47:32.2879|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllUsersByCorporateId", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllUsersByCorporateId(Int64) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 13:47:32.2879|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 13:47:32.3050|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__corporateId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[UserTypeId] = @__corporateId_0 2025-11-25 13:47:32.3050|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[Authentication.Data.Models.Identity.UserBindingModel, Authentication.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2025-11-25 13:47:32.3050|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.GetAllUsersByCorporateId (Authentication) in 14.6907ms 2025-11-25 13:47:32.3050|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.GetAllUsersByCorporateId (Authentication)' 2025-11-25 13:47:32.3174|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 32.1896ms 200 application/json; charset=utf-8 2025-11-25 13:58:06.3927|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=OLo6jP8tX/2Rjo4H9WVPfpjBFOK4dM7SMKQ9zET6BqY= 2025-11-25 13:58:06.3927|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=OLo6jP8tX/2Rjo4H9WVPfpjBFOK4dM7SMKQ9zET6BqY= 2025-11-25 13:58:06.3927|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=OLo6jP8tX/2Rjo4H9WVPfpjBFOK4dM7SMKQ9zET6BqY= 2025-11-25 13:58:06.3927|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 13:58:06.3927|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=OLo6jP8tX/2Rjo4H9WVPfpjBFOK4dM7SMKQ9zET6BqY= 2025-11-25 13:58:06.3927|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=OLo6jP8tX/2Rjo4H9WVPfpjBFOK4dM7SMKQ9zET6BqY= 2025-11-25 13:58:06.3927|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 13:58:06.3927|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 13:58:06.3927|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 9.3411ms 204 2025-11-25 13:58:06.3927|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 13:58:06.3927|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 13:58:06.3927|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 8.985ms 204 2025-11-25 13:58:06.3927|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 7.6119ms 204 2025-11-25 13:58:06.4058|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 10.3738ms 204 2025-11-25 13:58:06.4058|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 10.2728ms 204 2025-11-25 13:58:06.4058|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=OLo6jP8tX/2Rjo4H9WVPfpjBFOK4dM7SMKQ9zET6BqY= 0 2025-11-25 13:58:06.4058|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=OLo6jP8tX/2Rjo4H9WVPfpjBFOK4dM7SMKQ9zET6BqY= 0 2025-11-25 13:58:06.4058|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=OLo6jP8tX/2Rjo4H9WVPfpjBFOK4dM7SMKQ9zET6BqY= 0 2025-11-25 13:58:06.4058|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=OLo6jP8tX/2Rjo4H9WVPfpjBFOK4dM7SMKQ9zET6BqY= 0 2025-11-25 13:58:06.4058|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=OLo6jP8tX/2Rjo4H9WVPfpjBFOK4dM7SMKQ9zET6BqY= 0 2025-11-25 13:58:06.4058|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 13:58:06.4058|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 13:58:06.4058|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 13:58:06.4058|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 13:58:06.4058|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 13:58:06.4213|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 13:58:06.4213|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 13:58:06.4213|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 13:58:06.4213|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 13:58:06.4213|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 13:58:06.4213|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "RefreshToken", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] RefreshToken(System.String) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 13:58:06.4213|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "RefreshToken", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] RefreshToken(System.String) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 13:58:06.4213|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "RefreshToken", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] RefreshToken(System.String) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 13:58:06.4213|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "RefreshToken", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] RefreshToken(System.String) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 13:58:06.4213|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "RefreshToken", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] RefreshToken(System.String) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 13:58:06.4406|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 13:58:06.4406|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 13:58:06.4406|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 13:58:06.4406|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 13:58:06.4406|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 13:58:06.4810|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (22ms) [Parameters=[@__Token_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE [u].[Token] = @__Token_0 2025-11-25 13:58:06.4919|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (23ms) [Parameters=[@__Token_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE [u].[Token] = @__Token_0 2025-11-25 13:58:06.4919|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__p_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[Id] = @__p_0 2025-11-25 13:58:06.4919|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (13ms) [Parameters=[@__Token_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE [u].[Token] = @__Token_0 2025-11-25 13:58:06.5020|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (23ms) [Parameters=[@__Token_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE [u].[Token] = @__Token_0 2025-11-25 13:58:06.4919|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__p_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[Id] = @__p_0 2025-11-25 13:58:06.5020|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 13:58:06.5020|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__p_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[Id] = @__p_0 2025-11-25 13:58:06.5020|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__p_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[Id] = @__p_0 2025-11-25 13:58:06.5020|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (19ms) [Parameters=[@__Token_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE [u].[Token] = @__Token_0 2025-11-25 13:58:06.5020|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 13:58:06.5020|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [p].[Code] FROM [UserPermissions] AS [u] INNER JOIN [Permissions] AS [p] ON [u].[PermissionId] = [p].[Id] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 13:58:06.5020|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 13:58:06.5020|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 13:58:06.5148|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [p].[Code] FROM [UserPermissions] AS [u] INNER JOIN [Permissions] AS [p] ON [u].[PermissionId] = [p].[Id] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 13:58:06.5148|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__p_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[Id] = @__p_0 2025-11-25 13:58:06.5148|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [p].[Code] FROM [UserPermissions] AS [u] INNER JOIN [Permissions] AS [p] ON [u].[PermissionId] = [p].[Id] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 13:58:06.5148|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [p].[Code] FROM [UserPermissions] AS [u] INNER JOIN [Permissions] AS [p] ON [u].[PermissionId] = [p].[Id] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 13:58:06.5148|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 13:58:06.5148|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (7ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 13:58:06.5148|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [p].[Code] FROM [UserPermissions] AS [u] INNER JOIN [Permissions] AS [p] ON [u].[PermissionId] = [p].[Id] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 13:58:06.5148|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (8ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 13:58:06.5148|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (6ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 13:58:06.5302|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p6='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [UserToken] SET [DateCreated] = @p0, [ExpiryDate] = @p1, [IsActive] = @p2, [SessionExpiryDate] = @p3, [Token] = @p4, [UserId] = @p5 WHERE [Id] = @p6; SELECT @@ROWCOUNT; 2025-11-25 13:58:06.5302|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@p6='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [UserToken] SET [DateCreated] = @p0, [ExpiryDate] = @p1, [IsActive] = @p2, [SessionExpiryDate] = @p3, [Token] = @p4, [UserId] = @p5 WHERE [Id] = @p6; SELECT @@ROWCOUNT; 2025-11-25 13:58:06.5302|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (11ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 13:58:06.5302|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; INSERT INTO [UserToken] ([DateCreated], [ExpiryDate], [IsActive], [SessionExpiryDate], [Token], [UserId]) VALUES (@p0, @p1, @p2, @p3, @p4, @p5); SELECT [Id] FROM [UserToken] WHERE @@ROWCOUNT = 1 AND [Id] = scope_identity(); 2025-11-25 13:58:06.5302|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (3ms) [Parameters=[@p6='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [UserToken] SET [DateCreated] = @p0, [ExpiryDate] = @p1, [IsActive] = @p2, [SessionExpiryDate] = @p3, [Token] = @p4, [UserId] = @p5 WHERE [Id] = @p6; SELECT @@ROWCOUNT; 2025-11-25 13:58:06.5302|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'Authentication.Data.Models.TokenResponse'. 2025-11-25 13:58:06.5302|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; INSERT INTO [UserToken] ([DateCreated], [ExpiryDate], [IsActive], [SessionExpiryDate], [Token], [UserId]) VALUES (@p0, @p1, @p2, @p3, @p4, @p5); SELECT [Id] FROM [UserToken] WHERE @@ROWCOUNT = 1 AND [Id] = scope_identity(); 2025-11-25 13:58:06.5302|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (13ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 13:58:06.5302|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p6='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [UserToken] SET [DateCreated] = @p0, [ExpiryDate] = @p1, [IsActive] = @p2, [SessionExpiryDate] = @p3, [Token] = @p4, [UserId] = @p5 WHERE [Id] = @p6; SELECT @@ROWCOUNT; 2025-11-25 13:58:06.5302|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.RefreshToken (Authentication) in 103.3504ms 2025-11-25 13:58:06.5302|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; INSERT INTO [UserToken] ([DateCreated], [ExpiryDate], [IsActive], [SessionExpiryDate], [Token], [UserId]) VALUES (@p0, @p1, @p2, @p3, @p4, @p5); SELECT [Id] FROM [UserToken] WHERE @@ROWCOUNT = 1 AND [Id] = scope_identity(); 2025-11-25 13:58:06.5465|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'Authentication.Data.Models.TokenResponse'. 2025-11-25 13:58:06.5465|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 13:58:06.5465|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p6='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [UserToken] SET [DateCreated] = @p0, [ExpiryDate] = @p1, [IsActive] = @p2, [SessionExpiryDate] = @p3, [Token] = @p4, [UserId] = @p5 WHERE [Id] = @p6; SELECT @@ROWCOUNT; 2025-11-25 13:58:06.5465|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; INSERT INTO [UserToken] ([DateCreated], [ExpiryDate], [IsActive], [SessionExpiryDate], [Token], [UserId]) VALUES (@p0, @p1, @p2, @p3, @p4, @p5); SELECT [Id] FROM [UserToken] WHERE @@ROWCOUNT = 1 AND [Id] = scope_identity(); 2025-11-25 13:58:06.5465|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'Authentication.Data.Models.TokenResponse'. 2025-11-25 13:58:06.5465|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.RefreshToken (Authentication) in 114.7961ms 2025-11-25 13:58:06.5465|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 143.7395ms 200 application/json; charset=utf-8 2025-11-25 13:58:06.5465|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'Authentication.Data.Models.TokenResponse'. 2025-11-25 13:58:06.5465|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.RefreshToken (Authentication) in 116.9109ms 2025-11-25 13:58:06.5465|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; INSERT INTO [UserToken] ([DateCreated], [ExpiryDate], [IsActive], [SessionExpiryDate], [Token], [UserId]) VALUES (@p0, @p1, @p2, @p3, @p4, @p5); SELECT [Id] FROM [UserToken] WHERE @@ROWCOUNT = 1 AND [Id] = scope_identity(); 2025-11-25 13:58:06.5614|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 13:58:06.5614|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.RefreshToken (Authentication) in 118.4354ms 2025-11-25 13:58:06.5614|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 13:58:06.5614|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 159.382ms 200 application/json; charset=utf-8 2025-11-25 13:58:06.5614|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 13:58:06.5614|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'Authentication.Data.Models.TokenResponse'. 2025-11-25 13:58:06.5614|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 161.2643ms 200 application/json; charset=utf-8 2025-11-25 13:58:06.5614|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 162.669ms 200 application/json; charset=utf-8 2025-11-25 13:58:06.5614|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.RefreshToken (Authentication) in 130.5745ms 2025-11-25 13:58:06.5791|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 13:58:06.5791|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 170.395ms 200 application/json; charset=utf-8 2025-11-25 14:07:57.2837|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=6gC4rSQH658aGNmO54dxEC1pwRRfiaLplqzCkv5a3Pc= 2025-11-25 14:07:57.2837|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 14:07:57.2837|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 3.9835ms 204 2025-11-25 14:07:57.2950|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=6gC4rSQH658aGNmO54dxEC1pwRRfiaLplqzCkv5a3Pc= 0 2025-11-25 14:07:57.2950|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 14:07:57.2950|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 14:07:57.2950|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "RefreshToken", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] RefreshToken(System.String) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 14:07:57.2950|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 14:07:57.3349|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (17ms) [Parameters=[@__Token_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE [u].[Token] = @__Token_0 2025-11-25 14:07:57.3420|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__p_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[Id] = @__p_0 2025-11-25 14:07:57.3420|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 14:07:57.3420|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [p].[Code] FROM [UserPermissions] AS [u] INNER JOIN [Permissions] AS [p] ON [u].[PermissionId] = [p].[Id] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 14:07:57.3609|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (6ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 14:07:57.3609|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p6='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [UserToken] SET [DateCreated] = @p0, [ExpiryDate] = @p1, [IsActive] = @p2, [SessionExpiryDate] = @p3, [Token] = @p4, [UserId] = @p5 WHERE [Id] = @p6; SELECT @@ROWCOUNT; 2025-11-25 14:07:57.3746|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; INSERT INTO [UserToken] ([DateCreated], [ExpiryDate], [IsActive], [SessionExpiryDate], [Token], [UserId]) VALUES (@p0, @p1, @p2, @p3, @p4, @p5); SELECT [Id] FROM [UserToken] WHERE @@ROWCOUNT = 1 AND [Id] = scope_identity(); 2025-11-25 14:07:57.3746|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'Authentication.Data.Models.TokenResponse'. 2025-11-25 14:07:57.3746|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.RefreshToken (Authentication) in 74.4862ms 2025-11-25 14:07:57.3746|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 14:07:57.3746|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 87.2342ms 200 application/json; charset=utf-8 2025-11-25 14:09:11.5278|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignIn 2025-11-25 14:09:11.5278|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 14:09:11.5325|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 4.7131ms 204 2025-11-25 14:09:11.5554|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignIn application/json 59 2025-11-25 14:09:11.5554|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 14:09:11.5554|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.SignIn (Authentication)' 2025-11-25 14:09:11.5624|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "SignIn", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] SignIn(Authentication.Data.Models.Identity.AuthBindingModel) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 14:09:11.5624|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 14:09:11.5624|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__ToLower_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE LOWER([a].[UserName]) = @__ToLower_0 2025-11-25 14:09:11.5791|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (6ms) [Parameters=[@__checkUser_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__checkUser_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) ORDER BY [u].[Id] DESC 2025-11-25 14:09:11.5791|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[NormalizedUserName] = @__normalizedUserName_0 2025-11-25 14:09:11.5791|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[ClaimType], [a].[ClaimValue], [a].[Discriminator], [a].[UserId] FROM [AspNetUserClaims] AS [a] WHERE [a].[Discriminator] IN (N'IdentityUserClaim', N'UserClaim') AND ([a].[UserId] = @__user_Id_0) 2025-11-25 14:09:11.5959|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 14:09:11.5959|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__normalizedName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[InstitutionId], [a].[IsActive], [a].[Name], [a].[NormalizedName], [a].[UpdatedBy], [a].[UserType] FROM [AspNetRoles] AS [a] WHERE [a].[NormalizedName] = @__normalizedName_0 2025-11-25 14:09:11.5959|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__role_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[ClaimType], [a].[ClaimValue] FROM [AspNetRoleClaims] AS [a] WHERE [a].[RoleId] = @__role_Id_0 2025-11-25 14:09:11.5959|10|INFO|Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationHandler|AuthenticationScheme: Identity.Application signed in. 2025-11-25 14:09:11.6142|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (4ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[NormalizedUserName] = @__normalizedUserName_0 2025-11-25 14:09:11.6312|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 14:09:11.6312|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [p].[Code] FROM [UserPermissions] AS [u] INNER JOIN [Permissions] AS [p] ON [u].[PermissionId] = [p].[Id] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 14:09:11.6502|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (13ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 14:09:11.6561|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; INSERT INTO [UserToken] ([DateCreated], [ExpiryDate], [IsActive], [SessionExpiryDate], [Token], [UserId]) VALUES (@p0, @p1, @p2, @p3, @p4, @p5); SELECT [Id] FROM [UserToken] WHERE @@ROWCOUNT = 1 AND [Id] = scope_identity(); 2025-11-25 14:09:11.6561|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 14:09:11.6561||INFO|Authentication.Controllers.AccountController|userrcoker@MOF role is gotten 2025-11-25 14:09:11.6561|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [u].[Id], [u].[CreatedBy], [u].[DateCreated], [u].[DateUpdated], [u].[IsActive], [u].[IsDeleted], [u].[PermissionId], [u].[RowVersion], [u].[UpdatedBy], [u].[UserId] FROM [UserPermissions] AS [u] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 14:09:11.6723|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 14:09:11.6723|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 14:09:11.6723|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 14:09:11.6723|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 14:09:11.6723|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 14:09:11.6723|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 14:09:11.6882|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 14:09:11.6882|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 14:09:11.6882|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 14:09:11.6882|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 14:09:11.6882||INFO|Authentication.Controllers.AccountController|user rcoker@MOF is signin but about to call corporate service 2025-11-25 14:09:11.7419|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'AuditTrailUtility.Utility.SaveResponse'. 2025-11-25 14:09:11.7419|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.SignIn (Authentication) in 182.3467ms 2025-11-25 14:09:11.7419|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.SignIn (Authentication)' 2025-11-25 14:09:11.7511|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 195.7793ms 200 application/json; charset=utf-8 2025-11-25 14:09:11.8921|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/Admin/GetAllUsersByCorporateId?corporateId=207 2025-11-25 14:09:11.8921|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 14:09:11.8921|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 3.9095ms 204 2025-11-25 14:09:11.9445|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/Admin/GetAllUsersByCorporateId?corporateId=207 2025-11-25 14:09:11.9445|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 14:09:11.9527|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.GetAllUsersByCorporateId (Authentication)' 2025-11-25 14:09:11.9527|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllUsersByCorporateId", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllUsersByCorporateId(Int64) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 14:09:11.9527|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 14:09:11.9527|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__corporateId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[UserTypeId] = @__corporateId_0 2025-11-25 14:09:11.9712|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[Authentication.Data.Models.Identity.UserBindingModel, Authentication.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2025-11-25 14:09:11.9712|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.GetAllUsersByCorporateId (Authentication) in 14.8542ms 2025-11-25 14:09:11.9712|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.GetAllUsersByCorporateId (Authentication)' 2025-11-25 14:09:11.9712|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 31.665ms 200 application/json; charset=utf-8 2025-11-25 14:10:27.8514|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=nqOF79A9Y3ZReAG7pFcOOd1KzD37u5Ayu7h5Bi0NElw= 2025-11-25 14:10:27.8514|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=nqOF79A9Y3ZReAG7pFcOOd1KzD37u5Ayu7h5Bi0NElw= 2025-11-25 14:10:27.8514|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 14:10:27.8514|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 14:10:27.8514|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 7.027ms 204 2025-11-25 14:10:27.8514|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 8.1649ms 204 2025-11-25 14:10:27.8652|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=nqOF79A9Y3ZReAG7pFcOOd1KzD37u5Ayu7h5Bi0NElw= 0 2025-11-25 14:10:27.8652|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=nqOF79A9Y3ZReAG7pFcOOd1KzD37u5Ayu7h5Bi0NElw= 0 2025-11-25 14:10:27.8652|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 14:10:27.8652|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 14:10:27.8652|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=nqOF79A9Y3ZReAG7pFcOOd1KzD37u5Ayu7h5Bi0NElw= 0 2025-11-25 14:10:27.8652|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 14:10:27.8652|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=nqOF79A9Y3ZReAG7pFcOOd1KzD37u5Ayu7h5Bi0NElw= 0 2025-11-25 14:10:27.8652|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=nqOF79A9Y3ZReAG7pFcOOd1KzD37u5Ayu7h5Bi0NElw= 0 2025-11-25 14:10:27.8652|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 14:10:27.8652|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 14:10:27.8652|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "RefreshToken", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] RefreshToken(System.String) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 14:10:27.8652|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 14:10:27.8652|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 14:10:27.8765|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "RefreshToken", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] RefreshToken(System.String) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 14:10:27.8765|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 14:10:27.8765|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 14:10:27.8765|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 14:10:27.8765|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 14:10:27.8765|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "RefreshToken", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] RefreshToken(System.String) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 14:10:27.8765|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "RefreshToken", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] RefreshToken(System.String) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 14:10:27.8765|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "RefreshToken", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] RefreshToken(System.String) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 14:10:27.8765|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 14:10:27.8765|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 14:10:27.8938|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 14:10:27.8938|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 14:10:27.9096|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (22ms) [Parameters=[@__Token_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE [u].[Token] = @__Token_0 2025-11-25 14:10:27.9096|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'Microsoft.AspNetCore.Mvc.ProblemDetails'. 2025-11-25 14:10:27.9096|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.RefreshToken (Authentication) in 36.9942ms 2025-11-25 14:10:27.9096|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 14:10:27.9096|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 55.216ms 401 application/problem+json; charset=utf-8 2025-11-25 14:10:27.9261|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (13ms) [Parameters=[@__Token_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE [u].[Token] = @__Token_0 2025-11-25 14:10:27.9261|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (12ms) [Parameters=[@__Token_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE [u].[Token] = @__Token_0 2025-11-25 14:10:27.9261|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'Microsoft.AspNetCore.Mvc.ProblemDetails'. 2025-11-25 14:10:27.9261|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'Microsoft.AspNetCore.Mvc.ProblemDetails'. 2025-11-25 14:10:27.9261|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (23ms) [Parameters=[@__Token_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE [u].[Token] = @__Token_0 2025-11-25 14:10:27.9261|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.RefreshToken (Authentication) in 36.8393ms 2025-11-25 14:10:27.9261|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.RefreshToken (Authentication) in 41.9526ms 2025-11-25 14:10:27.9261|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'Microsoft.AspNetCore.Mvc.ProblemDetails'. 2025-11-25 14:10:27.9261|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 14:10:27.9261|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 14:10:27.9261|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.RefreshToken (Authentication) in 55.4064ms 2025-11-25 14:10:27.9393|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 70.756ms 401 application/problem+json; charset=utf-8 2025-11-25 14:10:27.9393|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (18ms) [Parameters=[@__Token_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE [u].[Token] = @__Token_0 2025-11-25 14:10:27.9393|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 72.172ms 401 application/problem+json; charset=utf-8 2025-11-25 14:10:27.9393|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 14:10:27.9393|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'Microsoft.AspNetCore.Mvc.ProblemDetails'. 2025-11-25 14:10:27.9393|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 84.3237ms 401 application/problem+json; charset=utf-8 2025-11-25 14:10:27.9393|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.RefreshToken (Authentication) in 56.9983ms 2025-11-25 14:10:27.9548|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 14:10:27.9548|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 87.913ms 401 application/problem+json; charset=utf-8 2025-11-25 14:10:39.0858|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignIn 2025-11-25 14:10:39.0858|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 14:10:39.0858|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 4.805ms 204 2025-11-25 14:10:39.1044|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignIn application/json 64 2025-11-25 14:10:39.1044|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 14:10:39.1044|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.SignIn (Authentication)' 2025-11-25 14:10:39.1044|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "SignIn", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] SignIn(Authentication.Data.Models.Identity.AuthBindingModel) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 14:10:39.1044|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 14:10:39.1181|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__ToLower_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE LOWER([a].[UserName]) = @__ToLower_0 2025-11-25 14:10:39.1181|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__checkUser_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__checkUser_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) ORDER BY [u].[Id] DESC 2025-11-25 14:10:39.1181|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[NormalizedUserName] = @__normalizedUserName_0 2025-11-25 14:10:39.1181|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[ClaimType], [a].[ClaimValue], [a].[Discriminator], [a].[UserId] FROM [AspNetUserClaims] AS [a] WHERE [a].[Discriminator] IN (N'IdentityUserClaim', N'UserClaim') AND ([a].[UserId] = @__user_Id_0) 2025-11-25 14:10:39.1181|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 14:10:39.1324|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__normalizedName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[InstitutionId], [a].[IsActive], [a].[Name], [a].[NormalizedName], [a].[UpdatedBy], [a].[UserType] FROM [AspNetRoles] AS [a] WHERE [a].[NormalizedName] = @__normalizedName_0 2025-11-25 14:10:39.1324|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__role_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[ClaimType], [a].[ClaimValue] FROM [AspNetRoleClaims] AS [a] WHERE [a].[RoleId] = @__role_Id_0 2025-11-25 14:10:39.1324|10|INFO|Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationHandler|AuthenticationScheme: Identity.Application signed in. 2025-11-25 14:10:39.1324|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[NormalizedUserName] = @__normalizedUserName_0 2025-11-25 14:10:39.1474|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 14:10:39.1474|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [p].[Code] FROM [UserPermissions] AS [u] INNER JOIN [Permissions] AS [p] ON [u].[PermissionId] = [p].[Id] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 14:10:39.1623|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (10ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 14:10:39.1623|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p6='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [UserToken] SET [DateCreated] = @p0, [ExpiryDate] = @p1, [IsActive] = @p2, [SessionExpiryDate] = @p3, [Token] = @p4, [UserId] = @p5 WHERE [Id] = @p6; SELECT @@ROWCOUNT; 2025-11-25 14:10:39.1623|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; INSERT INTO [UserToken] ([DateCreated], [ExpiryDate], [IsActive], [SessionExpiryDate], [Token], [UserId]) VALUES (@p0, @p1, @p2, @p3, @p4, @p5); SELECT [Id] FROM [UserToken] WHERE @@ROWCOUNT = 1 AND [Id] = scope_identity(); 2025-11-25 14:10:39.1817|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 14:10:39.1817||INFO|Authentication.Controllers.AccountController|userybangura@MOF role is gotten 2025-11-25 14:10:39.1817|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [u].[Id], [u].[CreatedBy], [u].[DateCreated], [u].[DateUpdated], [u].[IsActive], [u].[IsDeleted], [u].[PermissionId], [u].[RowVersion], [u].[UpdatedBy], [u].[UserId] FROM [UserPermissions] AS [u] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 14:10:39.1817|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 14:10:39.1941|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 14:10:39.1941|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 14:10:39.1941|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 14:10:39.1941|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 14:10:39.1941|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 14:10:39.1941||INFO|Authentication.Controllers.AccountController|user ybangura@MOF is signin but about to call corporate service 2025-11-25 14:10:39.2514|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'AuditTrailUtility.Utility.SaveResponse'. 2025-11-25 14:10:39.2514|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.SignIn (Authentication) in 142.3862ms 2025-11-25 14:10:39.2514|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.SignIn (Authentication)' 2025-11-25 14:10:39.2556|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 151.2698ms 200 application/json; charset=utf-8 2025-11-25 14:10:39.3205|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/Admin/GetAllUsersByCorporateId?corporateId=207 2025-11-25 14:10:39.3205|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 14:10:39.3205|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 7.4816ms 204 2025-11-25 14:10:39.3375|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/Admin/GetAllUsersByCorporateId?corporateId=207 2025-11-25 14:10:39.3375|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 14:10:39.3375|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.GetAllUsersByCorporateId (Authentication)' 2025-11-25 14:10:39.3375|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllUsersByCorporateId", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllUsersByCorporateId(Int64) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 14:10:39.3513|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 14:10:39.3513|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__corporateId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[UserTypeId] = @__corporateId_0 2025-11-25 14:10:39.3669|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[Authentication.Data.Models.Identity.UserBindingModel, Authentication.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2025-11-25 14:10:39.3669|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.GetAllUsersByCorporateId (Authentication) in 19.2368ms 2025-11-25 14:10:39.3669|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.GetAllUsersByCorporateId (Authentication)' 2025-11-25 14:10:39.3669|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 37.6042ms 200 application/json; charset=utf-8 2025-11-25 14:13:26.9579|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=9Ur616nE30uIUVhgc2RhHaD4NmO5ytw+l53qIOu6NBo= 2025-11-25 14:13:26.9579|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 14:13:26.9579|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 4.5563ms 204 2025-11-25 14:13:26.9685|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=9Ur616nE30uIUVhgc2RhHaD4NmO5ytw+l53qIOu6NBo= 0 2025-11-25 14:13:26.9685|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 14:13:26.9685|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 14:13:26.9685|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "RefreshToken", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] RefreshToken(System.String) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 14:13:26.9685|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 14:13:26.9989|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (21ms) [Parameters=[@__Token_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE [u].[Token] = @__Token_0 2025-11-25 14:13:27.0023|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'Microsoft.AspNetCore.Mvc.ProblemDetails'. 2025-11-25 14:13:27.0023|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.RefreshToken (Authentication) in 29.854ms 2025-11-25 14:13:27.0023|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 14:13:27.0023|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 40.0207ms 401 application/problem+json; charset=utf-8 2025-11-25 14:13:31.6109|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignIn 2025-11-25 14:13:31.6109|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 14:13:31.6109|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 3.7914ms 204 2025-11-25 14:13:31.6109|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignIn application/json 62 2025-11-25 14:13:31.6109|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 14:13:31.6109|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.SignIn (Authentication)' 2025-11-25 14:13:31.6241|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "SignIn", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] SignIn(Authentication.Data.Models.Identity.AuthBindingModel) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 14:13:31.6241|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 14:13:31.6241|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__ToLower_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE LOWER([a].[UserName]) = @__ToLower_0 2025-11-25 14:13:31.6241|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__checkUser_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__checkUser_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) ORDER BY [u].[Id] DESC 2025-11-25 14:13:31.6241|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[NormalizedUserName] = @__normalizedUserName_0 2025-11-25 14:13:31.6420|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[ClaimType], [a].[ClaimValue], [a].[Discriminator], [a].[UserId] FROM [AspNetUserClaims] AS [a] WHERE [a].[Discriminator] IN (N'IdentityUserClaim', N'UserClaim') AND ([a].[UserId] = @__user_Id_0) 2025-11-25 14:13:31.6420|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 14:13:31.6420|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__normalizedName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[InstitutionId], [a].[IsActive], [a].[Name], [a].[NormalizedName], [a].[UpdatedBy], [a].[UserType] FROM [AspNetRoles] AS [a] WHERE [a].[NormalizedName] = @__normalizedName_0 2025-11-25 14:13:31.6420|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__role_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[ClaimType], [a].[ClaimValue] FROM [AspNetRoleClaims] AS [a] WHERE [a].[RoleId] = @__role_Id_0 2025-11-25 14:13:31.6574|10|INFO|Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationHandler|AuthenticationScheme: Identity.Application signed in. 2025-11-25 14:13:31.6574|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[NormalizedUserName] = @__normalizedUserName_0 2025-11-25 14:13:31.6816|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 14:13:31.6868|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [p].[Code] FROM [UserPermissions] AS [u] INNER JOIN [Permissions] AS [p] ON [u].[PermissionId] = [p].[Id] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 14:13:31.7034|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (12ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 14:13:31.7034|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p6='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [UserToken] SET [DateCreated] = @p0, [ExpiryDate] = @p1, [IsActive] = @p2, [SessionExpiryDate] = @p3, [Token] = @p4, [UserId] = @p5 WHERE [Id] = @p6; SELECT @@ROWCOUNT; 2025-11-25 14:13:31.7215|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; INSERT INTO [UserToken] ([DateCreated], [ExpiryDate], [IsActive], [SessionExpiryDate], [Token], [UserId]) VALUES (@p0, @p1, @p2, @p3, @p4, @p5); SELECT [Id] FROM [UserToken] WHERE @@ROWCOUNT = 1 AND [Id] = scope_identity(); 2025-11-25 14:13:31.7215|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 14:13:31.7215||INFO|Authentication.Controllers.AccountController|userabconteh@MOF role is gotten 2025-11-25 14:13:31.7388|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [u].[Id], [u].[CreatedBy], [u].[DateCreated], [u].[DateUpdated], [u].[IsActive], [u].[IsDeleted], [u].[PermissionId], [u].[RowVersion], [u].[UpdatedBy], [u].[UserId] FROM [UserPermissions] AS [u] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 14:13:31.7388|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 14:13:31.7388|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 14:13:31.7388|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 14:13:31.7521|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 14:13:31.7521|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 14:13:31.7521|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 14:13:31.7521|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 14:13:31.7521|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 14:13:31.7521|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 14:13:31.7656||INFO|Authentication.Controllers.AccountController|user abconteh@MOF is signin but about to call corporate service 2025-11-25 14:13:31.8172|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'AuditTrailUtility.Utility.SaveResponse'. 2025-11-25 14:13:31.8172|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.SignIn (Authentication) in 194.6837ms 2025-11-25 14:13:31.8172|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.SignIn (Authentication)' 2025-11-25 14:13:31.8172|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 202.5006ms 200 application/json; charset=utf-8 2025-11-25 14:13:31.8630|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/Admin/GetAllUsersByCorporateId?corporateId=207 2025-11-25 14:13:31.8630|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 14:13:31.8630|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 5.5068ms 204 2025-11-25 14:13:31.8630|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/Admin/GetAllUsersByCorporateId?corporateId=207 2025-11-25 14:13:31.8760|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 14:13:31.8760|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.GetAllUsersByCorporateId (Authentication)' 2025-11-25 14:13:31.8760|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllUsersByCorporateId", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllUsersByCorporateId(Int64) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 14:13:31.8760|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 14:13:31.8911|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__corporateId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[UserTypeId] = @__corporateId_0 2025-11-25 14:13:31.8911|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[Authentication.Data.Models.Identity.UserBindingModel, Authentication.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2025-11-25 14:13:31.8911|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.GetAllUsersByCorporateId (Authentication) in 10.2806ms 2025-11-25 14:13:31.8911|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.GetAllUsersByCorporateId (Authentication)' 2025-11-25 14:13:31.8911|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 24.7308ms 200 application/json; charset=utf-8 2025-11-25 14:18:12.1579|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=6ahhmi8oUcwfOQWXnmem2rl6pUNOnkxOZPbsEyT3+C0= 2025-11-25 14:18:12.1579|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 14:18:12.1579|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 5.7719ms 204 2025-11-25 14:18:12.1579|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=6ahhmi8oUcwfOQWXnmem2rl6pUNOnkxOZPbsEyT3+C0= 0 2025-11-25 14:18:12.1579|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 14:18:12.1734|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 14:18:12.1734|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "RefreshToken", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] RefreshToken(System.String) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 14:18:12.1734|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 14:18:12.1973|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (21ms) [Parameters=[@__Token_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE [u].[Token] = @__Token_0 2025-11-25 14:18:12.1973|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'Microsoft.AspNetCore.Mvc.ProblemDetails'. 2025-11-25 14:18:12.1973|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.RefreshToken (Authentication) in 27.8658ms 2025-11-25 14:18:12.2044|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 14:18:12.2044|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 35.1563ms 401 application/problem+json; charset=utf-8 2025-11-25 14:18:51.5801|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignIn 2025-11-25 14:18:51.5801|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 14:18:51.5801|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 5.4143ms 204 2025-11-25 14:18:51.5990|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignIn application/json 60 2025-11-25 14:18:51.5990|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 14:18:51.6040|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.SignIn (Authentication)' 2025-11-25 14:18:51.6040|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "SignIn", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] SignIn(Authentication.Data.Models.Identity.AuthBindingModel) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 14:18:51.6040|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 14:18:51.6040|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__ToLower_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE LOWER([a].[UserName]) = @__ToLower_0 2025-11-25 14:18:51.6185|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__checkUser_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__checkUser_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) ORDER BY [u].[Id] DESC 2025-11-25 14:18:51.6185|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (6ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[NormalizedUserName] = @__normalizedUserName_0 2025-11-25 14:18:51.6401|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[ClaimType], [a].[ClaimValue], [a].[Discriminator], [a].[UserId] FROM [AspNetUserClaims] AS [a] WHERE [a].[Discriminator] IN (N'IdentityUserClaim', N'UserClaim') AND ([a].[UserId] = @__user_Id_0) 2025-11-25 14:18:51.6401|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 14:18:51.6401|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__normalizedName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[InstitutionId], [a].[IsActive], [a].[Name], [a].[NormalizedName], [a].[UpdatedBy], [a].[UserType] FROM [AspNetRoles] AS [a] WHERE [a].[NormalizedName] = @__normalizedName_0 2025-11-25 14:18:51.6497|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__role_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[ClaimType], [a].[ClaimValue] FROM [AspNetRoleClaims] AS [a] WHERE [a].[RoleId] = @__role_Id_0 2025-11-25 14:18:51.6497|10|INFO|Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationHandler|AuthenticationScheme: Identity.Application signed in. 2025-11-25 14:18:51.6497|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[NormalizedUserName] = @__normalizedUserName_0 2025-11-25 14:18:51.6729|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 14:18:51.6729|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [p].[Code] FROM [UserPermissions] AS [u] INNER JOIN [Permissions] AS [p] ON [u].[PermissionId] = [p].[Id] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 14:18:51.6926|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (11ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 14:18:51.6974|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p6='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [UserToken] SET [DateCreated] = @p0, [ExpiryDate] = @p1, [IsActive] = @p2, [SessionExpiryDate] = @p3, [Token] = @p4, [UserId] = @p5 WHERE [Id] = @p6; SELECT @@ROWCOUNT; 2025-11-25 14:18:51.6974|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; INSERT INTO [UserToken] ([DateCreated], [ExpiryDate], [IsActive], [SessionExpiryDate], [Token], [UserId]) VALUES (@p0, @p1, @p2, @p3, @p4, @p5); SELECT [Id] FROM [UserToken] WHERE @@ROWCOUNT = 1 AND [Id] = scope_identity(); 2025-11-25 14:18:51.6974|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 14:18:51.6974||INFO|Authentication.Controllers.AccountController|userlcaulker@MOF role is gotten 2025-11-25 14:18:51.7126|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [u].[Id], [u].[CreatedBy], [u].[DateCreated], [u].[DateUpdated], [u].[IsActive], [u].[IsDeleted], [u].[PermissionId], [u].[RowVersion], [u].[UpdatedBy], [u].[UserId] FROM [UserPermissions] AS [u] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 14:18:51.7126|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 14:18:51.7126|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 14:18:51.7126|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 14:18:51.7126|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 14:18:51.7126|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 14:18:51.7126|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 14:18:51.7126|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 14:18:51.7298|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 14:18:51.7298|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 14:18:51.7298||INFO|Authentication.Controllers.AccountController|user lcaulker@MOF is signin but about to call corporate service 2025-11-25 14:18:51.7744|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'AuditTrailUtility.Utility.SaveResponse'. 2025-11-25 14:18:51.7779|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.SignIn (Authentication) in 168.776ms 2025-11-25 14:18:51.7779|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.SignIn (Authentication)' 2025-11-25 14:18:51.7779|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 182.3185ms 200 application/json; charset=utf-8 2025-11-25 14:18:51.8535|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/Admin/GetAllUsersByCorporateId?corporateId=207 2025-11-25 14:18:51.8535|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 14:18:51.8535|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 7.5073ms 204 2025-11-25 14:18:51.8739|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/Admin/GetAllUsersByCorporateId?corporateId=207 2025-11-25 14:18:51.8739|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 14:18:51.8739|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.GetAllUsersByCorporateId (Authentication)' 2025-11-25 14:18:51.8739|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllUsersByCorporateId", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllUsersByCorporateId(Int64) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 14:18:51.8739|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 14:18:51.8854|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__corporateId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[UserTypeId] = @__corporateId_0 2025-11-25 14:18:51.8854|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[Authentication.Data.Models.Identity.UserBindingModel, Authentication.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2025-11-25 14:18:51.8854|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.GetAllUsersByCorporateId (Authentication) in 17.7335ms 2025-11-25 14:18:51.9012|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.GetAllUsersByCorporateId (Authentication)' 2025-11-25 14:18:51.9012|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 31.5927ms 200 application/json; charset=utf-8 2025-11-25 14:27:34.2661|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignOut/492 2025-11-25 14:27:34.2661|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 14:27:34.2661|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 5.5569ms 204 2025-11-25 14:27:34.2793|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignOut/492 2025-11-25 14:27:34.2793|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 14:27:34.2793|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.SignOut (Authentication)' 2025-11-25 14:27:34.2793|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "SignOut", controller = "Account"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult SignOut(Int64) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 14:27:34.2793|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 14:27:34.3023|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (6ms) [Parameters=[@__UserId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__UserId_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 14:27:34.3078|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p6='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [UserToken] SET [DateCreated] = @p0, [ExpiryDate] = @p1, [IsActive] = @p2, [SessionExpiryDate] = @p3, [Token] = @p4, [UserId] = @p5 WHERE [Id] = @p6; SELECT @@ROWCOUNT; 2025-11-25 14:27:34.3078|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'AuditTrailUtility.Utility.SaveResponse'. 2025-11-25 14:27:34.3078|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.SignOut (Authentication) in 25.7466ms 2025-11-25 14:27:34.3078|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.SignOut (Authentication)' 2025-11-25 14:27:34.3078|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 36.0474ms 200 application/json; charset=utf-8 2025-11-25 14:29:00.6684|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=n7LKzlxgyV/memKy2J91esIRqlSA53lVWjW2Tnb00Mc= 2025-11-25 14:29:00.6684|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=n7LKzlxgyV/memKy2J91esIRqlSA53lVWjW2Tnb00Mc= 2025-11-25 14:29:00.6684|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 14:29:00.6684|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 14:29:00.6684|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 4.131ms 204 2025-11-25 14:29:00.6741|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 4.9292ms 204 2025-11-25 14:29:00.6741|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=n7LKzlxgyV/memKy2J91esIRqlSA53lVWjW2Tnb00Mc= 0 2025-11-25 14:29:00.6741|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=n7LKzlxgyV/memKy2J91esIRqlSA53lVWjW2Tnb00Mc= 0 2025-11-25 14:29:00.6741|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 14:29:00.6741|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 14:29:00.6741|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 14:29:00.6741|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 14:29:00.6741|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "RefreshToken", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] RefreshToken(System.String) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 14:29:00.6741|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "RefreshToken", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] RefreshToken(System.String) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 14:29:00.6741|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 14:29:00.6890|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=n7LKzlxgyV/memKy2J91esIRqlSA53lVWjW2Tnb00Mc= 0 2025-11-25 14:29:00.6890|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=n7LKzlxgyV/memKy2J91esIRqlSA53lVWjW2Tnb00Mc= 0 2025-11-25 14:29:00.6890|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 14:29:00.6890|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=n7LKzlxgyV/memKy2J91esIRqlSA53lVWjW2Tnb00Mc= 0 2025-11-25 14:29:00.6890|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 14:29:00.6890|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 14:29:00.6890|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 14:29:00.6890|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 14:29:00.6890|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 14:29:00.6890|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 14:29:00.6890|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "RefreshToken", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] RefreshToken(System.String) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 14:29:00.6890|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "RefreshToken", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] RefreshToken(System.String) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 14:29:00.6890|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "RefreshToken", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] RefreshToken(System.String) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 14:29:00.6890|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 14:29:00.6890|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 14:29:00.7050|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 14:29:00.7050|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (21ms) [Parameters=[@__Token_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE [u].[Token] = @__Token_0 2025-11-25 14:29:00.7050|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (16ms) [Parameters=[@__Token_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE [u].[Token] = @__Token_0 2025-11-25 14:29:00.7212|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__p_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[Id] = @__p_0 2025-11-25 14:29:00.7212|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 14:29:00.7212|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (14ms) [Parameters=[@__Token_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE [u].[Token] = @__Token_0 2025-11-25 14:29:00.7212|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [p].[Code] FROM [UserPermissions] AS [u] INNER JOIN [Permissions] AS [p] ON [u].[PermissionId] = [p].[Id] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 14:29:00.7212|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__p_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[Id] = @__p_0 2025-11-25 14:29:00.7212|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__p_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[Id] = @__p_0 2025-11-25 14:29:00.7212|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (17ms) [Parameters=[@__Token_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE [u].[Token] = @__Token_0 2025-11-25 14:29:00.7212|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 14:29:00.7362|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 14:29:00.7362|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__p_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[Id] = @__p_0 2025-11-25 14:29:00.7362|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [p].[Code] FROM [UserPermissions] AS [u] INNER JOIN [Permissions] AS [p] ON [u].[PermissionId] = [p].[Id] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 14:29:00.7362|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (17ms) [Parameters=[@__Token_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE [u].[Token] = @__Token_0 2025-11-25 14:29:00.7362|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (8ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 14:29:00.7362|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [p].[Code] FROM [UserPermissions] AS [u] INNER JOIN [Permissions] AS [p] ON [u].[PermissionId] = [p].[Id] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 14:29:00.7362|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 14:29:00.7362|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__p_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[Id] = @__p_0 2025-11-25 14:29:00.7362|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p6='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [UserToken] SET [DateCreated] = @p0, [ExpiryDate] = @p1, [IsActive] = @p2, [SessionExpiryDate] = @p3, [Token] = @p4, [UserId] = @p5 WHERE [Id] = @p6; SELECT @@ROWCOUNT; 2025-11-25 14:29:00.7362|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [p].[Code] FROM [UserPermissions] AS [u] INNER JOIN [Permissions] AS [p] ON [u].[PermissionId] = [p].[Id] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 14:29:00.7513|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (10ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 14:29:00.7513|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 14:29:00.7513|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; INSERT INTO [UserToken] ([DateCreated], [ExpiryDate], [IsActive], [SessionExpiryDate], [Token], [UserId]) VALUES (@p0, @p1, @p2, @p3, @p4, @p5); SELECT [Id] FROM [UserToken] WHERE @@ROWCOUNT = 1 AND [Id] = scope_identity(); 2025-11-25 14:29:00.7513|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p6='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [UserToken] SET [DateCreated] = @p0, [ExpiryDate] = @p1, [IsActive] = @p2, [SessionExpiryDate] = @p3, [Token] = @p4, [UserId] = @p5 WHERE [Id] = @p6; SELECT @@ROWCOUNT; 2025-11-25 14:29:00.7513|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [p].[Code] FROM [UserPermissions] AS [u] INNER JOIN [Permissions] AS [p] ON [u].[PermissionId] = [p].[Id] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 14:29:00.7513|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'Authentication.Data.Models.TokenResponse'. 2025-11-25 14:29:00.7513|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (11ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 14:29:00.7513|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (8ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 14:29:00.7513|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.RefreshToken (Authentication) in 72.6949ms 2025-11-25 14:29:00.7513|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; INSERT INTO [UserToken] ([DateCreated], [ExpiryDate], [IsActive], [SessionExpiryDate], [Token], [UserId]) VALUES (@p0, @p1, @p2, @p3, @p4, @p5); SELECT [Id] FROM [UserToken] WHERE @@ROWCOUNT = 1 AND [Id] = scope_identity(); 2025-11-25 14:29:00.7513|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 14:29:00.7513|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p6='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [UserToken] SET [DateCreated] = @p0, [ExpiryDate] = @p1, [IsActive] = @p2, [SessionExpiryDate] = @p3, [Token] = @p4, [UserId] = @p5 WHERE [Id] = @p6; SELECT @@ROWCOUNT; 2025-11-25 14:29:00.7513|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p6='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [UserToken] SET [DateCreated] = @p0, [ExpiryDate] = @p1, [IsActive] = @p2, [SessionExpiryDate] = @p3, [Token] = @p4, [UserId] = @p5 WHERE [Id] = @p6; SELECT @@ROWCOUNT; 2025-11-25 14:29:00.7513|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (6ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 14:29:00.7513|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 88.7545ms 200 application/json; charset=utf-8 2025-11-25 14:29:00.7513|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'Authentication.Data.Models.TokenResponse'. 2025-11-25 14:29:00.7692|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; INSERT INTO [UserToken] ([DateCreated], [ExpiryDate], [IsActive], [SessionExpiryDate], [Token], [UserId]) VALUES (@p0, @p1, @p2, @p3, @p4, @p5); SELECT [Id] FROM [UserToken] WHERE @@ROWCOUNT = 1 AND [Id] = scope_identity(); 2025-11-25 14:29:00.7692|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; INSERT INTO [UserToken] ([DateCreated], [ExpiryDate], [IsActive], [SessionExpiryDate], [Token], [UserId]) VALUES (@p0, @p1, @p2, @p3, @p4, @p5); SELECT [Id] FROM [UserToken] WHERE @@ROWCOUNT = 1 AND [Id] = scope_identity(); 2025-11-25 14:29:00.7692|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p6='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [UserToken] SET [DateCreated] = @p0, [ExpiryDate] = @p1, [IsActive] = @p2, [SessionExpiryDate] = @p3, [Token] = @p4, [UserId] = @p5 WHERE [Id] = @p6; SELECT @@ROWCOUNT; 2025-11-25 14:29:00.7692|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.RefreshToken (Authentication) in 82.3145ms 2025-11-25 14:29:00.7692|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'Authentication.Data.Models.TokenResponse'. 2025-11-25 14:29:00.7692|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'Authentication.Data.Models.TokenResponse'. 2025-11-25 14:29:00.7692|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 14:29:00.7692|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.RefreshToken (Authentication) in 76.3812ms 2025-11-25 14:29:00.7692|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; INSERT INTO [UserToken] ([DateCreated], [ExpiryDate], [IsActive], [SessionExpiryDate], [Token], [UserId]) VALUES (@p0, @p1, @p2, @p3, @p4, @p5); SELECT [Id] FROM [UserToken] WHERE @@ROWCOUNT = 1 AND [Id] = scope_identity(); 2025-11-25 14:29:00.7692|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.RefreshToken (Authentication) in 78.9735ms 2025-11-25 14:29:00.7835|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 106.3649ms 200 application/json; charset=utf-8 2025-11-25 14:29:00.7835|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 14:29:00.7835|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 14:29:00.7835|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'Authentication.Data.Models.TokenResponse'. 2025-11-25 14:29:00.7835|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 105.1289ms 200 application/json; charset=utf-8 2025-11-25 14:29:00.7835|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 107.6252ms 200 application/json; charset=utf-8 2025-11-25 14:29:00.7982|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.RefreshToken (Authentication) in 93.3263ms 2025-11-25 14:29:00.7982|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 14:29:00.7982|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 114.8332ms 200 application/json; charset=utf-8 2025-11-25 14:32:13.9545|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignOut/495 2025-11-25 14:32:13.9545|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 14:32:13.9595|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 4.9947ms 204 2025-11-25 14:32:14.0492|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignOut/495 2025-11-25 14:32:14.0527|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 14:32:14.0527|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.SignOut (Authentication)' 2025-11-25 14:32:14.0527|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "SignOut", controller = "Account"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult SignOut(Int64) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 14:32:14.0527|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 14:32:14.0752|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (13ms) [Parameters=[@__UserId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__UserId_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 14:32:14.0752|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p6='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [UserToken] SET [DateCreated] = @p0, [ExpiryDate] = @p1, [IsActive] = @p2, [SessionExpiryDate] = @p3, [Token] = @p4, [UserId] = @p5 WHERE [Id] = @p6; SELECT @@ROWCOUNT; 2025-11-25 14:32:14.0863|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p6='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [UserToken] SET [DateCreated] = @p0, [ExpiryDate] = @p1, [IsActive] = @p2, [SessionExpiryDate] = @p3, [Token] = @p4, [UserId] = @p5 WHERE [Id] = @p6; SELECT @@ROWCOUNT; 2025-11-25 14:32:14.0863|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (0ms) [Parameters=[@p6='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [UserToken] SET [DateCreated] = @p0, [ExpiryDate] = @p1, [IsActive] = @p2, [SessionExpiryDate] = @p3, [Token] = @p4, [UserId] = @p5 WHERE [Id] = @p6; SELECT @@ROWCOUNT; 2025-11-25 14:32:14.0863|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p6='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [UserToken] SET [DateCreated] = @p0, [ExpiryDate] = @p1, [IsActive] = @p2, [SessionExpiryDate] = @p3, [Token] = @p4, [UserId] = @p5 WHERE [Id] = @p6; SELECT @@ROWCOUNT; 2025-11-25 14:32:14.0863|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p6='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [UserToken] SET [DateCreated] = @p0, [ExpiryDate] = @p1, [IsActive] = @p2, [SessionExpiryDate] = @p3, [Token] = @p4, [UserId] = @p5 WHERE [Id] = @p6; SELECT @@ROWCOUNT; 2025-11-25 14:32:14.0863|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'AuditTrailUtility.Utility.SaveResponse'. 2025-11-25 14:32:14.0863|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.SignOut (Authentication) in 39.5258ms 2025-11-25 14:32:14.0995|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.SignOut (Authentication)' 2025-11-25 14:32:14.0995|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 51.2858ms 200 application/json; charset=utf-8 2025-11-25 14:32:27.8538|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=n4JcutOBYXvWrbgzGK36GdDqdma7Hs0Vs/0FSDWj3bk= 2025-11-25 14:32:27.8538|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 14:32:27.8538|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 4.3857ms 204 2025-11-25 14:32:27.8622|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=n4JcutOBYXvWrbgzGK36GdDqdma7Hs0Vs/0FSDWj3bk= 2025-11-25 14:32:27.8622|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 14:32:27.8622|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 2.4868ms 204 2025-11-25 14:32:27.8622|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=n4JcutOBYXvWrbgzGK36GdDqdma7Hs0Vs/0FSDWj3bk= 0 2025-11-25 14:32:27.8622|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=n4JcutOBYXvWrbgzGK36GdDqdma7Hs0Vs/0FSDWj3bk= 0 2025-11-25 14:32:27.8622|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 14:32:27.8622|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 14:32:27.8622|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 14:32:27.8622|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=n4JcutOBYXvWrbgzGK36GdDqdma7Hs0Vs/0FSDWj3bk= 0 2025-11-25 14:32:27.8622|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 14:32:27.8622|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "RefreshToken", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] RefreshToken(System.String) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 14:32:27.8622|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 14:32:27.8622|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "RefreshToken", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] RefreshToken(System.String) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 14:32:27.8622|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 14:32:27.8622|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 14:32:27.8764|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 14:32:27.8764|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "RefreshToken", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] RefreshToken(System.String) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 14:32:27.8764|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 14:32:27.8938|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (13ms) [Parameters=[@__Token_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE [u].[Token] = @__Token_0 2025-11-25 14:32:27.8938|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (21ms) [Parameters=[@__Token_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE [u].[Token] = @__Token_0 2025-11-25 14:32:27.8938|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__p_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[Id] = @__p_0 2025-11-25 14:32:27.8938|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__p_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[Id] = @__p_0 2025-11-25 14:32:27.8938|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (19ms) [Parameters=[@__Token_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE [u].[Token] = @__Token_0 2025-11-25 14:32:27.8938|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 14:32:27.8938|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 14:32:27.8938|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__p_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[Id] = @__p_0 2025-11-25 14:32:27.9089|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [p].[Code] FROM [UserPermissions] AS [u] INNER JOIN [Permissions] AS [p] ON [u].[PermissionId] = [p].[Id] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 14:32:27.9089|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [p].[Code] FROM [UserPermissions] AS [u] INNER JOIN [Permissions] AS [p] ON [u].[PermissionId] = [p].[Id] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 14:32:27.9089|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 14:32:27.9089|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [p].[Code] FROM [UserPermissions] AS [u] INNER JOIN [Permissions] AS [p] ON [u].[PermissionId] = [p].[Id] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 14:32:27.9089|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (5ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 14:32:27.9089|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (6ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 14:32:27.9089|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p6='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [UserToken] SET [DateCreated] = @p0, [ExpiryDate] = @p1, [IsActive] = @p2, [SessionExpiryDate] = @p3, [Token] = @p4, [UserId] = @p5 WHERE [Id] = @p6; SELECT @@ROWCOUNT; 2025-11-25 14:32:27.9257|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (3ms) [Parameters=[@p6='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [UserToken] SET [DateCreated] = @p0, [ExpiryDate] = @p1, [IsActive] = @p2, [SessionExpiryDate] = @p3, [Token] = @p4, [UserId] = @p5 WHERE [Id] = @p6; SELECT @@ROWCOUNT; 2025-11-25 14:32:27.9257|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (6ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 14:32:27.9257|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; INSERT INTO [UserToken] ([DateCreated], [ExpiryDate], [IsActive], [SessionExpiryDate], [Token], [UserId]) VALUES (@p0, @p1, @p2, @p3, @p4, @p5); SELECT [Id] FROM [UserToken] WHERE @@ROWCOUNT = 1 AND [Id] = scope_identity(); 2025-11-25 14:32:27.9257|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; INSERT INTO [UserToken] ([DateCreated], [ExpiryDate], [IsActive], [SessionExpiryDate], [Token], [UserId]) VALUES (@p0, @p1, @p2, @p3, @p4, @p5); SELECT [Id] FROM [UserToken] WHERE @@ROWCOUNT = 1 AND [Id] = scope_identity(); 2025-11-25 14:32:27.9257|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'Authentication.Data.Models.TokenResponse'. 2025-11-25 14:32:27.9257|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p6='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [UserToken] SET [DateCreated] = @p0, [ExpiryDate] = @p1, [IsActive] = @p2, [SessionExpiryDate] = @p3, [Token] = @p4, [UserId] = @p5 WHERE [Id] = @p6; SELECT @@ROWCOUNT; 2025-11-25 14:32:27.9257|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.RefreshToken (Authentication) in 55.9584ms 2025-11-25 14:32:27.9257|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'Authentication.Data.Models.TokenResponse'. 2025-11-25 14:32:27.9257|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 14:32:27.9257|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.RefreshToken (Authentication) in 61.1245ms 2025-11-25 14:32:27.9257|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 71.2519ms 200 application/json; charset=utf-8 2025-11-25 14:32:27.9257|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; INSERT INTO [UserToken] ([DateCreated], [ExpiryDate], [IsActive], [SessionExpiryDate], [Token], [UserId]) VALUES (@p0, @p1, @p2, @p3, @p4, @p5); SELECT [Id] FROM [UserToken] WHERE @@ROWCOUNT = 1 AND [Id] = scope_identity(); 2025-11-25 14:32:27.9257|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 14:32:27.9408|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 75.9693ms 200 application/json; charset=utf-8 2025-11-25 14:32:27.9408|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'Authentication.Data.Models.TokenResponse'. 2025-11-25 14:32:27.9408|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.RefreshToken (Authentication) in 61.0181ms 2025-11-25 14:32:27.9408|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 14:32:27.9408|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 74.0367ms 200 application/json; charset=utf-8 2025-11-25 14:52:40.4690|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://127.0.0.1:40567/AUTHENTICATIONSERVICE/iisintegration 0 2025-11-25 14:52:40.4690|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1.3756ms 202 2025-11-25 15:17:37.4490||DEBUG|Authentication.Program|init main function 2025-11-25 15:17:39.3174|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 15:17:39.5892|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (18ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT 1 2025-11-25 15:17:39.6102|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (13ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT OBJECT_ID(N'[__EFMigrationsHistory]'); 2025-11-25 15:17:39.6161|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT 1 2025-11-25 15:17:39.6161|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT OBJECT_ID(N'[__EFMigrationsHistory]'); 2025-11-25 15:17:39.6161|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT [MigrationId], [ProductVersion] FROM [__EFMigrationsHistory] ORDER BY [MigrationId]; 2025-11-25 15:17:39.6489|20405|INFO|Microsoft.EntityFrameworkCore.Migrations|No migrations were applied. The database is already up to date. 2025-11-25 15:17:39.7962||INFO|Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager|User profile not available. Using 'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ASP.NET\4.0.30319.0\AutoGenKeys\S-1-5-82-2404559740-2321761809-584227669-3522060946-2110276425\DataProtection' as key repository and Windows DPAPI to encrypt keys at rest. 2025-11-25 15:17:40.1988|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignIn 2025-11-25 15:17:40.2374|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 15:17:40.2469|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 48.6982ms 204 2025-11-25 15:17:40.2623|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignIn application/json 61 2025-11-25 15:17:40.2623|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 15:17:40.2775|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.SignIn (Authentication)' 2025-11-25 15:17:40.3198|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "SignIn", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] SignIn(Authentication.Data.Models.Identity.AuthBindingModel) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 15:17:40.3198|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 15:17:40.6177|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (33ms) [Parameters=[@__ToLower_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE LOWER([a].[UserName]) = @__ToLower_0 2025-11-25 15:17:40.7003|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (3ms) [Parameters=[@__checkUser_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__checkUser_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) ORDER BY [u].[Id] DESC 2025-11-25 15:17:40.7441|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (14ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[NormalizedUserName] = @__normalizedUserName_0 2025-11-25 15:17:40.7941|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (3ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[ClaimType], [a].[ClaimValue], [a].[Discriminator], [a].[UserId] FROM [AspNetUserClaims] AS [a] WHERE [a].[Discriminator] IN (N'IdentityUserClaim', N'UserClaim') AND ([a].[UserId] = @__user_Id_0) 2025-11-25 15:17:40.8274|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (3ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 15:17:40.8396|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__normalizedName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[InstitutionId], [a].[IsActive], [a].[Name], [a].[NormalizedName], [a].[UpdatedBy], [a].[UserType] FROM [AspNetRoles] AS [a] WHERE [a].[NormalizedName] = @__normalizedName_0 2025-11-25 15:17:40.8646|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__role_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[ClaimType], [a].[ClaimValue] FROM [AspNetRoleClaims] AS [a] WHERE [a].[RoleId] = @__role_Id_0 2025-11-25 15:17:40.8841|10|INFO|Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationHandler|AuthenticationScheme: Identity.Application signed in. 2025-11-25 15:17:40.8841|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[NormalizedUserName] = @__normalizedUserName_0 2025-11-25 15:17:41.1031|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 15:17:41.1175|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [p].[Code] FROM [UserPermissions] AS [u] INNER JOIN [Permissions] AS [p] ON [u].[PermissionId] = [p].[Id] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 15:17:41.1808|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (14ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 15:17:41.3014|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (19ms) [Parameters=[@p6='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [UserToken] SET [DateCreated] = @p0, [ExpiryDate] = @p1, [IsActive] = @p2, [SessionExpiryDate] = @p3, [Token] = @p4, [UserId] = @p5 WHERE [Id] = @p6; SELECT @@ROWCOUNT; 2025-11-25 15:17:41.3504|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; INSERT INTO [UserToken] ([DateCreated], [ExpiryDate], [IsActive], [SessionExpiryDate], [Token], [UserId]) VALUES (@p0, @p1, @p2, @p3, @p4, @p5); SELECT [Id] FROM [UserToken] WHERE @@ROWCOUNT = 1 AND [Id] = scope_identity(); 2025-11-25 15:17:41.3706|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 15:17:41.3706||INFO|Authentication.Controllers.AccountController|useraimansaray@MOF role is gotten 2025-11-25 15:17:41.3923|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [u].[Id], [u].[CreatedBy], [u].[DateCreated], [u].[DateUpdated], [u].[IsActive], [u].[IsDeleted], [u].[PermissionId], [u].[RowVersion], [u].[UpdatedBy], [u].[UserId] FROM [UserPermissions] AS [u] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 15:17:41.4102|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 15:17:41.4143|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 15:17:41.4143|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 15:17:41.4143|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 15:17:41.4143|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 15:17:41.4143|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 15:17:41.4143|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 15:17:41.4143||INFO|Authentication.Controllers.AccountController|user aimansaray@MOF is signin but about to call corporate service 2025-11-25 15:17:41.5550|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'AuditTrailUtility.Utility.SaveResponse'. 2025-11-25 15:17:41.5755|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.SignIn (Authentication) in 1250.44ms 2025-11-25 15:17:41.5755|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.SignIn (Authentication)' 2025-11-25 15:17:41.5755|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1319.6571ms 200 application/json; charset=utf-8 2025-11-25 15:17:41.6141|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/Admin/GetAllUsersByCorporateId?corporateId=207 2025-11-25 15:17:41.6168|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 15:17:41.6168|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 5.5216ms 204 2025-11-25 15:17:41.6168|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/Admin/GetAllUsersByCorporateId?corporateId=207 2025-11-25 15:17:41.6168|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 15:17:41.6339|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.GetAllUsersByCorporateId (Authentication)' 2025-11-25 15:17:41.6339|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllUsersByCorporateId", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllUsersByCorporateId(Int64) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 15:17:41.6720|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 15:17:41.6895|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (3ms) [Parameters=[@__corporateId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[UserTypeId] = @__corporateId_0 2025-11-25 15:17:41.7213|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[Authentication.Data.Models.Identity.UserBindingModel, Authentication.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2025-11-25 15:17:41.7373|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.GetAllUsersByCorporateId (Authentication) in 92.0809ms 2025-11-25 15:17:41.7373|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.GetAllUsersByCorporateId (Authentication)' 2025-11-25 15:17:41.7457|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 119.8096ms 200 application/json; charset=utf-8 2025-11-25 15:35:48.9594|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignIn 2025-11-25 15:35:48.9594|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 15:35:48.9696|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 10.7654ms 204 2025-11-25 15:35:48.9696|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignIn application/json 59 2025-11-25 15:35:48.9849|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 15:35:48.9849|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.SignIn (Authentication)' 2025-11-25 15:35:48.9849|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "SignIn", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] SignIn(Authentication.Data.Models.Identity.AuthBindingModel) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 15:35:49.0038|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 15:35:49.0255|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__ToLower_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE LOWER([a].[UserName]) = @__ToLower_0 2025-11-25 15:35:49.0417|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (12ms) [Parameters=[@__checkUser_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__checkUser_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) ORDER BY [u].[Id] DESC 2025-11-25 15:35:49.0484|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[NormalizedUserName] = @__normalizedUserName_0 2025-11-25 15:35:49.0484|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[ClaimType], [a].[ClaimValue], [a].[Discriminator], [a].[UserId] FROM [AspNetUserClaims] AS [a] WHERE [a].[Discriminator] IN (N'IdentityUserClaim', N'UserClaim') AND ([a].[UserId] = @__user_Id_0) 2025-11-25 15:35:49.0484|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 15:35:49.0626|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__normalizedName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[InstitutionId], [a].[IsActive], [a].[Name], [a].[NormalizedName], [a].[UpdatedBy], [a].[UserType] FROM [AspNetRoles] AS [a] WHERE [a].[NormalizedName] = @__normalizedName_0 2025-11-25 15:35:49.0626|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__role_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[ClaimType], [a].[ClaimValue] FROM [AspNetRoleClaims] AS [a] WHERE [a].[RoleId] = @__role_Id_0 2025-11-25 15:35:49.0626|10|INFO|Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationHandler|AuthenticationScheme: Identity.Application signed in. 2025-11-25 15:35:49.0788|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[NormalizedUserName] = @__normalizedUserName_0 2025-11-25 15:35:49.0942|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 15:35:49.0942|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [p].[Code] FROM [UserPermissions] AS [u] INNER JOIN [Permissions] AS [p] ON [u].[PermissionId] = [p].[Id] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 15:35:49.1118|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (11ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 15:35:49.1245|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; INSERT INTO [UserToken] ([DateCreated], [ExpiryDate], [IsActive], [SessionExpiryDate], [Token], [UserId]) VALUES (@p0, @p1, @p2, @p3, @p4, @p5); SELECT [Id] FROM [UserToken] WHERE @@ROWCOUNT = 1 AND [Id] = scope_identity(); 2025-11-25 15:35:49.1245|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 15:35:49.1245||INFO|Authentication.Controllers.AccountController|userrcoker@MOF role is gotten 2025-11-25 15:35:49.1443|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [u].[Id], [u].[CreatedBy], [u].[DateCreated], [u].[DateUpdated], [u].[IsActive], [u].[IsDeleted], [u].[PermissionId], [u].[RowVersion], [u].[UpdatedBy], [u].[UserId] FROM [UserPermissions] AS [u] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 15:35:49.1443|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 15:35:49.1443|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 15:35:49.1443|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 15:35:49.1561|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 15:35:49.1561|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 15:35:49.1561|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 15:35:49.1561|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 15:35:49.1561|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 15:35:49.1561|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 15:35:49.1561|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 15:35:49.1561||INFO|Authentication.Controllers.AccountController|user rcoker@MOF is signin but about to call corporate service 2025-11-25 15:35:49.2156|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'AuditTrailUtility.Utility.SaveResponse'. 2025-11-25 15:35:49.2203|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.SignIn (Authentication) in 226.4941ms 2025-11-25 15:35:49.2203|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.SignIn (Authentication)' 2025-11-25 15:35:49.2203|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 245.411ms 200 application/json; charset=utf-8 2025-11-25 15:35:49.3125|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/Admin/GetAllUsersByCorporateId?corporateId=207 2025-11-25 15:35:49.3125|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 15:35:49.3125|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 7.1681ms 204 2025-11-25 15:35:49.3125|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/Admin/GetAllUsersByCorporateId?corporateId=207 2025-11-25 15:35:49.3296|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 15:35:49.3296|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.GetAllUsersByCorporateId (Authentication)' 2025-11-25 15:35:49.3296|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllUsersByCorporateId", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllUsersByCorporateId(Int64) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 15:35:49.3296|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 15:35:49.3460|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__corporateId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[UserTypeId] = @__corporateId_0 2025-11-25 15:35:49.3460|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[Authentication.Data.Models.Identity.UserBindingModel, Authentication.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2025-11-25 15:35:49.3460|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.GetAllUsersByCorporateId (Authentication) in 12.8095ms 2025-11-25 15:35:49.3460|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.GetAllUsersByCorporateId (Authentication)' 2025-11-25 15:35:49.3460|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 31.3724ms 200 application/json; charset=utf-8 2025-11-25 15:43:20.0409|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignOut/492 2025-11-25 15:43:20.0457|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 15:43:20.0457|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6.8696ms 204 2025-11-25 15:43:20.0457|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignOut/492 2025-11-25 15:43:20.0628|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 15:43:20.0628|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.SignOut (Authentication)' 2025-11-25 15:43:20.0628|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "SignOut", controller = "Account"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult SignOut(Int64) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 15:43:20.0779|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 15:43:20.1089|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (9ms) [Parameters=[@__UserId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__UserId_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 15:43:20.1089|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p6='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [UserToken] SET [DateCreated] = @p0, [ExpiryDate] = @p1, [IsActive] = @p2, [SessionExpiryDate] = @p3, [Token] = @p4, [UserId] = @p5 WHERE [Id] = @p6; SELECT @@ROWCOUNT; 2025-11-25 15:43:20.1089|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'AuditTrailUtility.Utility.SaveResponse'. 2025-11-25 15:43:20.1228|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.SignOut (Authentication) in 46.7818ms 2025-11-25 15:43:20.1228|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.SignOut (Authentication)' 2025-11-25 15:43:20.1228|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 65.9497ms 200 application/json; charset=utf-8 2025-11-25 15:50:03.1522|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=EYXA+sykKgwpqlGyDgdszQOmwB4Amy2OLH6O+538QMc= 2025-11-25 15:50:03.1522|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 15:50:03.1522|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 5.8072ms 204 2025-11-25 15:50:03.1522|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=EYXA+sykKgwpqlGyDgdszQOmwB4Amy2OLH6O+538QMc= 2025-11-25 15:50:03.1522|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 15:50:03.1630|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=EYXA+sykKgwpqlGyDgdszQOmwB4Amy2OLH6O+538QMc= 0 2025-11-25 15:50:03.1630|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 3.3246ms 204 2025-11-25 15:50:03.1630|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=EYXA+sykKgwpqlGyDgdszQOmwB4Amy2OLH6O+538QMc= 0 2025-11-25 15:50:03.1630|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=EYXA+sykKgwpqlGyDgdszQOmwB4Amy2OLH6O+538QMc= 0 2025-11-25 15:50:03.1630|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=EYXA+sykKgwpqlGyDgdszQOmwB4Amy2OLH6O+538QMc= 0 2025-11-25 15:50:03.1630|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 15:50:03.1630|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 15:50:03.1630|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=EYXA+sykKgwpqlGyDgdszQOmwB4Amy2OLH6O+538QMc= 0 2025-11-25 15:50:03.1630|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 15:50:03.1630|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 15:50:03.1630|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 15:50:03.1630|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 15:50:03.1630|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 15:50:03.1630|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 15:50:03.1802|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 15:50:03.1802|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 15:50:03.1802|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "RefreshToken", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] RefreshToken(System.String) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 15:50:03.1802|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "RefreshToken", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] RefreshToken(System.String) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 15:50:03.1802|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "RefreshToken", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] RefreshToken(System.String) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 15:50:03.1802|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "RefreshToken", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] RefreshToken(System.String) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 15:50:03.1959|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 15:50:03.1959|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 15:50:03.1959|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 15:50:03.1959|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "RefreshToken", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] RefreshToken(System.String) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 15:50:03.1959|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 15:50:03.1959|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 15:50:03.2404|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (14ms) [Parameters=[@__Token_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE [u].[Token] = @__Token_0 2025-11-25 15:50:03.2444|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (26ms) [Parameters=[@__Token_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE [u].[Token] = @__Token_0 2025-11-25 15:50:03.2444|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'Microsoft.AspNetCore.Mvc.ProblemDetails'. 2025-11-25 15:50:03.2444|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'Microsoft.AspNetCore.Mvc.ProblemDetails'. 2025-11-25 15:50:03.2444|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (14ms) [Parameters=[@__Token_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE [u].[Token] = @__Token_0 2025-11-25 15:50:03.2444|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'Microsoft.AspNetCore.Mvc.ProblemDetails'. 2025-11-25 15:50:03.2444|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (13ms) [Parameters=[@__Token_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE [u].[Token] = @__Token_0 2025-11-25 15:50:03.2584|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'Microsoft.AspNetCore.Mvc.ProblemDetails'. 2025-11-25 15:50:03.2584|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.RefreshToken (Authentication) in 69.4933ms 2025-11-25 15:50:03.2584|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.RefreshToken (Authentication) in 72.6201ms 2025-11-25 15:50:03.2584|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.RefreshToken (Authentication) in 73.5441ms 2025-11-25 15:50:03.2584|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.RefreshToken (Authentication) in 75.8217ms 2025-11-25 15:50:03.2584|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (19ms) [Parameters=[@__Token_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE [u].[Token] = @__Token_0 2025-11-25 15:50:03.2584|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 15:50:03.2584|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 15:50:03.2740|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 15:50:03.2740|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 15:50:03.2740|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'Microsoft.AspNetCore.Mvc.ProblemDetails'. 2025-11-25 15:50:03.2740|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 116.7824ms 401 application/problem+json; charset=utf-8 2025-11-25 15:50:03.2740|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 120.1963ms 401 application/problem+json; charset=utf-8 2025-11-25 15:50:03.2740|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 117.3698ms 401 application/problem+json; charset=utf-8 2025-11-25 15:50:03.2880|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 124.1234ms 401 application/problem+json; charset=utf-8 2025-11-25 15:50:03.2880|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.RefreshToken (Authentication) in 85.1568ms 2025-11-25 15:50:03.2880|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 15:50:03.3042|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 139.8481ms 401 application/problem+json; charset=utf-8 2025-11-25 15:50:12.2288|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignIn 2025-11-25 15:50:12.2288|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 15:50:12.2288|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 4.2971ms 204 2025-11-25 15:50:12.2427|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignIn application/json 60 2025-11-25 15:50:12.2427|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 15:50:12.2427|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.SignIn (Authentication)' 2025-11-25 15:50:12.2427|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "SignIn", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] SignIn(Authentication.Data.Models.Identity.AuthBindingModel) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 15:50:12.2427|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 15:50:12.2577|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__ToLower_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE LOWER([a].[UserName]) = @__ToLower_0 2025-11-25 15:50:12.2577|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__checkUser_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__checkUser_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) ORDER BY [u].[Id] DESC 2025-11-25 15:50:12.2673|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[NormalizedUserName] = @__normalizedUserName_0 2025-11-25 15:50:12.2673|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[ClaimType], [a].[ClaimValue], [a].[Discriminator], [a].[UserId] FROM [AspNetUserClaims] AS [a] WHERE [a].[Discriminator] IN (N'IdentityUserClaim', N'UserClaim') AND ([a].[UserId] = @__user_Id_0) 2025-11-25 15:50:12.2673|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 15:50:12.2673|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__normalizedName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[InstitutionId], [a].[IsActive], [a].[Name], [a].[NormalizedName], [a].[UpdatedBy], [a].[UserType] FROM [AspNetRoles] AS [a] WHERE [a].[NormalizedName] = @__normalizedName_0 2025-11-25 15:50:12.2836|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__role_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[ClaimType], [a].[ClaimValue] FROM [AspNetRoleClaims] AS [a] WHERE [a].[RoleId] = @__role_Id_0 2025-11-25 15:50:12.2836|10|INFO|Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationHandler|AuthenticationScheme: Identity.Application signed in. 2025-11-25 15:50:12.2836|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[NormalizedUserName] = @__normalizedUserName_0 2025-11-25 15:50:12.3070|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 15:50:12.3070|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [p].[Code] FROM [UserPermissions] AS [u] INNER JOIN [Permissions] AS [p] ON [u].[PermissionId] = [p].[Id] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 15:50:12.3271|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (14ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 15:50:12.3371|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p6='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [UserToken] SET [DateCreated] = @p0, [ExpiryDate] = @p1, [IsActive] = @p2, [SessionExpiryDate] = @p3, [Token] = @p4, [UserId] = @p5 WHERE [Id] = @p6; SELECT @@ROWCOUNT; 2025-11-25 15:50:12.3371|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; INSERT INTO [UserToken] ([DateCreated], [ExpiryDate], [IsActive], [SessionExpiryDate], [Token], [UserId]) VALUES (@p0, @p1, @p2, @p3, @p4, @p5); SELECT [Id] FROM [UserToken] WHERE @@ROWCOUNT = 1 AND [Id] = scope_identity(); 2025-11-25 15:50:12.3479|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 15:50:12.3479||INFO|Authentication.Controllers.AccountController|usersjalloh@MOF role is gotten 2025-11-25 15:50:12.3479|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [u].[Id], [u].[CreatedBy], [u].[DateCreated], [u].[DateUpdated], [u].[IsActive], [u].[IsDeleted], [u].[PermissionId], [u].[RowVersion], [u].[UpdatedBy], [u].[UserId] FROM [UserPermissions] AS [u] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 15:50:12.3479|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 15:50:12.3614|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 15:50:12.3614|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 15:50:12.3614|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (0ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 15:50:12.3614||INFO|Authentication.Controllers.AccountController|user sjalloh@MOF is signin but about to call corporate service 2025-11-25 15:50:12.4251|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'AuditTrailUtility.Utility.SaveResponse'. 2025-11-25 15:50:12.4251|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.SignIn (Authentication) in 179.7295ms 2025-11-25 15:50:12.4251|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.SignIn (Authentication)' 2025-11-25 15:50:12.4251|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 188.7128ms 200 application/json; charset=utf-8 2025-11-25 15:50:12.4946|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/Admin/GetAllUsersByCorporateId?corporateId=207 2025-11-25 15:50:12.4946|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 15:50:12.5019|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 7.2523ms 204 2025-11-25 15:50:12.5019|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/Admin/GetAllUsersByCorporateId?corporateId=207 2025-11-25 15:50:12.5019|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 15:50:12.5019|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.GetAllUsersByCorporateId (Authentication)' 2025-11-25 15:50:12.5200|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllUsersByCorporateId", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllUsersByCorporateId(Int64) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 15:50:12.5200|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 15:50:12.5200|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__corporateId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[UserTypeId] = @__corporateId_0 2025-11-25 15:50:12.5200|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[Authentication.Data.Models.Identity.UserBindingModel, Authentication.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2025-11-25 15:50:12.5348|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.GetAllUsersByCorporateId (Authentication) in 13.5499ms 2025-11-25 15:50:12.5348|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.GetAllUsersByCorporateId (Authentication)' 2025-11-25 15:50:12.5348|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 30.1818ms 200 application/json; charset=utf-8 2025-11-25 16:08:52.3513|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=6X5t8AcCr3H3YROvIJ24+GFuH9OmEyIeZLlzcVAC7eI= 2025-11-25 16:08:52.3558|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 16:08:52.3558|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 8.577ms 204 2025-11-25 16:08:52.3558|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=6X5t8AcCr3H3YROvIJ24+GFuH9OmEyIeZLlzcVAC7eI= 0 2025-11-25 16:08:52.3704|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 16:08:52.3704|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 16:08:52.3704|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "RefreshToken", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] RefreshToken(System.String) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 16:08:52.3704|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 16:08:52.4085|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (16ms) [Parameters=[@__Token_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE [u].[Token] = @__Token_0 2025-11-25 16:08:52.4085|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'Microsoft.AspNetCore.Mvc.ProblemDetails'. 2025-11-25 16:08:52.4085|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.RefreshToken (Authentication) in 36.5386ms 2025-11-25 16:08:52.4157|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 16:08:52.4157|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 52.285ms 401 application/problem+json; charset=utf-8 2025-11-25 16:09:01.7988|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignIn 2025-11-25 16:09:01.7988|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 16:09:01.7988|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 4.9801ms 204 2025-11-25 16:09:01.8099|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignIn application/json 61 2025-11-25 16:09:01.8099|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 16:09:01.8099|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.SignIn (Authentication)' 2025-11-25 16:09:01.8099|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "SignIn", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] SignIn(Authentication.Data.Models.Identity.AuthBindingModel) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 16:09:01.8099|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 16:09:01.8293|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (3ms) [Parameters=[@__ToLower_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE LOWER([a].[UserName]) = @__ToLower_0 2025-11-25 16:09:01.8293|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__checkUser_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__checkUser_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) ORDER BY [u].[Id] DESC 2025-11-25 16:09:01.8446|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (3ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[NormalizedUserName] = @__normalizedUserName_0 2025-11-25 16:09:01.8535|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[ClaimType], [a].[ClaimValue], [a].[Discriminator], [a].[UserId] FROM [AspNetUserClaims] AS [a] WHERE [a].[Discriminator] IN (N'IdentityUserClaim', N'UserClaim') AND ([a].[UserId] = @__user_Id_0) 2025-11-25 16:09:01.8535|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 16:09:01.8535|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__normalizedName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[InstitutionId], [a].[IsActive], [a].[Name], [a].[NormalizedName], [a].[UpdatedBy], [a].[UserType] FROM [AspNetRoles] AS [a] WHERE [a].[NormalizedName] = @__normalizedName_0 2025-11-25 16:09:01.8699|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__role_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[ClaimType], [a].[ClaimValue] FROM [AspNetRoleClaims] AS [a] WHERE [a].[RoleId] = @__role_Id_0 2025-11-25 16:09:01.8699|10|INFO|Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationHandler|AuthenticationScheme: Identity.Application signed in. 2025-11-25 16:09:01.8699|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (3ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[NormalizedUserName] = @__normalizedUserName_0 2025-11-25 16:09:01.8940|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 16:09:01.8940|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [p].[Code] FROM [UserPermissions] AS [u] INNER JOIN [Permissions] AS [p] ON [u].[PermissionId] = [p].[Id] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 16:09:01.9169|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (13ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 16:09:01.9169|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@p6='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [UserToken] SET [DateCreated] = @p0, [ExpiryDate] = @p1, [IsActive] = @p2, [SessionExpiryDate] = @p3, [Token] = @p4, [UserId] = @p5 WHERE [Id] = @p6; SELECT @@ROWCOUNT; 2025-11-25 16:09:01.9329|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; INSERT INTO [UserToken] ([DateCreated], [ExpiryDate], [IsActive], [SessionExpiryDate], [Token], [UserId]) VALUES (@p0, @p1, @p2, @p3, @p4, @p5); SELECT [Id] FROM [UserToken] WHERE @@ROWCOUNT = 1 AND [Id] = scope_identity(); 2025-11-25 16:09:01.9329|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 16:09:01.9329||INFO|Authentication.Controllers.AccountController|useraimansaray@MOF role is gotten 2025-11-25 16:09:01.9329|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [u].[Id], [u].[CreatedBy], [u].[DateCreated], [u].[DateUpdated], [u].[IsActive], [u].[IsDeleted], [u].[PermissionId], [u].[RowVersion], [u].[UpdatedBy], [u].[UserId] FROM [UserPermissions] AS [u] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 16:09:01.9329|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 16:09:01.9474|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 16:09:01.9474|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 16:09:01.9474|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (0ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 16:09:01.9474|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (0ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 16:09:01.9474|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (0ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 16:09:01.9474|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (0ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 16:09:01.9474||INFO|Authentication.Controllers.AccountController|user aimansaray@MOF is signin but about to call corporate service 2025-11-25 16:09:02.0116|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'AuditTrailUtility.Utility.SaveResponse'. 2025-11-25 16:09:02.0116|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.SignIn (Authentication) in 195.537ms 2025-11-25 16:09:02.0116|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.SignIn (Authentication)' 2025-11-25 16:09:02.0116|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 209.282ms 200 application/json; charset=utf-8 2025-11-25 16:09:02.0532|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/Admin/GetAllUsersByCorporateId?corporateId=207 2025-11-25 16:09:02.0566|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 16:09:02.0566|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 7.2832ms 204 2025-11-25 16:09:02.0566|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/Admin/GetAllUsersByCorporateId?corporateId=207 2025-11-25 16:09:02.0566|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 16:09:02.0735|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.GetAllUsersByCorporateId (Authentication)' 2025-11-25 16:09:02.0735|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllUsersByCorporateId", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllUsersByCorporateId(Int64) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 16:09:02.0735|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 16:09:02.0735|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__corporateId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[UserTypeId] = @__corporateId_0 2025-11-25 16:09:02.0902|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[Authentication.Data.Models.Identity.UserBindingModel, Authentication.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2025-11-25 16:09:02.0902|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.GetAllUsersByCorporateId (Authentication) in 13.6534ms 2025-11-25 16:09:02.0902|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.GetAllUsersByCorporateId (Authentication)' 2025-11-25 16:09:02.0902|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 28.5696ms 200 application/json; charset=utf-8 2025-11-25 16:10:15.4796|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=v0VCEzmB81C3WCBWiC5J6qa3kBZzAx4Gur1IbBwi+RY= 2025-11-25 16:10:15.4796|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 16:10:15.4796|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 4.2667ms 204 2025-11-25 16:10:15.4796|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=v0VCEzmB81C3WCBWiC5J6qa3kBZzAx4Gur1IbBwi+RY= 0 2025-11-25 16:10:15.4920|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 16:10:15.4920|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 16:10:15.4920|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "RefreshToken", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] RefreshToken(System.String) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 16:10:15.4920|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 16:10:15.5250|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (19ms) [Parameters=[@__Token_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE [u].[Token] = @__Token_0 2025-11-25 16:10:15.5250|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'Microsoft.AspNetCore.Mvc.ProblemDetails'. 2025-11-25 16:10:15.5250|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.RefreshToken (Authentication) in 33.6143ms 2025-11-25 16:10:15.5250|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 16:10:15.5250|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 46.5905ms 401 application/problem+json; charset=utf-8 2025-11-25 16:10:24.4456|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignIn 2025-11-25 16:10:24.4495|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 16:10:24.4495|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6.6933ms 204 2025-11-25 16:10:24.4495|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignIn application/json 60 2025-11-25 16:10:24.4495|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 16:10:24.4645|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.SignIn (Authentication)' 2025-11-25 16:10:24.4645|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "SignIn", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] SignIn(Authentication.Data.Models.Identity.AuthBindingModel) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 16:10:24.4645|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 16:10:24.4797|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__ToLower_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE LOWER([a].[UserName]) = @__ToLower_0 2025-11-25 16:10:24.4797|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__checkUser_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__checkUser_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) ORDER BY [u].[Id] DESC 2025-11-25 16:10:24.4797|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[NormalizedUserName] = @__normalizedUserName_0 2025-11-25 16:10:24.5078|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[ClaimType], [a].[ClaimValue], [a].[Discriminator], [a].[UserId] FROM [AspNetUserClaims] AS [a] WHERE [a].[Discriminator] IN (N'IdentityUserClaim', N'UserClaim') AND ([a].[UserId] = @__user_Id_0) 2025-11-25 16:10:24.5168|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 16:10:24.5168|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__normalizedName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[InstitutionId], [a].[IsActive], [a].[Name], [a].[NormalizedName], [a].[UpdatedBy], [a].[UserType] FROM [AspNetRoles] AS [a] WHERE [a].[NormalizedName] = @__normalizedName_0 2025-11-25 16:10:24.5168|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__role_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[ClaimType], [a].[ClaimValue] FROM [AspNetRoleClaims] AS [a] WHERE [a].[RoleId] = @__role_Id_0 2025-11-25 16:10:24.5256|10|INFO|Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationHandler|AuthenticationScheme: Identity.Application signed in. 2025-11-25 16:10:24.5256|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[NormalizedUserName] = @__normalizedUserName_0 2025-11-25 16:10:24.5404|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 16:10:24.5404|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [p].[Code] FROM [UserPermissions] AS [u] INNER JOIN [Permissions] AS [p] ON [u].[PermissionId] = [p].[Id] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 16:10:24.5580|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (9ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 16:10:24.5580|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@p6='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [UserToken] SET [DateCreated] = @p0, [ExpiryDate] = @p1, [IsActive] = @p2, [SessionExpiryDate] = @p3, [Token] = @p4, [UserId] = @p5 WHERE [Id] = @p6; SELECT @@ROWCOUNT; 2025-11-25 16:10:24.5776|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; INSERT INTO [UserToken] ([DateCreated], [ExpiryDate], [IsActive], [SessionExpiryDate], [Token], [UserId]) VALUES (@p0, @p1, @p2, @p3, @p4, @p5); SELECT [Id] FROM [UserToken] WHERE @@ROWCOUNT = 1 AND [Id] = scope_identity(); 2025-11-25 16:10:24.5776|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 16:10:24.5776||INFO|Authentication.Controllers.AccountController|usersjalloh@MOF role is gotten 2025-11-25 16:10:24.5923|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [u].[Id], [u].[CreatedBy], [u].[DateCreated], [u].[DateUpdated], [u].[IsActive], [u].[IsDeleted], [u].[PermissionId], [u].[RowVersion], [u].[UpdatedBy], [u].[UserId] FROM [UserPermissions] AS [u] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 16:10:24.5923|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 16:10:24.5923|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 16:10:24.5923|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 16:10:24.6039|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 16:10:24.6039||INFO|Authentication.Controllers.AccountController|user sjalloh@MOF is signin but about to call corporate service 2025-11-25 16:10:24.6523|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'AuditTrailUtility.Utility.SaveResponse'. 2025-11-25 16:10:24.6523|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.SignIn (Authentication) in 188.2567ms 2025-11-25 16:10:24.6523|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.SignIn (Authentication)' 2025-11-25 16:10:24.6523|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 204.5755ms 200 application/json; charset=utf-8 2025-11-25 16:10:24.7183|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/Admin/GetAllUsersByCorporateId?corporateId=207 2025-11-25 16:10:24.7183|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 16:10:24.7183|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 5.5788ms 204 2025-11-25 16:10:24.7285|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/Admin/GetAllUsersByCorporateId?corporateId=207 2025-11-25 16:10:24.7285|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 16:10:24.7285|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.GetAllUsersByCorporateId (Authentication)' 2025-11-25 16:10:24.7285|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllUsersByCorporateId", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllUsersByCorporateId(Int64) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 16:10:24.7435|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 16:10:24.7435|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__corporateId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[UserTypeId] = @__corporateId_0 2025-11-25 16:10:24.7435|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[Authentication.Data.Models.Identity.UserBindingModel, Authentication.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2025-11-25 16:10:24.7435|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.GetAllUsersByCorporateId (Authentication) in 16.2378ms 2025-11-25 16:10:24.7608|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.GetAllUsersByCorporateId (Authentication)' 2025-11-25 16:10:24.7608|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 35.2064ms 200 application/json; charset=utf-8 2025-11-25 16:30:33.3879|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=k7umr+pZwlGha8ihmni3o+kNE9qyeU4lAtCxaZ4naiw= 2025-11-25 16:30:33.3879|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 16:30:33.3879|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 3.3224ms 204 2025-11-25 16:30:33.3879|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=k7umr+pZwlGha8ihmni3o+kNE9qyeU4lAtCxaZ4naiw= 0 2025-11-25 16:30:33.3879|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 16:30:33.3879|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 16:30:33.4038|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "RefreshToken", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] RefreshToken(System.String) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 16:30:33.4038|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 16:30:33.4412|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (20ms) [Parameters=[@__Token_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE [u].[Token] = @__Token_0 2025-11-25 16:30:33.4412|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'Microsoft.AspNetCore.Mvc.ProblemDetails'. 2025-11-25 16:30:33.4412|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.RefreshToken (Authentication) in 42.3495ms 2025-11-25 16:30:33.4500|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 16:30:33.4500|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 54.8164ms 401 application/problem+json; charset=utf-8 2025-11-25 16:31:45.9793|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=nwEiBBzz/ITynEQ50lEfFmJxllwNXqh7mDPg27LGYFY= 2025-11-25 16:31:45.9793|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=nwEiBBzz/ITynEQ50lEfFmJxllwNXqh7mDPg27LGYFY= 2025-11-25 16:31:45.9793|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 16:31:45.9793|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 16:31:45.9793|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 5.1372ms 204 2025-11-25 16:31:45.9793|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 5.5504ms 204 2025-11-25 16:31:45.9901|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=nwEiBBzz/ITynEQ50lEfFmJxllwNXqh7mDPg27LGYFY= 0 2025-11-25 16:31:45.9901|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=nwEiBBzz/ITynEQ50lEfFmJxllwNXqh7mDPg27LGYFY= 0 2025-11-25 16:31:45.9901|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 16:31:45.9901|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 16:31:45.9901|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=nwEiBBzz/ITynEQ50lEfFmJxllwNXqh7mDPg27LGYFY= 0 2025-11-25 16:31:45.9901|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 16:31:45.9901|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=nwEiBBzz/ITynEQ50lEfFmJxllwNXqh7mDPg27LGYFY= 0 2025-11-25 16:31:45.9901|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=nwEiBBzz/ITynEQ50lEfFmJxllwNXqh7mDPg27LGYFY= 0 2025-11-25 16:31:45.9901|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 16:31:45.9901|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 16:31:45.9901|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "RefreshToken", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] RefreshToken(System.String) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 16:31:45.9901|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 16:31:45.9901|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 16:31:45.9901|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "RefreshToken", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] RefreshToken(System.String) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 16:31:45.9901|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 16:31:46.0046|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 16:31:46.0046|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 16:31:46.0046|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 16:31:46.0046|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 16:31:46.0046|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "RefreshToken", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] RefreshToken(System.String) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 16:31:46.0046|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "RefreshToken", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] RefreshToken(System.String) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 16:31:46.0046|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "RefreshToken", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] RefreshToken(System.String) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 16:31:46.0046|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 16:31:46.0046|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 16:31:46.0046|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 16:31:46.0303|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (21ms) [Parameters=[@__Token_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE [u].[Token] = @__Token_0 2025-11-25 16:31:46.0303|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (12ms) [Parameters=[@__Token_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE [u].[Token] = @__Token_0 2025-11-25 16:31:46.0415|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (12ms) [Parameters=[@__Token_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE [u].[Token] = @__Token_0 2025-11-25 16:31:46.0415|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (12ms) [Parameters=[@__Token_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE [u].[Token] = @__Token_0 2025-11-25 16:31:46.0415|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (11ms) [Parameters=[@__Token_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE [u].[Token] = @__Token_0 2025-11-25 16:31:46.0415|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__p_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[Id] = @__p_0 2025-11-25 16:31:46.0415|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__p_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[Id] = @__p_0 2025-11-25 16:31:46.0415|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__p_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[Id] = @__p_0 2025-11-25 16:31:46.0415|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__p_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[Id] = @__p_0 2025-11-25 16:31:46.0575|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__p_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[Id] = @__p_0 2025-11-25 16:31:46.0575|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 16:31:46.0575|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 16:31:46.0575|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 16:31:46.0575|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 16:31:46.0575|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 16:31:46.0575|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [p].[Code] FROM [UserPermissions] AS [u] INNER JOIN [Permissions] AS [p] ON [u].[PermissionId] = [p].[Id] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 16:31:46.0575|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [p].[Code] FROM [UserPermissions] AS [u] INNER JOIN [Permissions] AS [p] ON [u].[PermissionId] = [p].[Id] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 16:31:46.0575|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [p].[Code] FROM [UserPermissions] AS [u] INNER JOIN [Permissions] AS [p] ON [u].[PermissionId] = [p].[Id] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 16:31:46.0575|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [p].[Code] FROM [UserPermissions] AS [u] INNER JOIN [Permissions] AS [p] ON [u].[PermissionId] = [p].[Id] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 16:31:46.0575|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [p].[Code] FROM [UserPermissions] AS [u] INNER JOIN [Permissions] AS [p] ON [u].[PermissionId] = [p].[Id] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 16:31:46.0740|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (7ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 16:31:46.0740|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (6ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 16:31:46.0740|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (5ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 16:31:46.0740|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p6='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [UserToken] SET [DateCreated] = @p0, [ExpiryDate] = @p1, [IsActive] = @p2, [SessionExpiryDate] = @p3, [Token] = @p4, [UserId] = @p5 WHERE [Id] = @p6; SELECT @@ROWCOUNT; 2025-11-25 16:31:46.0740|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (13ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 16:31:46.0740|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (12ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 16:31:46.0829|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (4ms) [Parameters=[@p6='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [UserToken] SET [DateCreated] = @p0, [ExpiryDate] = @p1, [IsActive] = @p2, [SessionExpiryDate] = @p3, [Token] = @p4, [UserId] = @p5 WHERE [Id] = @p6; SELECT @@ROWCOUNT; 2025-11-25 16:31:46.0829|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; INSERT INTO [UserToken] ([DateCreated], [ExpiryDate], [IsActive], [SessionExpiryDate], [Token], [UserId]) VALUES (@p0, @p1, @p2, @p3, @p4, @p5); SELECT [Id] FROM [UserToken] WHERE @@ROWCOUNT = 1 AND [Id] = scope_identity(); 2025-11-25 16:31:46.0829|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (7ms) [Parameters=[@p6='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [UserToken] SET [DateCreated] = @p0, [ExpiryDate] = @p1, [IsActive] = @p2, [SessionExpiryDate] = @p3, [Token] = @p4, [UserId] = @p5 WHERE [Id] = @p6; SELECT @@ROWCOUNT; 2025-11-25 16:31:46.0829|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; INSERT INTO [UserToken] ([DateCreated], [ExpiryDate], [IsActive], [SessionExpiryDate], [Token], [UserId]) VALUES (@p0, @p1, @p2, @p3, @p4, @p5); SELECT [Id] FROM [UserToken] WHERE @@ROWCOUNT = 1 AND [Id] = scope_identity(); 2025-11-25 16:31:46.0829|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (6ms) [Parameters=[@p6='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [UserToken] SET [DateCreated] = @p0, [ExpiryDate] = @p1, [IsActive] = @p2, [SessionExpiryDate] = @p3, [Token] = @p4, [UserId] = @p5 WHERE [Id] = @p6; SELECT @@ROWCOUNT; 2025-11-25 16:31:46.0829|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; INSERT INTO [UserToken] ([DateCreated], [ExpiryDate], [IsActive], [SessionExpiryDate], [Token], [UserId]) VALUES (@p0, @p1, @p2, @p3, @p4, @p5); SELECT [Id] FROM [UserToken] WHERE @@ROWCOUNT = 1 AND [Id] = scope_identity(); 2025-11-25 16:31:46.0829|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'Authentication.Data.Models.TokenResponse'. 2025-11-25 16:31:46.0829|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'Authentication.Data.Models.TokenResponse'. 2025-11-25 16:31:46.0829|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (7ms) [Parameters=[@p6='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [UserToken] SET [DateCreated] = @p0, [ExpiryDate] = @p1, [IsActive] = @p2, [SessionExpiryDate] = @p3, [Token] = @p4, [UserId] = @p5 WHERE [Id] = @p6; SELECT @@ROWCOUNT; 2025-11-25 16:31:46.0829|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; INSERT INTO [UserToken] ([DateCreated], [ExpiryDate], [IsActive], [SessionExpiryDate], [Token], [UserId]) VALUES (@p0, @p1, @p2, @p3, @p4, @p5); SELECT [Id] FROM [UserToken] WHERE @@ROWCOUNT = 1 AND [Id] = scope_identity(); 2025-11-25 16:31:46.0829|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'Authentication.Data.Models.TokenResponse'. 2025-11-25 16:31:46.0986|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.RefreshToken (Authentication) in 85.4522ms 2025-11-25 16:31:46.0986|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.RefreshToken (Authentication) in 84.0837ms 2025-11-25 16:31:46.0986|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'Authentication.Data.Models.TokenResponse'. 2025-11-25 16:31:46.0986|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; INSERT INTO [UserToken] ([DateCreated], [ExpiryDate], [IsActive], [SessionExpiryDate], [Token], [UserId]) VALUES (@p0, @p1, @p2, @p3, @p4, @p5); SELECT [Id] FROM [UserToken] WHERE @@ROWCOUNT = 1 AND [Id] = scope_identity(); 2025-11-25 16:31:46.0986|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.RefreshToken (Authentication) in 88.1166ms 2025-11-25 16:31:46.0986|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 16:31:46.0986|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 16:31:46.0986|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.RefreshToken (Authentication) in 96.125ms 2025-11-25 16:31:46.0986|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'Authentication.Data.Models.TokenResponse'. 2025-11-25 16:31:46.0986|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 16:31:46.0986|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 111.7385ms 200 application/json; charset=utf-8 2025-11-25 16:31:46.0986|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 111.9712ms 200 application/json; charset=utf-8 2025-11-25 16:31:46.0986|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 16:31:46.0986|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.RefreshToken (Authentication) in 105.6486ms 2025-11-25 16:31:46.0986|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 116.8731ms 200 application/json; charset=utf-8 2025-11-25 16:31:46.0986|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 123.1256ms 200 application/json; charset=utf-8 2025-11-25 16:31:46.1145|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 16:31:46.1145|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 128.4338ms 200 application/json; charset=utf-8 2025-11-25 16:52:35.9769|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://127.0.0.1:36456/AUTHENTICATIONSERVICE/iisintegration 0 2025-11-25 16:52:35.9769|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 2.4546ms 202 2025-11-25 16:55:45.7494||DEBUG|Authentication.Program|init main function 2025-11-25 16:55:47.7165|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 16:55:48.0056|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (17ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT 1 2025-11-25 16:55:48.0296|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (14ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT OBJECT_ID(N'[__EFMigrationsHistory]'); 2025-11-25 16:55:48.0296|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT 1 2025-11-25 16:55:48.0296|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT OBJECT_ID(N'[__EFMigrationsHistory]'); 2025-11-25 16:55:48.0486|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT [MigrationId], [ProductVersion] FROM [__EFMigrationsHistory] ORDER BY [MigrationId]; 2025-11-25 16:55:48.0697|20405|INFO|Microsoft.EntityFrameworkCore.Migrations|No migrations were applied. The database is already up to date. 2025-11-25 16:55:48.2503||INFO|Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager|User profile not available. Using 'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ASP.NET\4.0.30319.0\AutoGenKeys\S-1-5-82-2404559740-2321761809-584227669-3522060946-2110276425\DataProtection' as key repository and Windows DPAPI to encrypt keys at rest. 2025-11-25 16:55:48.5183|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=wUav/mJ/WwQ1tZTvlFE/pLoXfjukXAdA9/CV1yCRSe0= 2025-11-25 16:55:48.5183|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=wUav/mJ/WwQ1tZTvlFE/pLoXfjukXAdA9/CV1yCRSe0= 2025-11-25 16:55:48.5183|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=wUav/mJ/WwQ1tZTvlFE/pLoXfjukXAdA9/CV1yCRSe0= 2025-11-25 16:55:48.5183|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=wUav/mJ/WwQ1tZTvlFE/pLoXfjukXAdA9/CV1yCRSe0= 2025-11-25 16:55:48.5183|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=wUav/mJ/WwQ1tZTvlFE/pLoXfjukXAdA9/CV1yCRSe0= 2025-11-25 16:55:48.5183|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=wUav/mJ/WwQ1tZTvlFE/pLoXfjukXAdA9/CV1yCRSe0= 2025-11-25 16:55:48.5183|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=wUav/mJ/WwQ1tZTvlFE/pLoXfjukXAdA9/CV1yCRSe0= 2025-11-25 16:55:48.5183|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=wUav/mJ/WwQ1tZTvlFE/pLoXfjukXAdA9/CV1yCRSe0= 2025-11-25 16:55:48.5669|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 16:55:48.5669|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 16:55:48.5669|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 16:55:48.5669|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 16:55:48.5669|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 16:55:48.5669|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 16:55:48.5669|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 16:55:48.5669|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 16:55:48.5824|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 64.7776ms 204 2025-11-25 16:55:48.5824|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 64.7748ms 204 2025-11-25 16:55:48.5824|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 64.7809ms 204 2025-11-25 16:55:48.5824|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 64.8196ms 204 2025-11-25 16:55:48.5824|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 64.8148ms 204 2025-11-25 16:55:48.5824|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 64.7758ms 204 2025-11-25 16:55:48.5824|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 64.7827ms 204 2025-11-25 16:55:48.5824|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 64.7722ms 204 2025-11-25 16:55:48.6026|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=wUav/mJ/WwQ1tZTvlFE/pLoXfjukXAdA9/CV1yCRSe0= 0 2025-11-25 16:55:48.6026|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=wUav/mJ/WwQ1tZTvlFE/pLoXfjukXAdA9/CV1yCRSe0= 0 2025-11-25 16:55:48.6026|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=wUav/mJ/WwQ1tZTvlFE/pLoXfjukXAdA9/CV1yCRSe0= 0 2025-11-25 16:55:48.6026|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=wUav/mJ/WwQ1tZTvlFE/pLoXfjukXAdA9/CV1yCRSe0= 0 2025-11-25 16:55:48.6026|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=wUav/mJ/WwQ1tZTvlFE/pLoXfjukXAdA9/CV1yCRSe0= 0 2025-11-25 16:55:48.6101|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 16:55:48.6026|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=wUav/mJ/WwQ1tZTvlFE/pLoXfjukXAdA9/CV1yCRSe0= 0 2025-11-25 16:55:48.6026|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=wUav/mJ/WwQ1tZTvlFE/pLoXfjukXAdA9/CV1yCRSe0= 0 2025-11-25 16:55:48.6101|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 16:55:48.6101|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 16:55:48.6101|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 16:55:48.6026|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=wUav/mJ/WwQ1tZTvlFE/pLoXfjukXAdA9/CV1yCRSe0= 0 2025-11-25 16:55:48.6101|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 16:55:48.6101|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 16:55:48.6101|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 16:55:48.6206|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 16:55:48.6206|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 16:55:48.6206|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 16:55:48.6206|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 16:55:48.6206|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 16:55:48.6206|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 16:55:48.6206|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 16:55:48.6206|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 16:55:48.6206|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 16:55:48.6830|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "RefreshToken", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] RefreshToken(System.String) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 16:55:48.6830|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "RefreshToken", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] RefreshToken(System.String) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 16:55:48.6830|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "RefreshToken", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] RefreshToken(System.String) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 16:55:48.6830|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "RefreshToken", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] RefreshToken(System.String) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 16:55:48.6830|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "RefreshToken", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] RefreshToken(System.String) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 16:55:48.6830|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "RefreshToken", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] RefreshToken(System.String) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 16:55:48.6830|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "RefreshToken", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] RefreshToken(System.String) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 16:55:48.6830|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "RefreshToken", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] RefreshToken(System.String) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 16:55:48.6830|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 16:55:48.6830|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 16:55:48.6830|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 16:55:48.6830|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 16:55:48.6830|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 16:55:48.6830|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 16:55:48.7009|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 16:55:48.7333|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 16:55:48.9531|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (26ms) [Parameters=[@__Token_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE [u].[Token] = @__Token_0 2025-11-25 16:55:48.9531|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (15ms) [Parameters=[@__Token_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE [u].[Token] = @__Token_0 2025-11-25 16:55:48.9531|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (52ms) [Parameters=[@__Token_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE [u].[Token] = @__Token_0 2025-11-25 16:55:48.9531|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (25ms) [Parameters=[@__Token_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE [u].[Token] = @__Token_0 2025-11-25 16:55:48.9531|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (42ms) [Parameters=[@__Token_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE [u].[Token] = @__Token_0 2025-11-25 16:55:48.9531|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (13ms) [Parameters=[@__Token_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE [u].[Token] = @__Token_0 2025-11-25 16:55:48.9531|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (11ms) [Parameters=[@__Token_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE [u].[Token] = @__Token_0 2025-11-25 16:55:48.9693|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (14ms) [Parameters=[@__Token_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE [u].[Token] = @__Token_0 2025-11-25 16:55:49.0713|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__p_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[Id] = @__p_0 2025-11-25 16:55:49.0713|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__p_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[Id] = @__p_0 2025-11-25 16:55:49.0713|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__p_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[Id] = @__p_0 2025-11-25 16:55:49.0713|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__p_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[Id] = @__p_0 2025-11-25 16:55:49.0713|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__p_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[Id] = @__p_0 2025-11-25 16:55:49.0713|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__p_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[Id] = @__p_0 2025-11-25 16:55:49.0713|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__p_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[Id] = @__p_0 2025-11-25 16:55:49.0713|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (3ms) [Parameters=[@__p_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[Id] = @__p_0 2025-11-25 16:55:49.2286|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (14ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 16:55:49.2286|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (14ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 16:55:49.2286|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (14ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 16:55:49.2286|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (14ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 16:55:49.2286|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (14ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 16:55:49.2286|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (14ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 16:55:49.2286|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (14ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 16:55:49.2286|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (14ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 16:55:49.2577|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [p].[Code] FROM [UserPermissions] AS [u] INNER JOIN [Permissions] AS [p] ON [u].[PermissionId] = [p].[Id] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 16:55:49.2577|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [p].[Code] FROM [UserPermissions] AS [u] INNER JOIN [Permissions] AS [p] ON [u].[PermissionId] = [p].[Id] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 16:55:49.2577|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [p].[Code] FROM [UserPermissions] AS [u] INNER JOIN [Permissions] AS [p] ON [u].[PermissionId] = [p].[Id] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 16:55:49.2577|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [p].[Code] FROM [UserPermissions] AS [u] INNER JOIN [Permissions] AS [p] ON [u].[PermissionId] = [p].[Id] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 16:55:49.2577|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [p].[Code] FROM [UserPermissions] AS [u] INNER JOIN [Permissions] AS [p] ON [u].[PermissionId] = [p].[Id] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 16:55:49.2577|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [p].[Code] FROM [UserPermissions] AS [u] INNER JOIN [Permissions] AS [p] ON [u].[PermissionId] = [p].[Id] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 16:55:49.2577|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [p].[Code] FROM [UserPermissions] AS [u] INNER JOIN [Permissions] AS [p] ON [u].[PermissionId] = [p].[Id] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 16:55:49.2577|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [p].[Code] FROM [UserPermissions] AS [u] INNER JOIN [Permissions] AS [p] ON [u].[PermissionId] = [p].[Id] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 16:55:49.3986|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (6ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 16:55:49.3986|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (6ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 16:55:49.3986|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (6ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 16:55:49.3986|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (6ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 16:55:49.4041|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (11ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 16:55:49.4041|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (13ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 16:55:49.4041|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (13ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 16:55:49.4041|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (11ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 16:55:49.5188|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@p6='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [UserToken] SET [DateCreated] = @p0, [ExpiryDate] = @p1, [IsActive] = @p2, [SessionExpiryDate] = @p3, [Token] = @p4, [UserId] = @p5 WHERE [Id] = @p6; SELECT @@ROWCOUNT; 2025-11-25 16:55:49.5262|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (10ms) [Parameters=[@p6='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [UserToken] SET [DateCreated] = @p0, [ExpiryDate] = @p1, [IsActive] = @p2, [SessionExpiryDate] = @p3, [Token] = @p4, [UserId] = @p5 WHERE [Id] = @p6; SELECT @@ROWCOUNT; 2025-11-25 16:55:49.5262|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (14ms) [Parameters=[@p6='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [UserToken] SET [DateCreated] = @p0, [ExpiryDate] = @p1, [IsActive] = @p2, [SessionExpiryDate] = @p3, [Token] = @p4, [UserId] = @p5 WHERE [Id] = @p6; SELECT @@ROWCOUNT; 2025-11-25 16:55:49.5262|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (17ms) [Parameters=[@p6='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [UserToken] SET [DateCreated] = @p0, [ExpiryDate] = @p1, [IsActive] = @p2, [SessionExpiryDate] = @p3, [Token] = @p4, [UserId] = @p5 WHERE [Id] = @p6; SELECT @@ROWCOUNT; 2025-11-25 16:55:49.5262|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (20ms) [Parameters=[@p6='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [UserToken] SET [DateCreated] = @p0, [ExpiryDate] = @p1, [IsActive] = @p2, [SessionExpiryDate] = @p3, [Token] = @p4, [UserId] = @p5 WHERE [Id] = @p6; SELECT @@ROWCOUNT; 2025-11-25 16:55:49.5262|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (24ms) [Parameters=[@p6='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [UserToken] SET [DateCreated] = @p0, [ExpiryDate] = @p1, [IsActive] = @p2, [SessionExpiryDate] = @p3, [Token] = @p4, [UserId] = @p5 WHERE [Id] = @p6; SELECT @@ROWCOUNT; 2025-11-25 16:55:49.5430|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (26ms) [Parameters=[@p6='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [UserToken] SET [DateCreated] = @p0, [ExpiryDate] = @p1, [IsActive] = @p2, [SessionExpiryDate] = @p3, [Token] = @p4, [UserId] = @p5 WHERE [Id] = @p6; SELECT @@ROWCOUNT; 2025-11-25 16:55:49.5430|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (30ms) [Parameters=[@p6='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [UserToken] SET [DateCreated] = @p0, [ExpiryDate] = @p1, [IsActive] = @p2, [SessionExpiryDate] = @p3, [Token] = @p4, [UserId] = @p5 WHERE [Id] = @p6; SELECT @@ROWCOUNT; 2025-11-25 16:55:49.5636|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; INSERT INTO [UserToken] ([DateCreated], [ExpiryDate], [IsActive], [SessionExpiryDate], [Token], [UserId]) VALUES (@p0, @p1, @p2, @p3, @p4, @p5); SELECT [Id] FROM [UserToken] WHERE @@ROWCOUNT = 1 AND [Id] = scope_identity(); 2025-11-25 16:55:49.5636|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; INSERT INTO [UserToken] ([DateCreated], [ExpiryDate], [IsActive], [SessionExpiryDate], [Token], [UserId]) VALUES (@p0, @p1, @p2, @p3, @p4, @p5); SELECT [Id] FROM [UserToken] WHERE @@ROWCOUNT = 1 AND [Id] = scope_identity(); 2025-11-25 16:55:49.5636|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; INSERT INTO [UserToken] ([DateCreated], [ExpiryDate], [IsActive], [SessionExpiryDate], [Token], [UserId]) VALUES (@p0, @p1, @p2, @p3, @p4, @p5); SELECT [Id] FROM [UserToken] WHERE @@ROWCOUNT = 1 AND [Id] = scope_identity(); 2025-11-25 16:55:49.5636|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; INSERT INTO [UserToken] ([DateCreated], [ExpiryDate], [IsActive], [SessionExpiryDate], [Token], [UserId]) VALUES (@p0, @p1, @p2, @p3, @p4, @p5); SELECT [Id] FROM [UserToken] WHERE @@ROWCOUNT = 1 AND [Id] = scope_identity(); 2025-11-25 16:55:49.5636|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; INSERT INTO [UserToken] ([DateCreated], [ExpiryDate], [IsActive], [SessionExpiryDate], [Token], [UserId]) VALUES (@p0, @p1, @p2, @p3, @p4, @p5); SELECT [Id] FROM [UserToken] WHERE @@ROWCOUNT = 1 AND [Id] = scope_identity(); 2025-11-25 16:55:49.5636|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; INSERT INTO [UserToken] ([DateCreated], [ExpiryDate], [IsActive], [SessionExpiryDate], [Token], [UserId]) VALUES (@p0, @p1, @p2, @p3, @p4, @p5); SELECT [Id] FROM [UserToken] WHERE @@ROWCOUNT = 1 AND [Id] = scope_identity(); 2025-11-25 16:55:49.5636|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; INSERT INTO [UserToken] ([DateCreated], [ExpiryDate], [IsActive], [SessionExpiryDate], [Token], [UserId]) VALUES (@p0, @p1, @p2, @p3, @p4, @p5); SELECT [Id] FROM [UserToken] WHERE @@ROWCOUNT = 1 AND [Id] = scope_identity(); 2025-11-25 16:55:49.5636|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; INSERT INTO [UserToken] ([DateCreated], [ExpiryDate], [IsActive], [SessionExpiryDate], [Token], [UserId]) VALUES (@p0, @p1, @p2, @p3, @p4, @p5); SELECT [Id] FROM [UserToken] WHERE @@ROWCOUNT = 1 AND [Id] = scope_identity(); 2025-11-25 16:55:49.5950|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'Authentication.Data.Models.TokenResponse'. 2025-11-25 16:55:49.5950|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'Authentication.Data.Models.TokenResponse'. 2025-11-25 16:55:49.5950|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'Authentication.Data.Models.TokenResponse'. 2025-11-25 16:55:49.5950|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'Authentication.Data.Models.TokenResponse'. 2025-11-25 16:55:49.5950|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'Authentication.Data.Models.TokenResponse'. 2025-11-25 16:55:49.5950|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'Authentication.Data.Models.TokenResponse'. 2025-11-25 16:55:49.5950|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'Authentication.Data.Models.TokenResponse'. 2025-11-25 16:55:49.5950|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'Authentication.Data.Models.TokenResponse'. 2025-11-25 16:55:49.6353|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.RefreshToken (Authentication) in 935.161ms 2025-11-25 16:55:49.6353|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.RefreshToken (Authentication) in 938.5986ms 2025-11-25 16:55:49.6353|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.RefreshToken (Authentication) in 942.6833ms 2025-11-25 16:55:49.6353|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.RefreshToken (Authentication) in 944.9875ms 2025-11-25 16:55:49.6353|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.RefreshToken (Authentication) in 939.9799ms 2025-11-25 16:55:49.6353|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.RefreshToken (Authentication) in 937.1991ms 2025-11-25 16:55:49.6353|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.RefreshToken (Authentication) in 943.7408ms 2025-11-25 16:55:49.6353|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.RefreshToken (Authentication) in 941.6688ms 2025-11-25 16:55:49.6353|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 16:55:49.6353|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 16:55:49.6353|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 16:55:49.6353|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 16:55:49.6353|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 16:55:49.6353|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 16:55:49.6353|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 16:55:49.6353|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 16:55:49.6353|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1044.9674ms 200 application/json; charset=utf-8 2025-11-25 16:55:49.6353|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1044.9365ms 200 application/json; charset=utf-8 2025-11-25 16:55:49.6353|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1045.3599ms 200 application/json; charset=utf-8 2025-11-25 16:55:49.6353|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1046.4936ms 200 application/json; charset=utf-8 2025-11-25 16:55:49.6513|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1048.6442ms 200 application/json; charset=utf-8 2025-11-25 16:55:49.6513|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1050.3543ms 200 application/json; charset=utf-8 2025-11-25 16:55:49.6513|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1051.6262ms 200 application/json; charset=utf-8 2025-11-25 16:55:49.6513|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1053.9308ms 200 application/json; charset=utf-8 2025-11-25 16:56:45.6686|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignIn 2025-11-25 16:56:45.6752|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 16:56:45.6752|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 10.6029ms 204 2025-11-25 16:56:45.6990|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignIn application/json 60 2025-11-25 16:56:45.7038|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 16:56:45.7038|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.SignIn (Authentication)' 2025-11-25 16:56:45.7189|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "SignIn", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] SignIn(Authentication.Data.Models.Identity.AuthBindingModel) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 16:56:45.7189|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 16:56:45.8065|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (3ms) [Parameters=[@__ToLower_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE LOWER([a].[UserName]) = @__ToLower_0 2025-11-25 16:56:45.8316|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (13ms) [Parameters=[@__checkUser_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__checkUser_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) ORDER BY [u].[Id] DESC 2025-11-25 16:56:45.8613|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (4ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[NormalizedUserName] = @__normalizedUserName_0 2025-11-25 16:56:45.9082|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[ClaimType], [a].[ClaimValue], [a].[Discriminator], [a].[UserId] FROM [AspNetUserClaims] AS [a] WHERE [a].[Discriminator] IN (N'IdentityUserClaim', N'UserClaim') AND ([a].[UserId] = @__user_Id_0) 2025-11-25 16:56:45.9082|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 16:56:45.9347|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__normalizedName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[InstitutionId], [a].[IsActive], [a].[Name], [a].[NormalizedName], [a].[UpdatedBy], [a].[UserType] FROM [AspNetRoles] AS [a] WHERE [a].[NormalizedName] = @__normalizedName_0 2025-11-25 16:56:45.9583|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (5ms) [Parameters=[@__role_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[ClaimType], [a].[ClaimValue] FROM [AspNetRoleClaims] AS [a] WHERE [a].[RoleId] = @__role_Id_0 2025-11-25 16:56:45.9583|10|INFO|Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationHandler|AuthenticationScheme: Identity.Application signed in. 2025-11-25 16:56:45.9737|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[NormalizedUserName] = @__normalizedUserName_0 2025-11-25 16:56:46.1698|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 16:56:46.1741|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [p].[Code] FROM [UserPermissions] AS [u] INNER JOIN [Permissions] AS [p] ON [u].[PermissionId] = [p].[Id] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 16:56:46.1741|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (7ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 16:56:46.1952|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; INSERT INTO [UserToken] ([DateCreated], [ExpiryDate], [IsActive], [SessionExpiryDate], [Token], [UserId]) VALUES (@p0, @p1, @p2, @p3, @p4, @p5); SELECT [Id] FROM [UserToken] WHERE @@ROWCOUNT = 1 AND [Id] = scope_identity(); 2025-11-25 16:56:46.2035|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 16:56:46.2035||INFO|Authentication.Controllers.AccountController|userlcaulker@MOF role is gotten 2025-11-25 16:56:46.2225|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (3ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [u].[Id], [u].[CreatedBy], [u].[DateCreated], [u].[DateUpdated], [u].[IsActive], [u].[IsDeleted], [u].[PermissionId], [u].[RowVersion], [u].[UpdatedBy], [u].[UserId] FROM [UserPermissions] AS [u] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 16:56:46.2418|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (4ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 16:56:46.2418|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (3ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 16:56:46.2527|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 16:56:46.2527|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 16:56:46.2527|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 16:56:46.2527|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 16:56:46.2673|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 16:56:46.2673|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (0ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 16:56:46.2673|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (0ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 16:56:46.2673||INFO|Authentication.Controllers.AccountController|user lcaulker@MOF is signin but about to call corporate service 2025-11-25 16:56:46.4237|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'AuditTrailUtility.Utility.SaveResponse'. 2025-11-25 16:56:46.4237|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.SignIn (Authentication) in 712.2226ms 2025-11-25 16:56:46.4237|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.SignIn (Authentication)' 2025-11-25 16:56:46.4237|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 738.7015ms 200 application/json; charset=utf-8 2025-11-25 16:56:46.5492|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/Admin/GetAllUsersByCorporateId?corporateId=207 2025-11-25 16:56:46.5492|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 16:56:46.5492|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 7.3487ms 204 2025-11-25 16:56:46.6129|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/Admin/GetAllUsersByCorporateId?corporateId=207 2025-11-25 16:56:46.6129|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 16:56:46.6129|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.GetAllUsersByCorporateId (Authentication)' 2025-11-25 16:56:46.6315|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllUsersByCorporateId", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllUsersByCorporateId(Int64) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 16:56:46.6315|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 16:56:46.6537|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (5ms) [Parameters=[@__corporateId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[UserTypeId] = @__corporateId_0 2025-11-25 16:56:46.6856|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[Authentication.Data.Models.Identity.UserBindingModel, Authentication.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2025-11-25 16:56:46.6964|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.GetAllUsersByCorporateId (Authentication) in 62.4987ms 2025-11-25 16:56:46.6964|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.GetAllUsersByCorporateId (Authentication)' 2025-11-25 16:56:46.6964|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 89.2677ms 200 application/json; charset=utf-8 2025-11-25 16:58:08.5986|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignIn 2025-11-25 16:58:08.5986|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 16:58:08.5986|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 5.3735ms 204 2025-11-25 16:58:08.6109|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignIn application/json 59 2025-11-25 16:58:08.6109|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 16:58:08.6109|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.SignIn (Authentication)' 2025-11-25 16:58:08.6109|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "SignIn", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] SignIn(Authentication.Data.Models.Identity.AuthBindingModel) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 16:58:08.6109|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 16:58:08.6290|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__ToLower_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE LOWER([a].[UserName]) = @__ToLower_0 2025-11-25 16:58:08.6480|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (14ms) [Parameters=[@__checkUser_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__checkUser_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) ORDER BY [u].[Id] DESC 2025-11-25 16:58:08.6480|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[NormalizedUserName] = @__normalizedUserName_0 2025-11-25 16:58:08.6592|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[ClaimType], [a].[ClaimValue], [a].[Discriminator], [a].[UserId] FROM [AspNetUserClaims] AS [a] WHERE [a].[Discriminator] IN (N'IdentityUserClaim', N'UserClaim') AND ([a].[UserId] = @__user_Id_0) 2025-11-25 16:58:08.6592|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 16:58:08.6592|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__normalizedName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[InstitutionId], [a].[IsActive], [a].[Name], [a].[NormalizedName], [a].[UpdatedBy], [a].[UserType] FROM [AspNetRoles] AS [a] WHERE [a].[NormalizedName] = @__normalizedName_0 2025-11-25 16:58:08.6592|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__role_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[ClaimType], [a].[ClaimValue] FROM [AspNetRoleClaims] AS [a] WHERE [a].[RoleId] = @__role_Id_0 2025-11-25 16:58:08.6688|10|INFO|Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationHandler|AuthenticationScheme: Identity.Application signed in. 2025-11-25 16:58:08.6688|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[NormalizedUserName] = @__normalizedUserName_0 2025-11-25 16:58:08.6688|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 16:58:08.6688|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [p].[Code] FROM [UserPermissions] AS [u] INNER JOIN [Permissions] AS [p] ON [u].[PermissionId] = [p].[Id] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 16:58:08.6980|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (13ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 16:58:08.7076|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; INSERT INTO [UserToken] ([DateCreated], [ExpiryDate], [IsActive], [SessionExpiryDate], [Token], [UserId]) VALUES (@p0, @p1, @p2, @p3, @p4, @p5); SELECT [Id] FROM [UserToken] WHERE @@ROWCOUNT = 1 AND [Id] = scope_identity(); 2025-11-25 16:58:08.7076|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 16:58:08.7164||INFO|Authentication.Controllers.AccountController|userrcoker@MOF role is gotten 2025-11-25 16:58:08.7164|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [u].[Id], [u].[CreatedBy], [u].[DateCreated], [u].[DateUpdated], [u].[IsActive], [u].[IsDeleted], [u].[PermissionId], [u].[RowVersion], [u].[UpdatedBy], [u].[UserId] FROM [UserPermissions] AS [u] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 16:58:08.7164|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 16:58:08.7164|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 16:58:08.7340|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 16:58:08.7340|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 16:58:08.7340|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 16:58:08.7340|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 16:58:08.7340|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 16:58:08.7340|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 16:58:08.7474|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 16:58:08.7474|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 16:58:08.7474||INFO|Authentication.Controllers.AccountController|user rcoker@MOF is signin but about to call corporate service 2025-11-25 16:58:08.8179|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'AuditTrailUtility.Utility.SaveResponse'. 2025-11-25 16:58:08.8179|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.SignIn (Authentication) in 201.6177ms 2025-11-25 16:58:08.8179|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.SignIn (Authentication)' 2025-11-25 16:58:08.8179|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 213.6398ms 200 application/json; charset=utf-8 2025-11-25 16:58:08.8916|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/Admin/GetAllUsersByCorporateId?corporateId=207 2025-11-25 16:58:08.8916|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 16:58:08.8916|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 7.6884ms 204 2025-11-25 16:58:08.9087|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/Admin/GetAllUsersByCorporateId?corporateId=207 2025-11-25 16:58:08.9087|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 16:58:08.9087|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.GetAllUsersByCorporateId (Authentication)' 2025-11-25 16:58:08.9212|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllUsersByCorporateId", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllUsersByCorporateId(Int64) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 16:58:08.9212|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 16:58:08.9212|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__corporateId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[UserTypeId] = @__corporateId_0 2025-11-25 16:58:08.9412|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[Authentication.Data.Models.Identity.UserBindingModel, Authentication.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2025-11-25 16:58:08.9412|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.GetAllUsersByCorporateId (Authentication) in 18.7289ms 2025-11-25 16:58:08.9412|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.GetAllUsersByCorporateId (Authentication)' 2025-11-25 16:58:08.9412|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 39.2622ms 200 application/json; charset=utf-8 2025-11-25 17:00:46.0835|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignIn 2025-11-25 17:00:46.0890|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 17:00:46.0890|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 9.3191ms 204 2025-11-25 17:00:46.0890|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignIn application/json 61 2025-11-25 17:00:46.0890|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 17:00:46.1049|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.SignIn (Authentication)' 2025-11-25 17:00:46.1049|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "SignIn", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] SignIn(Authentication.Data.Models.Identity.AuthBindingModel) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 17:00:46.1049|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 17:00:46.1049|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (3ms) [Parameters=[@__ToLower_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE LOWER([a].[UserName]) = @__ToLower_0 2025-11-25 17:00:46.1238|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__checkUser_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__checkUser_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) ORDER BY [u].[Id] DESC 2025-11-25 17:00:46.1238|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (4ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[NormalizedUserName] = @__normalizedUserName_0 2025-11-25 17:00:46.1430|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[ClaimType], [a].[ClaimValue], [a].[Discriminator], [a].[UserId] FROM [AspNetUserClaims] AS [a] WHERE [a].[Discriminator] IN (N'IdentityUserClaim', N'UserClaim') AND ([a].[UserId] = @__user_Id_0) 2025-11-25 17:00:46.1430|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 17:00:46.1430|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__normalizedName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[InstitutionId], [a].[IsActive], [a].[Name], [a].[NormalizedName], [a].[UpdatedBy], [a].[UserType] FROM [AspNetRoles] AS [a] WHERE [a].[NormalizedName] = @__normalizedName_0 2025-11-25 17:00:46.1563|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__role_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[ClaimType], [a].[ClaimValue] FROM [AspNetRoleClaims] AS [a] WHERE [a].[RoleId] = @__role_Id_0 2025-11-25 17:00:46.1563|10|INFO|Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationHandler|AuthenticationScheme: Identity.Application signed in. 2025-11-25 17:00:46.1563|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[NormalizedUserName] = @__normalizedUserName_0 2025-11-25 17:00:46.1725|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 17:00:46.1725|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [p].[Code] FROM [UserPermissions] AS [u] INNER JOIN [Permissions] AS [p] ON [u].[PermissionId] = [p].[Id] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 17:00:46.1978|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (13ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 17:00:46.2057|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p6='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [UserToken] SET [DateCreated] = @p0, [ExpiryDate] = @p1, [IsActive] = @p2, [SessionExpiryDate] = @p3, [Token] = @p4, [UserId] = @p5 WHERE [Id] = @p6; SELECT @@ROWCOUNT; 2025-11-25 17:00:46.2057|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; INSERT INTO [UserToken] ([DateCreated], [ExpiryDate], [IsActive], [SessionExpiryDate], [Token], [UserId]) VALUES (@p0, @p1, @p2, @p3, @p4, @p5); SELECT [Id] FROM [UserToken] WHERE @@ROWCOUNT = 1 AND [Id] = scope_identity(); 2025-11-25 17:00:46.2168|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 17:00:46.2168||INFO|Authentication.Controllers.AccountController|useraimansaray@MOF role is gotten 2025-11-25 17:00:46.2168|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [u].[Id], [u].[CreatedBy], [u].[DateCreated], [u].[DateUpdated], [u].[IsActive], [u].[IsDeleted], [u].[PermissionId], [u].[RowVersion], [u].[UpdatedBy], [u].[UserId] FROM [UserPermissions] AS [u] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 17:00:46.2168|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 17:00:46.2168|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 17:00:46.2305|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 17:00:46.2305|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 17:00:46.2305|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 17:00:46.2305|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 17:00:46.2305|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 17:00:46.2305||INFO|Authentication.Controllers.AccountController|user aimansaray@MOF is signin but about to call corporate service 2025-11-25 17:00:46.3002|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'AuditTrailUtility.Utility.SaveResponse'. 2025-11-25 17:00:46.3002|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.SignIn (Authentication) in 196.7707ms 2025-11-25 17:00:46.3082|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.SignIn (Authentication)' 2025-11-25 17:00:46.3082|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 211.5259ms 200 application/json; charset=utf-8 2025-11-25 17:00:46.3524|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/Admin/GetAllUsersByCorporateId?corporateId=207 2025-11-25 17:00:46.3559|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 17:00:46.3559|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6.8228ms 204 2025-11-25 17:00:46.3559|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/Admin/GetAllUsersByCorporateId?corporateId=207 2025-11-25 17:00:46.3559|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 17:00:46.3559|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.GetAllUsersByCorporateId (Authentication)' 2025-11-25 17:00:46.3734|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllUsersByCorporateId", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllUsersByCorporateId(Int64) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 17:00:46.3734|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 17:00:46.4235|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (42ms) [Parameters=[@__corporateId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[UserTypeId] = @__corporateId_0 2025-11-25 17:00:46.4235|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[Authentication.Data.Models.Identity.UserBindingModel, Authentication.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2025-11-25 17:00:46.4344|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.GetAllUsersByCorporateId (Authentication) in 57.8795ms 2025-11-25 17:00:46.4344|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.GetAllUsersByCorporateId (Authentication)' 2025-11-25 17:00:46.4344|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 75.2932ms 200 application/json; charset=utf-8 2025-11-25 17:06:02.0429|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=qQSZZDXAk8rGAdr50gi21jQQLqCYBc3U03x121R32zg= 2025-11-25 17:06:02.0454|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 17:06:02.0454|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=qQSZZDXAk8rGAdr50gi21jQQLqCYBc3U03x121R32zg= 2025-11-25 17:06:02.0454|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 4.7256ms 204 2025-11-25 17:06:02.0454|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 17:06:02.0454|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 5.0038ms 204 2025-11-25 17:06:02.0454|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=qQSZZDXAk8rGAdr50gi21jQQLqCYBc3U03x121R32zg= 0 2025-11-25 17:06:02.0454|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 17:06:02.0454|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 17:06:02.0454|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=qQSZZDXAk8rGAdr50gi21jQQLqCYBc3U03x121R32zg= 0 2025-11-25 17:06:02.0454|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "RefreshToken", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] RefreshToken(System.String) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 17:06:02.0454|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 17:06:02.0454|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=qQSZZDXAk8rGAdr50gi21jQQLqCYBc3U03x121R32zg= 0 2025-11-25 17:06:02.0454|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=qQSZZDXAk8rGAdr50gi21jQQLqCYBc3U03x121R32zg= 0 2025-11-25 17:06:02.0454|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=qQSZZDXAk8rGAdr50gi21jQQLqCYBc3U03x121R32zg= 0 2025-11-25 17:06:02.0609|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 17:06:02.0609|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 17:06:02.0609|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 17:06:02.0609|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 17:06:02.0609|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 17:06:02.0609|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "RefreshToken", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] RefreshToken(System.String) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 17:06:02.0609|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 17:06:02.0609|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 17:06:02.0609|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 17:06:02.0609|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "RefreshToken", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] RefreshToken(System.String) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 17:06:02.0609|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 17:06:02.0609|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "RefreshToken", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] RefreshToken(System.String) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 17:06:02.0761|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "RefreshToken", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] RefreshToken(System.String) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 17:06:02.0761|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 17:06:02.0761|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 17:06:02.0761|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 17:06:02.0761|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (13ms) [Parameters=[@__Token_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE [u].[Token] = @__Token_0 2025-11-25 17:06:02.0922|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'Microsoft.AspNetCore.Mvc.ProblemDetails'. 2025-11-25 17:06:02.0922|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (13ms) [Parameters=[@__Token_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE [u].[Token] = @__Token_0 2025-11-25 17:06:02.0922|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'Microsoft.AspNetCore.Mvc.ProblemDetails'. 2025-11-25 17:06:02.0922|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (12ms) [Parameters=[@__Token_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE [u].[Token] = @__Token_0 2025-11-25 17:06:02.0922|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'Microsoft.AspNetCore.Mvc.ProblemDetails'. 2025-11-25 17:06:02.1094|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.RefreshToken (Authentication) in 49.953ms 2025-11-25 17:06:02.1094|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 17:06:02.1094|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.RefreshToken (Authentication) in 30.5488ms 2025-11-25 17:06:02.1094|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (17ms) [Parameters=[@__Token_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE [u].[Token] = @__Token_0 2025-11-25 17:06:02.1094|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.RefreshToken (Authentication) in 36.58ms 2025-11-25 17:06:02.1094|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 17:06:02.1094|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 17:06:02.1094|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'Microsoft.AspNetCore.Mvc.ProblemDetails'. 2025-11-25 17:06:02.1094|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 60.8778ms 401 application/problem+json; charset=utf-8 2025-11-25 17:06:02.1094|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 64.0145ms 401 application/problem+json; charset=utf-8 2025-11-25 17:06:02.1094|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 62.5838ms 401 application/problem+json; charset=utf-8 2025-11-25 17:06:02.1236|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.RefreshToken (Authentication) in 46.3725ms 2025-11-25 17:06:02.1236|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 17:06:02.1236|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (25ms) [Parameters=[@__Token_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE [u].[Token] = @__Token_0 2025-11-25 17:06:02.1236|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 71.9465ms 401 application/problem+json; charset=utf-8 2025-11-25 17:06:02.1236|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'Microsoft.AspNetCore.Mvc.ProblemDetails'. 2025-11-25 17:06:02.1236|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.RefreshToken (Authentication) in 55.41ms 2025-11-25 17:06:02.1236|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 17:06:02.1393|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 79.8537ms 401 application/problem+json; charset=utf-8 2025-11-25 17:06:08.5667|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignIn 2025-11-25 17:06:08.5667|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 17:06:08.5667|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 8.8643ms 204 2025-11-25 17:06:08.5817|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignIn application/json 62 2025-11-25 17:06:08.5817|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 17:06:08.5817|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.SignIn (Authentication)' 2025-11-25 17:06:08.5817|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "SignIn", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] SignIn(Authentication.Data.Models.Identity.AuthBindingModel) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 17:06:08.5918|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 17:06:08.5918|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (3ms) [Parameters=[@__ToLower_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE LOWER([a].[UserName]) = @__ToLower_0 2025-11-25 17:06:08.5918|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__checkUser_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__checkUser_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) ORDER BY [u].[Id] DESC 2025-11-25 17:06:08.6130|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[NormalizedUserName] = @__normalizedUserName_0 2025-11-25 17:06:08.6252|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (3ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[ClaimType], [a].[ClaimValue], [a].[Discriminator], [a].[UserId] FROM [AspNetUserClaims] AS [a] WHERE [a].[Discriminator] IN (N'IdentityUserClaim', N'UserClaim') AND ([a].[UserId] = @__user_Id_0) 2025-11-25 17:06:08.6252|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 17:06:08.6252|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (3ms) [Parameters=[@__normalizedName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[InstitutionId], [a].[IsActive], [a].[Name], [a].[NormalizedName], [a].[UpdatedBy], [a].[UserType] FROM [AspNetRoles] AS [a] WHERE [a].[NormalizedName] = @__normalizedName_0 2025-11-25 17:06:08.6408|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__role_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[ClaimType], [a].[ClaimValue] FROM [AspNetRoleClaims] AS [a] WHERE [a].[RoleId] = @__role_Id_0 2025-11-25 17:06:08.6408|10|INFO|Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationHandler|AuthenticationScheme: Identity.Application signed in. 2025-11-25 17:06:08.6408|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[NormalizedUserName] = @__normalizedUserName_0 2025-11-25 17:06:08.6408|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 17:06:08.6599|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [p].[Code] FROM [UserPermissions] AS [u] INNER JOIN [Permissions] AS [p] ON [u].[PermissionId] = [p].[Id] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 17:06:08.6774|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (12ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 17:06:08.6875|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@p6='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [UserToken] SET [DateCreated] = @p0, [ExpiryDate] = @p1, [IsActive] = @p2, [SessionExpiryDate] = @p3, [Token] = @p4, [UserId] = @p5 WHERE [Id] = @p6; SELECT @@ROWCOUNT; 2025-11-25 17:06:08.6875|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; INSERT INTO [UserToken] ([DateCreated], [ExpiryDate], [IsActive], [SessionExpiryDate], [Token], [UserId]) VALUES (@p0, @p1, @p2, @p3, @p4, @p5); SELECT [Id] FROM [UserToken] WHERE @@ROWCOUNT = 1 AND [Id] = scope_identity(); 2025-11-25 17:06:08.7047|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 17:06:08.7047||INFO|Authentication.Controllers.AccountController|userabconteh@MOF role is gotten 2025-11-25 17:06:08.7047|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [u].[Id], [u].[CreatedBy], [u].[DateCreated], [u].[DateUpdated], [u].[IsActive], [u].[IsDeleted], [u].[PermissionId], [u].[RowVersion], [u].[UpdatedBy], [u].[UserId] FROM [UserPermissions] AS [u] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 17:06:08.7193|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 17:06:08.7193|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 17:06:08.7193|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 17:06:08.7193|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 17:06:08.7193|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 17:06:08.7193|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 17:06:08.7337|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 17:06:08.7337|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 17:06:08.7337|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 17:06:08.7337||INFO|Authentication.Controllers.AccountController|user abconteh@MOF is signin but about to call corporate service 2025-11-25 17:06:08.8036|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'AuditTrailUtility.Utility.SaveResponse'. 2025-11-25 17:06:08.8036|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.SignIn (Authentication) in 218.5811ms 2025-11-25 17:06:08.8111|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.SignIn (Authentication)' 2025-11-25 17:06:08.8111|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 232.3751ms 200 application/json; charset=utf-8 2025-11-25 17:06:08.8659|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/Admin/GetAllUsersByCorporateId?corporateId=207 2025-11-25 17:06:08.8659|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 17:06:08.8659|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 5.0903ms 204 2025-11-25 17:06:08.8754|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/Admin/GetAllUsersByCorporateId?corporateId=207 2025-11-25 17:06:08.8754|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 17:06:08.8754|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.GetAllUsersByCorporateId (Authentication)' 2025-11-25 17:06:08.8754|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllUsersByCorporateId", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllUsersByCorporateId(Int64) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 17:06:08.8754|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 17:06:08.8903|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__corporateId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[UserTypeId] = @__corporateId_0 2025-11-25 17:06:08.8903|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[Authentication.Data.Models.Identity.UserBindingModel, Authentication.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2025-11-25 17:06:08.8903|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.GetAllUsersByCorporateId (Authentication) in 17.4313ms 2025-11-25 17:06:08.8903|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.GetAllUsersByCorporateId (Authentication)' 2025-11-25 17:06:08.9129|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 37.4633ms 200 application/json; charset=utf-8 2025-11-25 17:06:55.3894|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignOut/492 2025-11-25 17:06:55.3894|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 17:06:55.3969|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 7.4773ms 204 2025-11-25 17:06:55.3969|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignOut/492 2025-11-25 17:06:55.3969|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 17:06:55.3969|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.SignOut (Authentication)' 2025-11-25 17:06:55.4191|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "SignOut", controller = "Account"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult SignOut(Int64) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 17:06:55.4191|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 17:06:55.4450|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (13ms) [Parameters=[@__UserId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__UserId_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 17:06:55.4450|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p6='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [UserToken] SET [DateCreated] = @p0, [ExpiryDate] = @p1, [IsActive] = @p2, [SessionExpiryDate] = @p3, [Token] = @p4, [UserId] = @p5 WHERE [Id] = @p6; SELECT @@ROWCOUNT; 2025-11-25 17:06:55.4450|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'AuditTrailUtility.Utility.SaveResponse'. 2025-11-25 17:06:55.4450|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.SignOut (Authentication) in 35.7117ms 2025-11-25 17:06:55.4450|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.SignOut (Authentication)' 2025-11-25 17:06:55.4450|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 53.717ms 200 application/json; charset=utf-8 2025-11-25 17:22:13.2339|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=CmlceuMGn0jjsd0aXhfxqR/h1oC7lYkJCDU4Olk9wqk= 2025-11-25 17:22:13.2378|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 17:22:13.2378|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6.6212ms 204 2025-11-25 17:22:13.2378|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=CmlceuMGn0jjsd0aXhfxqR/h1oC7lYkJCDU4Olk9wqk= 0 2025-11-25 17:22:13.2378|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 17:22:13.2378|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 17:22:13.2541|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "RefreshToken", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] RefreshToken(System.String) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 17:22:13.2541|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 17:22:13.3018|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (25ms) [Parameters=[@__Token_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE [u].[Token] = @__Token_0 2025-11-25 17:22:13.3018|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'Microsoft.AspNetCore.Mvc.ProblemDetails'. 2025-11-25 17:22:13.3018|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.RefreshToken (Authentication) in 55.0214ms 2025-11-25 17:22:13.3018|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 17:22:13.3018|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 66.4031ms 401 application/problem+json; charset=utf-8 2025-11-25 17:22:25.9360|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignIn 2025-11-25 17:22:25.9402|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 17:22:25.9402|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 7.2354ms 204 2025-11-25 17:22:25.9402|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignIn application/json 60 2025-11-25 17:22:25.9402|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 17:22:25.9402|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.SignIn (Authentication)' 2025-11-25 17:22:25.9569|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "SignIn", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] SignIn(Authentication.Data.Models.Identity.AuthBindingModel) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 17:22:25.9569|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 17:22:25.9569|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__ToLower_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE LOWER([a].[UserName]) = @__ToLower_0 2025-11-25 17:22:25.9725|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__checkUser_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__checkUser_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) ORDER BY [u].[Id] DESC 2025-11-25 17:22:25.9725|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (3ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[NormalizedUserName] = @__normalizedUserName_0 2025-11-25 17:22:25.9878|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[ClaimType], [a].[ClaimValue], [a].[Discriminator], [a].[UserId] FROM [AspNetUserClaims] AS [a] WHERE [a].[Discriminator] IN (N'IdentityUserClaim', N'UserClaim') AND ([a].[UserId] = @__user_Id_0) 2025-11-25 17:22:25.9878|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 17:22:25.9878|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__normalizedName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[InstitutionId], [a].[IsActive], [a].[Name], [a].[NormalizedName], [a].[UpdatedBy], [a].[UserType] FROM [AspNetRoles] AS [a] WHERE [a].[NormalizedName] = @__normalizedName_0 2025-11-25 17:22:25.9878|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__role_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[ClaimType], [a].[ClaimValue] FROM [AspNetRoleClaims] AS [a] WHERE [a].[RoleId] = @__role_Id_0 2025-11-25 17:22:26.0044|10|INFO|Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationHandler|AuthenticationScheme: Identity.Application signed in. 2025-11-25 17:22:26.0044|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[NormalizedUserName] = @__normalizedUserName_0 2025-11-25 17:22:26.0323|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 17:22:26.0411|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [p].[Code] FROM [UserPermissions] AS [u] INNER JOIN [Permissions] AS [p] ON [u].[PermissionId] = [p].[Id] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 17:22:26.0585|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (10ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 17:22:26.0686|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p6='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [UserToken] SET [DateCreated] = @p0, [ExpiryDate] = @p1, [IsActive] = @p2, [SessionExpiryDate] = @p3, [Token] = @p4, [UserId] = @p5 WHERE [Id] = @p6; SELECT @@ROWCOUNT; 2025-11-25 17:22:26.0686|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; INSERT INTO [UserToken] ([DateCreated], [ExpiryDate], [IsActive], [SessionExpiryDate], [Token], [UserId]) VALUES (@p0, @p1, @p2, @p3, @p4, @p5); SELECT [Id] FROM [UserToken] WHERE @@ROWCOUNT = 1 AND [Id] = scope_identity(); 2025-11-25 17:22:26.0885|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 17:22:26.0885||INFO|Authentication.Controllers.AccountController|userlcaulker@MOF role is gotten 2025-11-25 17:22:26.0996|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [u].[Id], [u].[CreatedBy], [u].[DateCreated], [u].[DateUpdated], [u].[IsActive], [u].[IsDeleted], [u].[PermissionId], [u].[RowVersion], [u].[UpdatedBy], [u].[UserId] FROM [UserPermissions] AS [u] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 17:22:26.0996|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 17:22:26.0996|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 17:22:26.1123|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 17:22:26.1123|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 17:22:26.1123|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 17:22:26.1123|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 17:22:26.1123|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (0ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 17:22:26.1123|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (0ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 17:22:26.1123|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 17:22:26.1280||INFO|Authentication.Controllers.AccountController|user lcaulker@MOF is signin but about to call corporate service 2025-11-25 17:22:26.1928|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'AuditTrailUtility.Utility.SaveResponse'. 2025-11-25 17:22:26.1928|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.SignIn (Authentication) in 237.7236ms 2025-11-25 17:22:26.1928|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.SignIn (Authentication)' 2025-11-25 17:22:26.1928|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 249.083ms 200 application/json; charset=utf-8 2025-11-25 17:22:26.2875|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/Admin/GetAllUsersByCorporateId?corporateId=207 2025-11-25 17:22:26.2875|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 17:22:26.2875|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 5.5726ms 204 2025-11-25 17:22:26.3051|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/Admin/GetAllUsersByCorporateId?corporateId=207 2025-11-25 17:22:26.3051|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 17:22:26.3051|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.GetAllUsersByCorporateId (Authentication)' 2025-11-25 17:22:26.3051|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllUsersByCorporateId", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllUsersByCorporateId(Int64) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 17:22:26.3162|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 17:22:26.3162|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__corporateId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[UserTypeId] = @__corporateId_0 2025-11-25 17:22:26.3162|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[Authentication.Data.Models.Identity.UserBindingModel, Authentication.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2025-11-25 17:22:26.3162|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.GetAllUsersByCorporateId (Authentication) in 10.887ms 2025-11-25 17:22:26.3162|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.GetAllUsersByCorporateId (Authentication)' 2025-11-25 17:22:26.3162|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 22.782ms 200 application/json; charset=utf-8 2025-11-25 17:22:46.7387|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignIn 2025-11-25 17:22:46.7387|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 17:22:46.7387|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 5.3785ms 204 2025-11-25 17:22:46.7507|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignIn application/json 59 2025-11-25 17:22:46.7507|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 17:22:46.7507|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.SignIn (Authentication)' 2025-11-25 17:22:46.7507|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "SignIn", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] SignIn(Authentication.Data.Models.Identity.AuthBindingModel) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 17:22:46.7507|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 17:22:46.7680|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__ToLower_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE LOWER([a].[UserName]) = @__ToLower_0 2025-11-25 17:22:46.7834|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (13ms) [Parameters=[@__checkUser_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__checkUser_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) ORDER BY [u].[Id] DESC 2025-11-25 17:22:46.7834|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[NormalizedUserName] = @__normalizedUserName_0 2025-11-25 17:22:46.8065|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[ClaimType], [a].[ClaimValue], [a].[Discriminator], [a].[UserId] FROM [AspNetUserClaims] AS [a] WHERE [a].[Discriminator] IN (N'IdentityUserClaim', N'UserClaim') AND ([a].[UserId] = @__user_Id_0) 2025-11-25 17:22:46.8108|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 17:22:46.8108|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__normalizedName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[InstitutionId], [a].[IsActive], [a].[Name], [a].[NormalizedName], [a].[UpdatedBy], [a].[UserType] FROM [AspNetRoles] AS [a] WHERE [a].[NormalizedName] = @__normalizedName_0 2025-11-25 17:22:46.8108|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__role_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[ClaimType], [a].[ClaimValue] FROM [AspNetRoleClaims] AS [a] WHERE [a].[RoleId] = @__role_Id_0 2025-11-25 17:22:46.8108|10|INFO|Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationHandler|AuthenticationScheme: Identity.Application signed in. 2025-11-25 17:22:46.8108|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[NormalizedUserName] = @__normalizedUserName_0 2025-11-25 17:22:46.8270|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 17:22:46.8270|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [p].[Code] FROM [UserPermissions] AS [u] INNER JOIN [Permissions] AS [p] ON [u].[PermissionId] = [p].[Id] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 17:22:46.8440|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (12ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 17:22:46.8440|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; INSERT INTO [UserToken] ([DateCreated], [ExpiryDate], [IsActive], [SessionExpiryDate], [Token], [UserId]) VALUES (@p0, @p1, @p2, @p3, @p4, @p5); SELECT [Id] FROM [UserToken] WHERE @@ROWCOUNT = 1 AND [Id] = scope_identity(); 2025-11-25 17:22:46.8581|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 17:22:46.8581||INFO|Authentication.Controllers.AccountController|userrcoker@MOF role is gotten 2025-11-25 17:22:46.8581|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [u].[Id], [u].[CreatedBy], [u].[DateCreated], [u].[DateUpdated], [u].[IsActive], [u].[IsDeleted], [u].[PermissionId], [u].[RowVersion], [u].[UpdatedBy], [u].[UserId] FROM [UserPermissions] AS [u] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 17:22:46.8581|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 17:22:46.8581|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 17:22:46.8734|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 17:22:46.8734|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 17:22:46.8734|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 17:22:46.8734|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 17:22:46.8734|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 17:22:46.8734|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 17:22:46.8902|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (3ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 17:22:46.8902|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 17:22:46.8902||INFO|Authentication.Controllers.AccountController|user rcoker@MOF is signin but about to call corporate service 2025-11-25 17:22:46.9520|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'AuditTrailUtility.Utility.SaveResponse'. 2025-11-25 17:22:46.9520|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.SignIn (Authentication) in 198.0738ms 2025-11-25 17:22:46.9520|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.SignIn (Authentication)' 2025-11-25 17:22:46.9520|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 210.5744ms 200 application/json; charset=utf-8 2025-11-25 17:22:47.0253|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/Admin/GetAllUsersByCorporateId?corporateId=207 2025-11-25 17:22:47.0290|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 17:22:47.0290|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 8.5507ms 204 2025-11-25 17:22:47.0290|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/Admin/GetAllUsersByCorporateId?corporateId=207 2025-11-25 17:22:47.0444|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 17:22:47.0444|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.GetAllUsersByCorporateId (Authentication)' 2025-11-25 17:22:47.0444|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllUsersByCorporateId", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllUsersByCorporateId(Int64) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 17:22:47.0444|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 17:22:47.0444|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__corporateId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[UserTypeId] = @__corporateId_0 2025-11-25 17:22:47.0636|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[Authentication.Data.Models.Identity.UserBindingModel, Authentication.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2025-11-25 17:22:47.0636|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.GetAllUsersByCorporateId (Authentication) in 13.1784ms 2025-11-25 17:22:47.0636|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.GetAllUsersByCorporateId (Authentication)' 2025-11-25 17:22:47.0636|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 28.7557ms 200 application/json; charset=utf-8 2025-11-25 17:23:20.4415|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignOut/495 2025-11-25 17:23:20.4442|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 17:23:20.4442|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 4.977ms 204 2025-11-25 17:23:20.4442|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignOut/495 2025-11-25 17:23:20.4442|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 17:23:20.4597|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.SignOut (Authentication)' 2025-11-25 17:23:20.4597|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "SignOut", controller = "Account"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult SignOut(Int64) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 17:23:20.4597|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 17:23:20.4740|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (6ms) [Parameters=[@__UserId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__UserId_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 17:23:20.4740|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p6='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [UserToken] SET [DateCreated] = @p0, [ExpiryDate] = @p1, [IsActive] = @p2, [SessionExpiryDate] = @p3, [Token] = @p4, [UserId] = @p5 WHERE [Id] = @p6; SELECT @@ROWCOUNT; 2025-11-25 17:23:20.4740|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'AuditTrailUtility.Utility.SaveResponse'. 2025-11-25 17:23:20.4740|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.SignOut (Authentication) in 21.8609ms 2025-11-25 17:23:20.4740|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.SignOut (Authentication)' 2025-11-25 17:23:20.4740|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 34.0085ms 200 application/json; charset=utf-8 2025-11-25 17:24:21.0319|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignOut/518 2025-11-25 17:24:21.0354|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 17:24:21.0354|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6.0009ms 204 2025-11-25 17:24:21.0354|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignOut/518 2025-11-25 17:24:21.0354|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 17:24:21.0354|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.SignOut (Authentication)' 2025-11-25 17:24:21.0354|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "SignOut", controller = "Account"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult SignOut(Int64) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 17:24:21.0354|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 17:24:21.0586|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (7ms) [Parameters=[@__UserId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__UserId_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 17:24:21.0671|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p6='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [UserToken] SET [DateCreated] = @p0, [ExpiryDate] = @p1, [IsActive] = @p2, [SessionExpiryDate] = @p3, [Token] = @p4, [UserId] = @p5 WHERE [Id] = @p6; SELECT @@ROWCOUNT; 2025-11-25 17:24:21.0671|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'AuditTrailUtility.Utility.SaveResponse'. 2025-11-25 17:24:21.0671|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.SignOut (Authentication) in 24.9891ms 2025-11-25 17:24:21.0671|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.SignOut (Authentication)' 2025-11-25 17:24:21.0671|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 32.2958ms 200 application/json; charset=utf-8 2025-11-25 17:24:26.2045|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignOut/492 2025-11-25 17:24:26.2080|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 17:24:26.2080|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6.0616ms 204 2025-11-25 17:24:26.2080|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignOut/492 2025-11-25 17:24:26.2080|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 17:24:26.2080|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.SignOut (Authentication)' 2025-11-25 17:24:26.2231|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "SignOut", controller = "Account"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult SignOut(Int64) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 17:24:26.2231|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 17:24:26.2231|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (9ms) [Parameters=[@__UserId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__UserId_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 17:24:26.2433|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p6='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [UserToken] SET [DateCreated] = @p0, [ExpiryDate] = @p1, [IsActive] = @p2, [SessionExpiryDate] = @p3, [Token] = @p4, [UserId] = @p5 WHERE [Id] = @p6; SELECT @@ROWCOUNT; 2025-11-25 17:24:26.2433|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'AuditTrailUtility.Utility.SaveResponse'. 2025-11-25 17:24:26.2433|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.SignOut (Authentication) in 25.8515ms 2025-11-25 17:24:26.2433|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.SignOut (Authentication)' 2025-11-25 17:24:26.2433|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 33.8169ms 200 application/json; charset=utf-8 2025-11-25 17:30:56.2685|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=e6j0rDwzYd/7AybTHGXbmZCaV7x4V8IRaA179ObEaq0= 2025-11-25 17:30:56.2685|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=e6j0rDwzYd/7AybTHGXbmZCaV7x4V8IRaA179ObEaq0= 2025-11-25 17:30:56.2697|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=e6j0rDwzYd/7AybTHGXbmZCaV7x4V8IRaA179ObEaq0= 2025-11-25 17:30:56.2697|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 17:30:56.2697|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=e6j0rDwzYd/7AybTHGXbmZCaV7x4V8IRaA179ObEaq0= 2025-11-25 17:30:56.2697|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=e6j0rDwzYd/7AybTHGXbmZCaV7x4V8IRaA179ObEaq0= 2025-11-25 17:30:56.2697|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 17:30:56.2697|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 17:30:56.2697|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 4.367ms 204 2025-11-25 17:30:56.2697|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 17:30:56.2697|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 17:30:56.2697|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6.0749ms 204 2025-11-25 17:30:56.2697|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6.1179ms 204 2025-11-25 17:30:56.2697|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=e6j0rDwzYd/7AybTHGXbmZCaV7x4V8IRaA179ObEaq0= 0 2025-11-25 17:30:56.2697|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 7.1295ms 204 2025-11-25 17:30:56.2697|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 7.2918ms 204 2025-11-25 17:30:56.2697|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=e6j0rDwzYd/7AybTHGXbmZCaV7x4V8IRaA179ObEaq0= 0 2025-11-25 17:30:56.2697|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=e6j0rDwzYd/7AybTHGXbmZCaV7x4V8IRaA179ObEaq0= 0 2025-11-25 17:30:56.2697|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 17:30:56.2697|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=e6j0rDwzYd/7AybTHGXbmZCaV7x4V8IRaA179ObEaq0= 0 2025-11-25 17:30:56.2697|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=e6j0rDwzYd/7AybTHGXbmZCaV7x4V8IRaA179ObEaq0= 0 2025-11-25 17:30:56.2697|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 17:30:56.2697|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 17:30:56.2697|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 17:30:56.2697|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 17:30:56.2850|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 17:30:56.2850|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 17:30:56.2850|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 17:30:56.2850|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "RefreshToken", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] RefreshToken(System.String) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 17:30:56.2850|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 17:30:56.2850|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 17:30:56.2850|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "RefreshToken", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] RefreshToken(System.String) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 17:30:56.2850|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "RefreshToken", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] RefreshToken(System.String) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 17:30:56.2850|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "RefreshToken", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] RefreshToken(System.String) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 17:30:56.2850|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 17:30:56.2850|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "RefreshToken", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] RefreshToken(System.String) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 17:30:56.2850|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 17:30:56.2850|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 17:30:56.2850|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 17:30:56.2850|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 17:30:56.3182|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (14ms) [Parameters=[@__Token_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE [u].[Token] = @__Token_0 2025-11-25 17:30:56.3182|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'Microsoft.AspNetCore.Mvc.ProblemDetails'. 2025-11-25 17:30:56.3182|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.RefreshToken (Authentication) in 29.6374ms 2025-11-25 17:30:56.3182|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (21ms) [Parameters=[@__Token_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE [u].[Token] = @__Token_0 2025-11-25 17:30:56.3182|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 17:30:56.3182|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'Microsoft.AspNetCore.Mvc.ProblemDetails'. 2025-11-25 17:30:56.3182|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 44.2614ms 401 application/problem+json; charset=utf-8 2025-11-25 17:30:56.3182|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.RefreshToken (Authentication) in 34.3486ms 2025-11-25 17:30:56.3182|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 17:30:56.3182|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 48.9731ms 401 application/problem+json; charset=utf-8 2025-11-25 17:30:56.3182|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (11ms) [Parameters=[@__Token_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE [u].[Token] = @__Token_0 2025-11-25 17:30:56.3182|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (17ms) [Parameters=[@__Token_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE [u].[Token] = @__Token_0 2025-11-25 17:30:56.3182|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'Microsoft.AspNetCore.Mvc.ProblemDetails'. 2025-11-25 17:30:56.3182|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'Microsoft.AspNetCore.Mvc.ProblemDetails'. 2025-11-25 17:30:56.3182|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.RefreshToken (Authentication) in 35.769ms 2025-11-25 17:30:56.3182|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.RefreshToken (Authentication) in 37.0022ms 2025-11-25 17:30:56.3182|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 17:30:56.3182|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 17:30:56.3182|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 49.7356ms 401 application/problem+json; charset=utf-8 2025-11-25 17:30:56.3182|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 51.9397ms 401 application/problem+json; charset=utf-8 2025-11-25 17:30:56.3401|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (21ms) [Parameters=[@__Token_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE [u].[Token] = @__Token_0 2025-11-25 17:30:56.3401|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'Microsoft.AspNetCore.Mvc.ProblemDetails'. 2025-11-25 17:30:56.3401|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.RefreshToken (Authentication) in 48.6838ms 2025-11-25 17:30:56.3401|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 17:30:56.3401|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 62.2331ms 401 application/problem+json; charset=utf-8 2025-11-25 17:31:07.0403|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignIn 2025-11-25 17:31:07.0403|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 17:31:07.0403|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6.2239ms 204 2025-11-25 17:31:07.0528|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignIn application/json 60 2025-11-25 17:31:07.0528|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 17:31:07.0528|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.SignIn (Authentication)' 2025-11-25 17:31:07.0528|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "SignIn", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] SignIn(Authentication.Data.Models.Identity.AuthBindingModel) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 17:31:07.0528|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 17:31:07.0686|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__ToLower_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE LOWER([a].[UserName]) = @__ToLower_0 2025-11-25 17:31:07.0686|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__checkUser_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__checkUser_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) ORDER BY [u].[Id] DESC 2025-11-25 17:31:07.0686|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[NormalizedUserName] = @__normalizedUserName_0 2025-11-25 17:31:07.0686|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[ClaimType], [a].[ClaimValue], [a].[Discriminator], [a].[UserId] FROM [AspNetUserClaims] AS [a] WHERE [a].[Discriminator] IN (N'IdentityUserClaim', N'UserClaim') AND ([a].[UserId] = @__user_Id_0) 2025-11-25 17:31:07.0839|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 17:31:07.0839|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__normalizedName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[InstitutionId], [a].[IsActive], [a].[Name], [a].[NormalizedName], [a].[UpdatedBy], [a].[UserType] FROM [AspNetRoles] AS [a] WHERE [a].[NormalizedName] = @__normalizedName_0 2025-11-25 17:31:07.0839|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__role_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[ClaimType], [a].[ClaimValue] FROM [AspNetRoleClaims] AS [a] WHERE [a].[RoleId] = @__role_Id_0 2025-11-25 17:31:07.0839|10|INFO|Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationHandler|AuthenticationScheme: Identity.Application signed in. 2025-11-25 17:31:07.0839|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (5ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[NormalizedUserName] = @__normalizedUserName_0 2025-11-25 17:31:07.1124|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 17:31:07.1190|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [p].[Code] FROM [UserPermissions] AS [u] INNER JOIN [Permissions] AS [p] ON [u].[PermissionId] = [p].[Id] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 17:31:07.1343|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (11ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 17:31:07.1343|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p6='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [UserToken] SET [DateCreated] = @p0, [ExpiryDate] = @p1, [IsActive] = @p2, [SessionExpiryDate] = @p3, [Token] = @p4, [UserId] = @p5 WHERE [Id] = @p6; SELECT @@ROWCOUNT; 2025-11-25 17:31:07.1491|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; INSERT INTO [UserToken] ([DateCreated], [ExpiryDate], [IsActive], [SessionExpiryDate], [Token], [UserId]) VALUES (@p0, @p1, @p2, @p3, @p4, @p5); SELECT [Id] FROM [UserToken] WHERE @@ROWCOUNT = 1 AND [Id] = scope_identity(); 2025-11-25 17:31:07.1491|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 17:31:07.1491||INFO|Authentication.Controllers.AccountController|usersjalloh@MOF role is gotten 2025-11-25 17:31:07.1491|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [u].[Id], [u].[CreatedBy], [u].[DateCreated], [u].[DateUpdated], [u].[IsActive], [u].[IsDeleted], [u].[PermissionId], [u].[RowVersion], [u].[UpdatedBy], [u].[UserId] FROM [UserPermissions] AS [u] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 17:31:07.1630|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 17:31:07.1630|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 17:31:07.1630|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 17:31:07.1630|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 17:31:07.1630||INFO|Authentication.Controllers.AccountController|user sjalloh@MOF is signin but about to call corporate service 2025-11-25 17:31:07.2354|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'AuditTrailUtility.Utility.SaveResponse'. 2025-11-25 17:31:07.2400|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.SignIn (Authentication) in 177.3212ms 2025-11-25 17:31:07.2400|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.SignIn (Authentication)' 2025-11-25 17:31:07.2400|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 191.3727ms 200 application/json; charset=utf-8 2025-11-25 17:31:07.3078|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/Admin/GetAllUsersByCorporateId?corporateId=207 2025-11-25 17:31:07.3078|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 17:31:07.3078|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 7.8751ms 204 2025-11-25 17:31:07.3219|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/Admin/GetAllUsersByCorporateId?corporateId=207 2025-11-25 17:31:07.3219|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 17:31:07.3219|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.GetAllUsersByCorporateId (Authentication)' 2025-11-25 17:31:07.3219|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllUsersByCorporateId", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllUsersByCorporateId(Int64) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 17:31:07.3340|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 17:31:07.3806|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (44ms) [Parameters=[@__corporateId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[UserTypeId] = @__corporateId_0 2025-11-25 17:31:07.3806|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[Authentication.Data.Models.Identity.UserBindingModel, Authentication.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2025-11-25 17:31:07.3806|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.GetAllUsersByCorporateId (Authentication) in 53.7693ms 2025-11-25 17:31:07.3806|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.GetAllUsersByCorporateId (Authentication)' 2025-11-25 17:31:07.3806|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 67.9429ms 200 application/json; charset=utf-8 2025-11-25 17:49:16.3220|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignIn 2025-11-25 17:49:16.3220|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 17:49:16.3283|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6.3529ms 204 2025-11-25 17:49:16.3630|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignIn application/json 72 2025-11-25 17:49:16.3630|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 17:49:16.3630|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.SignIn (Authentication)' 2025-11-25 17:49:16.3630|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "SignIn", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] SignIn(Authentication.Data.Models.Identity.AuthBindingModel) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 17:49:16.3630|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 17:49:16.3857|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__ToLower_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE LOWER([a].[UserName]) = @__ToLower_0 2025-11-25 17:49:16.3908|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__checkUser_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__checkUser_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) ORDER BY [u].[Id] DESC 2025-11-25 17:49:16.3908|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[NormalizedUserName] = @__normalizedUserName_0 2025-11-25 17:49:16.3908|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[ClaimType], [a].[ClaimValue], [a].[Discriminator], [a].[UserId] FROM [AspNetUserClaims] AS [a] WHERE [a].[Discriminator] IN (N'IdentityUserClaim', N'UserClaim') AND ([a].[UserId] = @__user_Id_0) 2025-11-25 17:49:16.4071|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 17:49:16.4071|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__normalizedName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[InstitutionId], [a].[IsActive], [a].[Name], [a].[NormalizedName], [a].[UpdatedBy], [a].[UserType] FROM [AspNetRoles] AS [a] WHERE [a].[NormalizedName] = @__normalizedName_0 2025-11-25 17:49:16.4071|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__role_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[ClaimType], [a].[ClaimValue] FROM [AspNetRoleClaims] AS [a] WHERE [a].[RoleId] = @__role_Id_0 2025-11-25 17:49:16.4219|10|INFO|Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationHandler|AuthenticationScheme: Identity.Application signed in. 2025-11-25 17:49:16.4219|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (5ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[NormalizedUserName] = @__normalizedUserName_0 2025-11-25 17:49:16.4500|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 17:49:16.4569|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (3ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [p].[Code] FROM [UserPermissions] AS [u] INNER JOIN [Permissions] AS [p] ON [u].[PermissionId] = [p].[Id] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 17:49:16.4725|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (12ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 17:49:16.4725|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@p6='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [UserToken] SET [DateCreated] = @p0, [ExpiryDate] = @p1, [IsActive] = @p2, [SessionExpiryDate] = @p3, [Token] = @p4, [UserId] = @p5 WHERE [Id] = @p6; SELECT @@ROWCOUNT; 2025-11-25 17:49:16.4870|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; INSERT INTO [UserToken] ([DateCreated], [ExpiryDate], [IsActive], [SessionExpiryDate], [Token], [UserId]) VALUES (@p0, @p1, @p2, @p3, @p4, @p5); SELECT [Id] FROM [UserToken] WHERE @@ROWCOUNT = 1 AND [Id] = scope_identity(); 2025-11-25 17:49:16.4870|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 17:49:16.4870||INFO|Authentication.Controllers.AccountController|userjjsenessie@SLCS role is gotten 2025-11-25 17:49:16.4870|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [u].[Id], [u].[CreatedBy], [u].[DateCreated], [u].[DateUpdated], [u].[IsActive], [u].[IsDeleted], [u].[PermissionId], [u].[RowVersion], [u].[UpdatedBy], [u].[UserId] FROM [UserPermissions] AS [u] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 17:49:16.5003|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 17:49:16.5003|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 17:49:16.5003|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 17:49:16.5003|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 17:49:16.5396|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (28ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 17:49:16.5396|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 17:49:16.5396||INFO|Authentication.Controllers.AccountController|user jjsenessie@SLCS is signin but about to call corporate service 2025-11-25 17:49:16.5992|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'AuditTrailUtility.Utility.SaveResponse'. 2025-11-25 17:49:16.5992|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.SignIn (Authentication) in 233.4794ms 2025-11-25 17:49:16.5992|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.SignIn (Authentication)' 2025-11-25 17:49:16.5992|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 244.8792ms 200 application/json; charset=utf-8 2025-11-25 17:49:16.6667|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/Admin/GetAllUsersByCorporateId?corporateId=209 2025-11-25 17:49:16.6667|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 17:49:16.6714|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 4.698ms 204 2025-11-25 17:49:16.6935|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/Admin/GetAllUsersByCorporateId?corporateId=209 2025-11-25 17:49:16.6935|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 17:49:16.6935|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.GetAllUsersByCorporateId (Authentication)' 2025-11-25 17:49:16.7043|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllUsersByCorporateId", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllUsersByCorporateId(Int64) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 17:49:16.7043|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 17:49:16.7043|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__corporateId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[UserTypeId] = @__corporateId_0 2025-11-25 17:49:16.7043|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[Authentication.Data.Models.Identity.UserBindingModel, Authentication.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2025-11-25 17:49:16.7205|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.GetAllUsersByCorporateId (Authentication) in 14.6553ms 2025-11-25 17:49:16.7205|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.GetAllUsersByCorporateId (Authentication)' 2025-11-25 17:49:16.7205|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 29.3393ms 200 application/json; charset=utf-8 2025-11-25 17:52:32.1395|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=EvyKhYT3xq+U/3D2N8agsvIDKABzJiRDGG4fO+FkvXg= 2025-11-25 17:52:32.1395|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=EvyKhYT3xq+U/3D2N8agsvIDKABzJiRDGG4fO+FkvXg= 2025-11-25 17:52:32.1395|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 17:52:32.1395|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 17:52:32.1395|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 7.6249ms 204 2025-11-25 17:52:32.1484|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6.8391ms 204 2025-11-25 17:52:32.1484|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=EvyKhYT3xq+U/3D2N8agsvIDKABzJiRDGG4fO+FkvXg= 0 2025-11-25 17:52:32.1484|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=EvyKhYT3xq+U/3D2N8agsvIDKABzJiRDGG4fO+FkvXg= 0 2025-11-25 17:52:32.1484|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 17:52:32.1484|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 17:52:32.1484|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 17:52:32.1484|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 17:52:32.1484|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=EvyKhYT3xq+U/3D2N8agsvIDKABzJiRDGG4fO+FkvXg= 0 2025-11-25 17:52:32.1484|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "RefreshToken", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] RefreshToken(System.String) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 17:52:32.1484|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=EvyKhYT3xq+U/3D2N8agsvIDKABzJiRDGG4fO+FkvXg= 0 2025-11-25 17:52:32.1484|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=EvyKhYT3xq+U/3D2N8agsvIDKABzJiRDGG4fO+FkvXg= 0 2025-11-25 17:52:32.1484|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "RefreshToken", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] RefreshToken(System.String) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 17:52:32.1484|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 17:52:32.1654|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 17:52:32.1654|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 17:52:32.1654|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 17:52:32.1654|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 17:52:32.1654|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 17:52:32.1654|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 17:52:32.1654|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 17:52:32.1654|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "RefreshToken", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] RefreshToken(System.String) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 17:52:32.1654|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "RefreshToken", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] RefreshToken(System.String) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 17:52:32.1654|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "RefreshToken", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] RefreshToken(System.String) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 17:52:32.1796|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 17:52:32.1796|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 17:52:32.1796|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 17:52:32.1796|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (18ms) [Parameters=[@__Token_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE [u].[Token] = @__Token_0 2025-11-25 17:52:32.1796|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'Microsoft.AspNetCore.Mvc.ProblemDetails'. 2025-11-25 17:52:32.1796|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.RefreshToken (Authentication) in 27.6746ms 2025-11-25 17:52:32.1796|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 17:52:32.1962|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 44.8592ms 401 application/problem+json; charset=utf-8 2025-11-25 17:52:32.1962|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (19ms) [Parameters=[@__Token_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE [u].[Token] = @__Token_0 2025-11-25 17:52:32.1962|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (14ms) [Parameters=[@__Token_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE [u].[Token] = @__Token_0 2025-11-25 17:52:32.1962|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'Microsoft.AspNetCore.Mvc.ProblemDetails'. 2025-11-25 17:52:32.1962|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'Microsoft.AspNetCore.Mvc.ProblemDetails'. 2025-11-25 17:52:32.1962|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.RefreshToken (Authentication) in 40.9893ms 2025-11-25 17:52:32.1962|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (18ms) [Parameters=[@__Token_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE [u].[Token] = @__Token_0 2025-11-25 17:52:32.2115|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (13ms) [Parameters=[@__Token_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE [u].[Token] = @__Token_0 2025-11-25 17:52:32.2115|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.RefreshToken (Authentication) in 32.2362ms 2025-11-25 17:52:32.2115|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 17:52:32.2115|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'Microsoft.AspNetCore.Mvc.ProblemDetails'. 2025-11-25 17:52:32.2115|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'Microsoft.AspNetCore.Mvc.ProblemDetails'. 2025-11-25 17:52:32.2115|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 17:52:32.2115|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 69.8694ms 401 application/problem+json; charset=utf-8 2025-11-25 17:52:32.2115|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.RefreshToken (Authentication) in 45.844ms 2025-11-25 17:52:32.2267|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.RefreshToken (Authentication) in 45.5154ms 2025-11-25 17:52:32.2267|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 66.8794ms 401 application/problem+json; charset=utf-8 2025-11-25 17:52:32.2267|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 17:52:32.2267|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 17:52:32.2267|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 76.5878ms 401 application/problem+json; charset=utf-8 2025-11-25 17:52:32.2267|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 75.9591ms 401 application/problem+json; charset=utf-8 2025-11-25 17:52:46.2021|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=MwyiGtgrCMwLhi2Vh+fjZC+fkmUVsGxM3BInn5uyiO0= 2025-11-25 17:52:46.2021|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 17:52:46.2021|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 4.3059ms 204 2025-11-25 17:52:46.2118|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=MwyiGtgrCMwLhi2Vh+fjZC+fkmUVsGxM3BInn5uyiO0= 0 2025-11-25 17:52:46.2118|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 17:52:46.2118|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 17:52:46.2118|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "RefreshToken", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] RefreshToken(System.String) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 17:52:46.2118|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 17:52:46.2401|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (18ms) [Parameters=[@__Token_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE [u].[Token] = @__Token_0 2025-11-25 17:52:46.2429|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'Microsoft.AspNetCore.Mvc.ProblemDetails'. 2025-11-25 17:52:46.2429|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.RefreshToken (Authentication) in 24.5407ms 2025-11-25 17:52:46.2429|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 17:52:46.2429|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 35.2963ms 401 application/problem+json; charset=utf-8 2025-11-25 17:52:51.2313|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignIn 2025-11-25 17:52:51.2313|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 17:52:51.2313|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 3.8426ms 204 2025-11-25 17:52:51.2313|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignIn application/json 62 2025-11-25 17:52:51.2426|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 17:52:51.2426|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.SignIn (Authentication)' 2025-11-25 17:52:51.2426|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "SignIn", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] SignIn(Authentication.Data.Models.Identity.AuthBindingModel) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 17:52:51.2426|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 17:52:51.2426|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__ToLower_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE LOWER([a].[UserName]) = @__ToLower_0 2025-11-25 17:52:51.2589|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__checkUser_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__checkUser_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) ORDER BY [u].[Id] DESC 2025-11-25 17:52:51.2589|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[NormalizedUserName] = @__normalizedUserName_0 2025-11-25 17:52:51.2743|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[ClaimType], [a].[ClaimValue], [a].[Discriminator], [a].[UserId] FROM [AspNetUserClaims] AS [a] WHERE [a].[Discriminator] IN (N'IdentityUserClaim', N'UserClaim') AND ([a].[UserId] = @__user_Id_0) 2025-11-25 17:52:51.2743|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 17:52:51.2743|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__normalizedName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[InstitutionId], [a].[IsActive], [a].[Name], [a].[NormalizedName], [a].[UpdatedBy], [a].[UserType] FROM [AspNetRoles] AS [a] WHERE [a].[NormalizedName] = @__normalizedName_0 2025-11-25 17:52:51.2743|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__role_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[ClaimType], [a].[ClaimValue] FROM [AspNetRoleClaims] AS [a] WHERE [a].[RoleId] = @__role_Id_0 2025-11-25 17:52:51.2743|10|INFO|Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationHandler|AuthenticationScheme: Identity.Application signed in. 2025-11-25 17:52:51.2919|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[NormalizedUserName] = @__normalizedUserName_0 2025-11-25 17:52:51.2919|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 17:52:51.2919|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [p].[Code] FROM [UserPermissions] AS [u] INNER JOIN [Permissions] AS [p] ON [u].[PermissionId] = [p].[Id] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 17:52:51.3074|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (5ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 17:52:51.3074|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p6='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [UserToken] SET [DateCreated] = @p0, [ExpiryDate] = @p1, [IsActive] = @p2, [SessionExpiryDate] = @p3, [Token] = @p4, [UserId] = @p5 WHERE [Id] = @p6; SELECT @@ROWCOUNT; 2025-11-25 17:52:51.3203|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; INSERT INTO [UserToken] ([DateCreated], [ExpiryDate], [IsActive], [SessionExpiryDate], [Token], [UserId]) VALUES (@p0, @p1, @p2, @p3, @p4, @p5); SELECT [Id] FROM [UserToken] WHERE @@ROWCOUNT = 1 AND [Id] = scope_identity(); 2025-11-25 17:52:51.3203|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 17:52:51.3203||INFO|Authentication.Controllers.AccountController|userabconteh@MOF role is gotten 2025-11-25 17:52:51.3203|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [u].[Id], [u].[CreatedBy], [u].[DateCreated], [u].[DateUpdated], [u].[IsActive], [u].[IsDeleted], [u].[PermissionId], [u].[RowVersion], [u].[UpdatedBy], [u].[UserId] FROM [UserPermissions] AS [u] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 17:52:51.3203|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 17:52:51.3360|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 17:52:51.3360|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 17:52:51.3360|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 17:52:51.3360|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 17:52:51.3360|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 17:52:51.3360|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 17:52:51.3360|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 17:52:51.3360|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 17:52:51.3526||INFO|Authentication.Controllers.AccountController|user abconteh@MOF is signin but about to call corporate service 2025-11-25 17:52:51.4097|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'AuditTrailUtility.Utility.SaveResponse'. 2025-11-25 17:52:51.4097|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.SignIn (Authentication) in 164.0344ms 2025-11-25 17:52:51.4097|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.SignIn (Authentication)' 2025-11-25 17:52:51.4151|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 174.3567ms 200 application/json; charset=utf-8 2025-11-25 17:52:51.4641|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/Admin/GetAllUsersByCorporateId?corporateId=207 2025-11-25 17:52:51.4641|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 17:52:51.4641|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 4.4678ms 204 2025-11-25 17:52:51.4641|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/Admin/GetAllUsersByCorporateId?corporateId=207 2025-11-25 17:52:51.4773|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 17:52:51.4773|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.GetAllUsersByCorporateId (Authentication)' 2025-11-25 17:52:51.4773|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllUsersByCorporateId", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllUsersByCorporateId(Int64) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 17:52:51.4773|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 17:52:51.4773|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__corporateId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[UserTypeId] = @__corporateId_0 2025-11-25 17:52:51.4959|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[Authentication.Data.Models.Identity.UserBindingModel, Authentication.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2025-11-25 17:52:51.4959|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.GetAllUsersByCorporateId (Authentication) in 14.077ms 2025-11-25 17:52:51.4959|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.GetAllUsersByCorporateId (Authentication)' 2025-11-25 17:52:51.4959|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 25.5009ms 200 application/json; charset=utf-8 2025-11-25 17:54:12.4732|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignIn 2025-11-25 17:54:12.4732|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 17:54:12.4732|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 3.6681ms 204 2025-11-25 17:54:12.4732|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignIn application/json 60 2025-11-25 17:54:12.4732|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 17:54:12.4732|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.SignIn (Authentication)' 2025-11-25 17:54:12.4732|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "SignIn", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] SignIn(Authentication.Data.Models.Identity.AuthBindingModel) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 17:54:12.4882|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 17:54:12.4882|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__ToLower_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE LOWER([a].[UserName]) = @__ToLower_0 2025-11-25 17:54:12.4882|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__checkUser_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__checkUser_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) ORDER BY [u].[Id] DESC 2025-11-25 17:54:12.4882|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[NormalizedUserName] = @__normalizedUserName_0 2025-11-25 17:54:12.5088|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[ClaimType], [a].[ClaimValue], [a].[Discriminator], [a].[UserId] FROM [AspNetUserClaims] AS [a] WHERE [a].[Discriminator] IN (N'IdentityUserClaim', N'UserClaim') AND ([a].[UserId] = @__user_Id_0) 2025-11-25 17:54:12.5088|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 17:54:12.5088|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__normalizedName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[InstitutionId], [a].[IsActive], [a].[Name], [a].[NormalizedName], [a].[UpdatedBy], [a].[UserType] FROM [AspNetRoles] AS [a] WHERE [a].[NormalizedName] = @__normalizedName_0 2025-11-25 17:54:12.5088|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__role_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[ClaimType], [a].[ClaimValue] FROM [AspNetRoleClaims] AS [a] WHERE [a].[RoleId] = @__role_Id_0 2025-11-25 17:54:12.5190|10|INFO|Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationHandler|AuthenticationScheme: Identity.Application signed in. 2025-11-25 17:54:12.5190|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[NormalizedUserName] = @__normalizedUserName_0 2025-11-25 17:54:12.5190|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 17:54:12.5344|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [p].[Code] FROM [UserPermissions] AS [u] INNER JOIN [Permissions] AS [p] ON [u].[PermissionId] = [p].[Id] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 17:54:12.5344|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (4ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 17:54:12.5344|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p6='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [UserToken] SET [DateCreated] = @p0, [ExpiryDate] = @p1, [IsActive] = @p2, [SessionExpiryDate] = @p3, [Token] = @p4, [UserId] = @p5 WHERE [Id] = @p6; SELECT @@ROWCOUNT; 2025-11-25 17:54:12.5344|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; INSERT INTO [UserToken] ([DateCreated], [ExpiryDate], [IsActive], [SessionExpiryDate], [Token], [UserId]) VALUES (@p0, @p1, @p2, @p3, @p4, @p5); SELECT [Id] FROM [UserToken] WHERE @@ROWCOUNT = 1 AND [Id] = scope_identity(); 2025-11-25 17:54:12.5503|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 17:54:12.5503||INFO|Authentication.Controllers.AccountController|usersjalloh@MOF role is gotten 2025-11-25 17:54:12.5503|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [u].[Id], [u].[CreatedBy], [u].[DateCreated], [u].[DateUpdated], [u].[IsActive], [u].[IsDeleted], [u].[PermissionId], [u].[RowVersion], [u].[UpdatedBy], [u].[UserId] FROM [UserPermissions] AS [u] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 17:54:12.5503|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 17:54:12.5503|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (0ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 17:54:12.5503|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (0ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 17:54:12.5503|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (0ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 17:54:12.5503||INFO|Authentication.Controllers.AccountController|user sjalloh@MOF is signin but about to call corporate service 2025-11-25 17:54:12.6080|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'AuditTrailUtility.Utility.SaveResponse'. 2025-11-25 17:54:12.6119|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.SignIn (Authentication) in 124.3775ms 2025-11-25 17:54:12.6119|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.SignIn (Authentication)' 2025-11-25 17:54:12.6119|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 134.6788ms 200 application/json; charset=utf-8 2025-11-25 17:54:12.6865|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/Admin/GetAllUsersByCorporateId?corporateId=207 2025-11-25 17:54:12.6865|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 17:54:12.6916|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 5.1601ms 204 2025-11-25 17:54:12.6916|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/Admin/GetAllUsersByCorporateId?corporateId=207 2025-11-25 17:54:12.6916|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 17:54:12.6916|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.GetAllUsersByCorporateId (Authentication)' 2025-11-25 17:54:12.6916|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllUsersByCorporateId", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllUsersByCorporateId(Int64) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 17:54:12.6916|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 17:54:12.7080|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__corporateId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[UserTypeId] = @__corporateId_0 2025-11-25 17:54:12.7080|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[Authentication.Data.Models.Identity.UserBindingModel, Authentication.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2025-11-25 17:54:12.7080|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.GetAllUsersByCorporateId (Authentication) in 10.5493ms 2025-11-25 17:54:12.7080|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.GetAllUsersByCorporateId (Authentication)' 2025-11-25 17:54:12.7080|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 20.8184ms 200 application/json; charset=utf-8 2025-11-25 18:14:44.3280|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://127.0.0.1:26619/AUTHENTICATIONSERVICE/iisintegration 0 2025-11-25 18:14:44.3314|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 3.5354ms 202 2025-11-25 18:17:30.1455||DEBUG|Authentication.Program|init main function 2025-11-25 18:17:32.1800|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 18:17:32.4425|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (15ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT 1 2025-11-25 18:17:32.4642|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (12ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT OBJECT_ID(N'[__EFMigrationsHistory]'); 2025-11-25 18:17:32.4642|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT 1 2025-11-25 18:17:32.4733|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT OBJECT_ID(N'[__EFMigrationsHistory]'); 2025-11-25 18:17:32.4733|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT [MigrationId], [ProductVersion] FROM [__EFMigrationsHistory] ORDER BY [MigrationId]; 2025-11-25 18:17:32.5039|20405|INFO|Microsoft.EntityFrameworkCore.Migrations|No migrations were applied. The database is already up to date. 2025-11-25 18:17:32.6439||INFO|Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager|User profile not available. Using 'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ASP.NET\4.0.30319.0\AutoGenKeys\S-1-5-82-2404559740-2321761809-584227669-3522060946-2110276425\DataProtection' as key repository and Windows DPAPI to encrypt keys at rest. 2025-11-25 18:17:32.8153|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=mo7pk9FPbrjMMCfrp3SN6FWHZoOFLJusM9NG/MyxScQ= 2025-11-25 18:17:32.8455|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 18:17:32.8531|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 38.3387ms 204 2025-11-25 18:17:32.8786|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=mo7pk9FPbrjMMCfrp3SN6FWHZoOFLJusM9NG/MyxScQ= 0 2025-11-25 18:17:32.8786|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 18:17:32.8786|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 18:17:32.9248|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "RefreshToken", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] RefreshToken(System.String) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 18:17:32.9248|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 18:17:33.1409|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (43ms) [Parameters=[@__Token_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE [u].[Token] = @__Token_0 2025-11-25 18:17:33.2294|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (3ms) [Parameters=[@__p_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[Id] = @__p_0 2025-11-25 18:17:33.3481|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (14ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 18:17:33.3678|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [p].[Code] FROM [UserPermissions] AS [u] INNER JOIN [Permissions] AS [p] ON [u].[PermissionId] = [p].[Id] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 18:17:33.4706|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (12ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 18:17:33.5731|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (3ms) [Parameters=[@p6='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [UserToken] SET [DateCreated] = @p0, [ExpiryDate] = @p1, [IsActive] = @p2, [SessionExpiryDate] = @p3, [Token] = @p4, [UserId] = @p5 WHERE [Id] = @p6; SELECT @@ROWCOUNT; 2025-11-25 18:17:33.6262|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; INSERT INTO [UserToken] ([DateCreated], [ExpiryDate], [IsActive], [SessionExpiryDate], [Token], [UserId]) VALUES (@p0, @p1, @p2, @p3, @p4, @p5); SELECT [Id] FROM [UserToken] WHERE @@ROWCOUNT = 1 AND [Id] = scope_identity(); 2025-11-25 18:17:33.6566|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'Authentication.Data.Models.TokenResponse'. 2025-11-25 18:17:33.6867|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.RefreshToken (Authentication) in 757.3768ms 2025-11-25 18:17:33.6867|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 18:17:33.6937|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 815.1183ms 200 application/json; charset=utf-8 2025-11-25 18:18:50.5720|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=cThgn5swLE/LGak7LH++AlEbfqVMjh1ZOF/6w/xI5GE= 2025-11-25 18:18:50.5720|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=cThgn5swLE/LGak7LH++AlEbfqVMjh1ZOF/6w/xI5GE= 2025-11-25 18:18:50.5720|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 18:18:50.5720|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 18:18:50.5720|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 4.8044ms 204 2025-11-25 18:18:50.5720|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 5.5156ms 204 2025-11-25 18:18:50.6870|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=cThgn5swLE/LGak7LH++AlEbfqVMjh1ZOF/6w/xI5GE= 2025-11-25 18:18:50.6870|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=cThgn5swLE/LGak7LH++AlEbfqVMjh1ZOF/6w/xI5GE= 2025-11-25 18:18:50.6870|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=cThgn5swLE/LGak7LH++AlEbfqVMjh1ZOF/6w/xI5GE= 2025-11-25 18:18:50.6870|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 18:18:50.6870|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 18:18:50.6944|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 18:18:50.6944|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 9.2744ms 204 2025-11-25 18:18:50.6944|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 11.501ms 204 2025-11-25 18:18:50.6944|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 11.7205ms 204 2025-11-25 18:18:51.3488|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=cThgn5swLE/LGak7LH++AlEbfqVMjh1ZOF/6w/xI5GE= 0 2025-11-25 18:18:51.3488|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=cThgn5swLE/LGak7LH++AlEbfqVMjh1ZOF/6w/xI5GE= 0 2025-11-25 18:18:51.3488|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=cThgn5swLE/LGak7LH++AlEbfqVMjh1ZOF/6w/xI5GE= 0 2025-11-25 18:18:51.3529|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=cThgn5swLE/LGak7LH++AlEbfqVMjh1ZOF/6w/xI5GE= 0 2025-11-25 18:18:51.3529|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=cThgn5swLE/LGak7LH++AlEbfqVMjh1ZOF/6w/xI5GE= 0 2025-11-25 18:18:51.3529|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 18:18:51.3529|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 18:18:51.3529|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 18:18:51.3529|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 18:18:51.3529|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 18:18:51.3691|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 18:18:51.3691|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 18:18:51.3691|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 18:18:51.3691|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 18:18:51.3691|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 18:18:51.3691|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "RefreshToken", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] RefreshToken(System.String) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 18:18:51.3691|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "RefreshToken", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] RefreshToken(System.String) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 18:18:51.3691|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "RefreshToken", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] RefreshToken(System.String) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 18:18:51.3832|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "RefreshToken", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] RefreshToken(System.String) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 18:18:51.3832|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "RefreshToken", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] RefreshToken(System.String) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 18:18:51.4216|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 18:18:51.4216|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 18:18:51.4216|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 18:18:51.4216|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 18:18:51.4216|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 18:18:51.4413|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (13ms) [Parameters=[@__Token_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE [u].[Token] = @__Token_0 2025-11-25 18:18:51.4476|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'Microsoft.AspNetCore.Mvc.ProblemDetails'. 2025-11-25 18:18:51.4476|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (17ms) [Parameters=[@__Token_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE [u].[Token] = @__Token_0 2025-11-25 18:18:51.4476|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (14ms) [Parameters=[@__Token_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE [u].[Token] = @__Token_0 2025-11-25 18:18:51.4601|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'Microsoft.AspNetCore.Mvc.ProblemDetails'. 2025-11-25 18:18:51.4601|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'Microsoft.AspNetCore.Mvc.ProblemDetails'. 2025-11-25 18:18:51.4601|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (18ms) [Parameters=[@__Token_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE [u].[Token] = @__Token_0 2025-11-25 18:18:51.4601|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'Microsoft.AspNetCore.Mvc.ProblemDetails'. 2025-11-25 18:18:51.4601|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.RefreshToken (Authentication) in 82.2108ms 2025-11-25 18:18:51.4601|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.RefreshToken (Authentication) in 73.1918ms 2025-11-25 18:18:51.4601|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.RefreshToken (Authentication) in 75.0971ms 2025-11-25 18:18:51.4601|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.RefreshToken (Authentication) in 82.6796ms 2025-11-25 18:18:51.4601|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 18:18:51.4601|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 18:18:51.4601|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 18:18:51.4761|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 18:18:51.4761|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 130.7795ms 401 application/problem+json; charset=utf-8 2025-11-25 18:18:51.4761|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (22ms) [Parameters=[@__Token_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE [u].[Token] = @__Token_0 2025-11-25 18:18:51.4761|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 124.9323ms 401 application/problem+json; charset=utf-8 2025-11-25 18:18:51.4761|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 127.6285ms 401 application/problem+json; charset=utf-8 2025-11-25 18:18:51.4761|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 134.8216ms 401 application/problem+json; charset=utf-8 2025-11-25 18:18:51.4761|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'Microsoft.AspNetCore.Mvc.ProblemDetails'. 2025-11-25 18:18:51.4939|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.RefreshToken (Authentication) in 103.0757ms 2025-11-25 18:18:51.4939|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 18:18:51.4939|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 151.0701ms 401 application/problem+json; charset=utf-8 2025-11-25 18:19:36.5900|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignIn 2025-11-25 18:19:36.5900|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 18:19:36.5900|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 9.3653ms 204 2025-11-25 18:19:37.1831|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignIn application/json 60 2025-11-25 18:19:37.1831|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 18:19:37.1831|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.SignIn (Authentication)' 2025-11-25 18:19:37.2036|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "SignIn", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] SignIn(Authentication.Data.Models.Identity.AuthBindingModel) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 18:19:37.2036|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 18:19:37.2720|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__ToLower_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE LOWER([a].[UserName]) = @__ToLower_0 2025-11-25 18:19:37.2876|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (6ms) [Parameters=[@__checkUser_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__checkUser_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) ORDER BY [u].[Id] DESC 2025-11-25 18:19:37.3016|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (3ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[NormalizedUserName] = @__normalizedUserName_0 2025-11-25 18:19:37.3482|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (3ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[ClaimType], [a].[ClaimValue], [a].[Discriminator], [a].[UserId] FROM [AspNetUserClaims] AS [a] WHERE [a].[Discriminator] IN (N'IdentityUserClaim', N'UserClaim') AND ([a].[UserId] = @__user_Id_0) 2025-11-25 18:19:37.3596|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 18:19:37.3689|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__normalizedName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[InstitutionId], [a].[IsActive], [a].[Name], [a].[NormalizedName], [a].[UpdatedBy], [a].[UserType] FROM [AspNetRoles] AS [a] WHERE [a].[NormalizedName] = @__normalizedName_0 2025-11-25 18:19:37.4019|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (3ms) [Parameters=[@__role_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[ClaimType], [a].[ClaimValue] FROM [AspNetRoleClaims] AS [a] WHERE [a].[RoleId] = @__role_Id_0 2025-11-25 18:19:37.4196|10|INFO|Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationHandler|AuthenticationScheme: Identity.Application signed in. 2025-11-25 18:19:37.4299|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[NormalizedUserName] = @__normalizedUserName_0 2025-11-25 18:19:37.6468|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 18:19:37.6537|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [p].[Code] FROM [UserPermissions] AS [u] INNER JOIN [Permissions] AS [p] ON [u].[PermissionId] = [p].[Id] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 18:19:37.6683|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (9ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 18:19:37.6807|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; INSERT INTO [UserToken] ([DateCreated], [ExpiryDate], [IsActive], [SessionExpiryDate], [Token], [UserId]) VALUES (@p0, @p1, @p2, @p3, @p4, @p5); SELECT [Id] FROM [UserToken] WHERE @@ROWCOUNT = 1 AND [Id] = scope_identity(); 2025-11-25 18:19:37.6807|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 18:19:37.6952||INFO|Authentication.Controllers.AccountController|userlcaulker@MOF role is gotten 2025-11-25 18:19:37.6952|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [u].[Id], [u].[CreatedBy], [u].[DateCreated], [u].[DateUpdated], [u].[IsActive], [u].[IsDeleted], [u].[PermissionId], [u].[RowVersion], [u].[UpdatedBy], [u].[UserId] FROM [UserPermissions] AS [u] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 18:19:37.7244|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 18:19:37.7279|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 18:19:37.7279|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 18:19:37.7279|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 18:19:37.7279|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 18:19:37.7279|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 18:19:37.7279|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 18:19:37.7409|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 18:19:37.7409|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 18:19:37.7409||INFO|Authentication.Controllers.AccountController|user lcaulker@MOF is signin but about to call corporate service 2025-11-25 18:19:37.8923|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'AuditTrailUtility.Utility.SaveResponse'. 2025-11-25 18:19:37.9000|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.SignIn (Authentication) in 694.461ms 2025-11-25 18:19:37.9000|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.SignIn (Authentication)' 2025-11-25 18:19:37.9000|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 721.171ms 200 application/json; charset=utf-8 2025-11-25 18:19:38.6656|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/Admin/GetAllUsersByCorporateId?corporateId=207 2025-11-25 18:19:38.6656|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 18:19:38.6656|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 9.6475ms 204 2025-11-25 18:19:38.9396|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/Admin/GetAllUsersByCorporateId?corporateId=207 2025-11-25 18:19:38.9480|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 18:19:38.9480|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.GetAllUsersByCorporateId (Authentication)' 2025-11-25 18:19:38.9644|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllUsersByCorporateId", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllUsersByCorporateId(Int64) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 18:19:38.9644|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 18:19:38.9879|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (3ms) [Parameters=[@__corporateId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[UserTypeId] = @__corporateId_0 2025-11-25 18:19:39.0217|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[Authentication.Data.Models.Identity.UserBindingModel, Authentication.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2025-11-25 18:19:39.0414|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.GetAllUsersByCorporateId (Authentication) in 75.2641ms 2025-11-25 18:19:39.0414|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.GetAllUsersByCorporateId (Authentication)' 2025-11-25 18:19:39.0414|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 106.9507ms 200 application/json; charset=utf-8 2025-11-25 18:24:09.3077|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignOut/495 2025-11-25 18:24:09.3077|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignOut/495 2025-11-25 18:24:09.3077|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 18:24:09.3077|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 18:24:09.3077|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 8.626ms 204 2025-11-25 18:24:09.3077|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 10.1049ms 204 2025-11-25 18:24:09.3857|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignOut/495 2025-11-25 18:24:09.3857|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 18:24:09.3857|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.SignOut (Authentication)' 2025-11-25 18:24:09.3857|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "SignOut", controller = "Account"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult SignOut(Int64) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 18:24:09.4031|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 18:24:09.4458|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (14ms) [Parameters=[@__UserId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__UserId_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 18:24:09.4580|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@p6='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [UserToken] SET [DateCreated] = @p0, [ExpiryDate] = @p1, [IsActive] = @p2, [SessionExpiryDate] = @p3, [Token] = @p4, [UserId] = @p5 WHERE [Id] = @p6; SELECT @@ROWCOUNT; 2025-11-25 18:24:09.4580|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'AuditTrailUtility.Utility.SaveResponse'. 2025-11-25 18:24:09.4657|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.SignOut (Authentication) in 65.1895ms 2025-11-25 18:24:09.4657|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.SignOut (Authentication)' 2025-11-25 18:24:09.4657|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 84.2688ms 200 application/json; charset=utf-8 2025-11-25 18:24:09.8048|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignOut/495 2025-11-25 18:24:09.8048|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 18:24:09.8103|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.SignOut (Authentication)' 2025-11-25 18:24:09.8103|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "SignOut", controller = "Account"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult SignOut(Int64) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 18:24:09.8103|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 18:24:09.8275|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (7ms) [Parameters=[@__UserId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__UserId_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 18:24:09.8275|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'AuditTrailUtility.Utility.SaveResponse'. 2025-11-25 18:24:09.8275|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.SignOut (Authentication) in 20.5718ms 2025-11-25 18:24:09.8275|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.SignOut (Authentication)' 2025-11-25 18:24:09.8386|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 33.7585ms 200 application/json; charset=utf-8 2025-11-25 18:38:13.3756|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignIn 2025-11-25 18:38:13.3756|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 18:38:13.3756|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 4.8148ms 204 2025-11-25 18:38:13.3756|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignIn application/json 60 2025-11-25 18:38:13.3895|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 18:38:13.3895|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.SignIn (Authentication)' 2025-11-25 18:38:13.3895|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "SignIn", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] SignIn(Authentication.Data.Models.Identity.AuthBindingModel) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 18:38:13.3895|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 18:38:13.4163|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (3ms) [Parameters=[@__ToLower_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE LOWER([a].[UserName]) = @__ToLower_0 2025-11-25 18:38:13.4212|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__checkUser_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__checkUser_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) ORDER BY [u].[Id] DESC 2025-11-25 18:38:13.4212|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[NormalizedUserName] = @__normalizedUserName_0 2025-11-25 18:38:13.4391|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[ClaimType], [a].[ClaimValue], [a].[Discriminator], [a].[UserId] FROM [AspNetUserClaims] AS [a] WHERE [a].[Discriminator] IN (N'IdentityUserClaim', N'UserClaim') AND ([a].[UserId] = @__user_Id_0) 2025-11-25 18:38:13.4391|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 18:38:13.4391|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__normalizedName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[InstitutionId], [a].[IsActive], [a].[Name], [a].[NormalizedName], [a].[UpdatedBy], [a].[UserType] FROM [AspNetRoles] AS [a] WHERE [a].[NormalizedName] = @__normalizedName_0 2025-11-25 18:38:13.4533|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__role_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[ClaimType], [a].[ClaimValue] FROM [AspNetRoleClaims] AS [a] WHERE [a].[RoleId] = @__role_Id_0 2025-11-25 18:38:13.4533|10|INFO|Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationHandler|AuthenticationScheme: Identity.Application signed in. 2025-11-25 18:38:13.4533|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[NormalizedUserName] = @__normalizedUserName_0 2025-11-25 18:38:13.4753|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 18:38:13.4753|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [p].[Code] FROM [UserPermissions] AS [u] INNER JOIN [Permissions] AS [p] ON [u].[PermissionId] = [p].[Id] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 18:38:13.4928|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (8ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 18:38:13.4983|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p6='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [UserToken] SET [DateCreated] = @p0, [ExpiryDate] = @p1, [IsActive] = @p2, [SessionExpiryDate] = @p3, [Token] = @p4, [UserId] = @p5 WHERE [Id] = @p6; SELECT @@ROWCOUNT; 2025-11-25 18:38:13.4983|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; INSERT INTO [UserToken] ([DateCreated], [ExpiryDate], [IsActive], [SessionExpiryDate], [Token], [UserId]) VALUES (@p0, @p1, @p2, @p3, @p4, @p5); SELECT [Id] FROM [UserToken] WHERE @@ROWCOUNT = 1 AND [Id] = scope_identity(); 2025-11-25 18:38:13.4983|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 18:38:13.5142||INFO|Authentication.Controllers.AccountController|usersjalloh@MOF role is gotten 2025-11-25 18:38:13.5142|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [u].[Id], [u].[CreatedBy], [u].[DateCreated], [u].[DateUpdated], [u].[IsActive], [u].[IsDeleted], [u].[PermissionId], [u].[RowVersion], [u].[UpdatedBy], [u].[UserId] FROM [UserPermissions] AS [u] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 18:38:13.5142|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 18:38:13.5142|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 18:38:13.5310|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 18:38:13.5310|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 18:38:13.5310||INFO|Authentication.Controllers.AccountController|user sjalloh@MOF is signin but about to call corporate service 2025-11-25 18:38:13.5897|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'AuditTrailUtility.Utility.SaveResponse'. 2025-11-25 18:38:13.5939|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.SignIn (Authentication) in 198.0029ms 2025-11-25 18:38:13.5939|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.SignIn (Authentication)' 2025-11-25 18:38:13.5939|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 210.4273ms 200 application/json; charset=utf-8 2025-11-25 18:38:13.6591|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/Admin/GetAllUsersByCorporateId?corporateId=207 2025-11-25 18:38:13.6591|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 18:38:13.6591|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 8.6964ms 204 2025-11-25 18:38:13.6745|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/Admin/GetAllUsersByCorporateId?corporateId=207 2025-11-25 18:38:13.6745|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 18:38:13.6745|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.GetAllUsersByCorporateId (Authentication)' 2025-11-25 18:38:13.6863|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllUsersByCorporateId", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllUsersByCorporateId(Int64) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 18:38:13.6863|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 18:38:13.6863|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__corporateId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[UserTypeId] = @__corporateId_0 2025-11-25 18:38:13.7073|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[Authentication.Data.Models.Identity.UserBindingModel, Authentication.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2025-11-25 18:38:13.7073|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.GetAllUsersByCorporateId (Authentication) in 18.1674ms 2025-11-25 18:38:13.7073|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.GetAllUsersByCorporateId (Authentication)' 2025-11-25 18:38:13.7073|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 38.6013ms 200 application/json; charset=utf-8 2025-11-25 18:58:28.9148|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://127.0.0.1:14305/AUTHENTICATIONSERVICE/iisintegration 0 2025-11-25 18:58:28.9189|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 4.04ms 202 2025-11-25 18:59:43.5163||DEBUG|Authentication.Program|init main function 2025-11-25 18:59:45.3085|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 18:59:45.5803|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (16ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT 1 2025-11-25 18:59:45.6036|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (14ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT OBJECT_ID(N'[__EFMigrationsHistory]'); 2025-11-25 18:59:45.6036|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT 1 2025-11-25 18:59:45.6130|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT OBJECT_ID(N'[__EFMigrationsHistory]'); 2025-11-25 18:59:45.6276|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT [MigrationId], [ProductVersion] FROM [__EFMigrationsHistory] ORDER BY [MigrationId]; 2025-11-25 18:59:45.6491|20405|INFO|Microsoft.EntityFrameworkCore.Migrations|No migrations were applied. The database is already up to date. 2025-11-25 18:59:45.7912||INFO|Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager|User profile not available. Using 'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ASP.NET\4.0.30319.0\AutoGenKeys\S-1-5-82-2404559740-2321761809-584227669-3522060946-2110276425\DataProtection' as key repository and Windows DPAPI to encrypt keys at rest. 2025-11-25 18:59:46.0187|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignOut/497 2025-11-25 18:59:46.0473|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 18:59:46.0567|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 38.5462ms 204 2025-11-25 18:59:46.0802|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignOut/497 2025-11-25 18:59:46.0840|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 18:59:46.0840|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.SignOut (Authentication)' 2025-11-25 18:59:46.1211|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "SignOut", controller = "Account"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult SignOut(Int64) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 18:59:46.1296|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 18:59:46.3312|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (34ms) [Parameters=[@__UserId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__UserId_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 18:59:46.4737|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (3ms) [Parameters=[@p6='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [UserToken] SET [DateCreated] = @p0, [ExpiryDate] = @p1, [IsActive] = @p2, [SessionExpiryDate] = @p3, [Token] = @p4, [UserId] = @p5 WHERE [Id] = @p6; SELECT @@ROWCOUNT; 2025-11-25 18:59:46.4737|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'AuditTrailUtility.Utility.SaveResponse'. 2025-11-25 18:59:46.5597|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.SignOut (Authentication) in 433.8194ms 2025-11-25 18:59:46.5597|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.SignOut (Authentication)' 2025-11-25 18:59:46.5655|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 485.3526ms 200 application/json; charset=utf-8 2025-11-25 19:11:33.2336|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=AbywNGblg9MurkXJJtxe8Nzk3/Sy3/84ExdJhlk4Cno= 2025-11-25 19:11:33.2336|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 19:11:33.2336|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 7.3913ms 204 2025-11-25 19:11:33.2464|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=AbywNGblg9MurkXJJtxe8Nzk3/Sy3/84ExdJhlk4Cno= 0 2025-11-25 19:11:33.2464|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 19:11:33.2464|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 19:11:33.2589|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "RefreshToken", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] RefreshToken(System.String) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 19:11:33.2928|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 19:11:33.3484|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (23ms) [Parameters=[@__Token_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE [u].[Token] = @__Token_0 2025-11-25 19:11:33.3550|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'Microsoft.AspNetCore.Mvc.ProblemDetails'. 2025-11-25 19:11:33.3719|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.RefreshToken (Authentication) in 110.698ms 2025-11-25 19:11:33.3719|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 19:11:33.3719|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 128.4891ms 401 application/problem+json; charset=utf-8 2025-11-25 19:11:34.4915|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token= 0 2025-11-25 19:11:34.4915|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 19:11:34.4915|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 19:11:34.4915|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "RefreshToken", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] RefreshToken(System.String) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 19:11:34.5152|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 19:11:34.5482|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (21ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE [u].[Token] IS NULL 2025-11-25 19:11:34.5482|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'Microsoft.AspNetCore.Mvc.ProblemDetails'. 2025-11-25 19:11:34.5482|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.RefreshToken (Authentication) in 48.1729ms 2025-11-25 19:11:34.5545|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 19:11:34.5545|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 65.5296ms 401 application/problem+json; charset=utf-8 2025-11-25 19:11:35.3687|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token= 0 2025-11-25 19:11:35.3687|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token= 0 2025-11-25 19:11:35.3687|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token= 0 2025-11-25 19:11:35.3687|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 19:11:35.3687|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 19:11:35.3687|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 19:11:35.3687|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 19:11:35.3687|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 19:11:35.3687|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 19:11:35.3816|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "RefreshToken", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] RefreshToken(System.String) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 19:11:35.3816|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "RefreshToken", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] RefreshToken(System.String) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 19:11:35.3816|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "RefreshToken", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] RefreshToken(System.String) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 19:11:35.3816|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 19:11:35.3816|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 19:11:35.3816|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 19:11:35.4052|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (13ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE [u].[Token] IS NULL 2025-11-25 19:11:35.4052|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'Microsoft.AspNetCore.Mvc.ProblemDetails'. 2025-11-25 19:11:35.4052|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (10ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE [u].[Token] IS NULL 2025-11-25 19:11:35.4130|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'Microsoft.AspNetCore.Mvc.ProblemDetails'. 2025-11-25 19:11:35.4130|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.RefreshToken (Authentication) in 26.4562ms 2025-11-25 19:11:35.4130|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.RefreshToken (Authentication) in 29.0056ms 2025-11-25 19:11:35.4130|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 19:11:35.4130|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 19:11:35.4130|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 49.838ms 401 application/problem+json; charset=utf-8 2025-11-25 19:11:35.4130|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 52.8312ms 401 application/problem+json; charset=utf-8 2025-11-25 19:11:35.4130|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (19ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE [u].[Token] IS NULL 2025-11-25 19:11:35.4305|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'Microsoft.AspNetCore.Mvc.ProblemDetails'. 2025-11-25 19:11:35.4305|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.RefreshToken (Authentication) in 44.1987ms 2025-11-25 19:11:35.4305|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 19:11:35.4305|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 67.0629ms 401 application/problem+json; charset=utf-8 2025-11-25 19:11:42.9354|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignIn 2025-11-25 19:11:42.9401|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 19:11:42.9401|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 7.3314ms 204 2025-11-25 19:11:42.9401|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignIn application/json 60 2025-11-25 19:11:42.9401|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 19:11:42.9540|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.SignIn (Authentication)' 2025-11-25 19:11:42.9540|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "SignIn", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] SignIn(Authentication.Data.Models.Identity.AuthBindingModel) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 19:11:42.9540|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 19:11:43.0433|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (3ms) [Parameters=[@__ToLower_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE LOWER([a].[UserName]) = @__ToLower_0 2025-11-25 19:11:43.0786|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__checkUser_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__checkUser_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) ORDER BY [u].[Id] DESC 2025-11-25 19:11:43.1175|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (12ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[NormalizedUserName] = @__normalizedUserName_0 2025-11-25 19:11:43.1717|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (3ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[ClaimType], [a].[ClaimValue], [a].[Discriminator], [a].[UserId] FROM [AspNetUserClaims] AS [a] WHERE [a].[Discriminator] IN (N'IdentityUserClaim', N'UserClaim') AND ([a].[UserId] = @__user_Id_0) 2025-11-25 19:11:43.2064|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 19:11:43.2243|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__normalizedName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[InstitutionId], [a].[IsActive], [a].[Name], [a].[NormalizedName], [a].[UpdatedBy], [a].[UserType] FROM [AspNetRoles] AS [a] WHERE [a].[NormalizedName] = @__normalizedName_0 2025-11-25 19:11:43.2420|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__role_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[ClaimType], [a].[ClaimValue] FROM [AspNetRoleClaims] AS [a] WHERE [a].[RoleId] = @__role_Id_0 2025-11-25 19:11:43.2510|10|INFO|Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationHandler|AuthenticationScheme: Identity.Application signed in. 2025-11-25 19:11:43.2510|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[NormalizedUserName] = @__normalizedUserName_0 2025-11-25 19:11:43.4999|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 19:11:43.5098|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [p].[Code] FROM [UserPermissions] AS [u] INNER JOIN [Permissions] AS [p] ON [u].[PermissionId] = [p].[Id] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 19:11:43.5607|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (14ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 19:11:43.5911|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@p6='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [UserToken] SET [DateCreated] = @p0, [ExpiryDate] = @p1, [IsActive] = @p2, [SessionExpiryDate] = @p3, [Token] = @p4, [UserId] = @p5 WHERE [Id] = @p6; SELECT @@ROWCOUNT; 2025-11-25 19:11:43.6230|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; INSERT INTO [UserToken] ([DateCreated], [ExpiryDate], [IsActive], [SessionExpiryDate], [Token], [UserId]) VALUES (@p0, @p1, @p2, @p3, @p4, @p5); SELECT [Id] FROM [UserToken] WHERE @@ROWCOUNT = 1 AND [Id] = scope_identity(); 2025-11-25 19:11:43.6438|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 19:11:43.6438||INFO|Authentication.Controllers.AccountController|usersjalloh@MOF role is gotten 2025-11-25 19:11:43.6675|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [u].[Id], [u].[CreatedBy], [u].[DateCreated], [u].[DateUpdated], [u].[IsActive], [u].[IsDeleted], [u].[PermissionId], [u].[RowVersion], [u].[UpdatedBy], [u].[UserId] FROM [UserPermissions] AS [u] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 19:11:43.6845|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 19:11:43.6889|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 19:11:43.6889|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 19:11:43.6889|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 19:11:43.6889||INFO|Authentication.Controllers.AccountController|user sjalloh@MOF is signin but about to call corporate service 2025-11-25 19:11:43.8242|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'AuditTrailUtility.Utility.SaveResponse'. 2025-11-25 19:11:43.8314|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.SignIn (Authentication) in 864.3144ms 2025-11-25 19:11:43.8314|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.SignIn (Authentication)' 2025-11-25 19:11:43.8314|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 889.2228ms 200 application/json; charset=utf-8 2025-11-25 19:11:43.8911|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/Admin/GetAllUsersByCorporateId?corporateId=207 2025-11-25 19:11:43.8911|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 19:11:43.8911|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6.7942ms 204 2025-11-25 19:11:43.8911|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/Admin/GetAllUsersByCorporateId?corporateId=207 2025-11-25 19:11:43.9111|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 19:11:43.9111|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.GetAllUsersByCorporateId (Authentication)' 2025-11-25 19:11:43.9229|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllUsersByCorporateId", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllUsersByCorporateId(Int64) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 19:11:43.9229|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 19:11:43.9229|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (3ms) [Parameters=[@__corporateId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[UserTypeId] = @__corporateId_0 2025-11-25 19:11:43.9631|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[Authentication.Data.Models.Identity.UserBindingModel, Authentication.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2025-11-25 19:11:43.9722|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.GetAllUsersByCorporateId (Authentication) in 47.9191ms 2025-11-25 19:11:43.9722|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.GetAllUsersByCorporateId (Authentication)' 2025-11-25 19:11:43.9722|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 71.9888ms 200 application/json; charset=utf-8 2025-11-25 19:32:42.0770|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://127.0.0.1:38061/AUTHENTICATIONSERVICE/iisintegration 0 2025-11-25 19:32:42.0824|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 5.5802ms 202 2025-11-25 22:27:35.0568||DEBUG|Authentication.Program|init main function 2025-11-25 22:27:37.6277|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 22:27:38.0371|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (16ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT 1 2025-11-25 22:27:38.0582|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (12ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT OBJECT_ID(N'[__EFMigrationsHistory]'); 2025-11-25 22:27:38.0582|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT 1 2025-11-25 22:27:38.0673|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT OBJECT_ID(N'[__EFMigrationsHistory]'); 2025-11-25 22:27:38.0673|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (3ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT [MigrationId], [ProductVersion] FROM [__EFMigrationsHistory] ORDER BY [MigrationId]; 2025-11-25 22:27:38.1334|20405|INFO|Microsoft.EntityFrameworkCore.Migrations|No migrations were applied. The database is already up to date. 2025-11-25 22:27:38.4181||INFO|Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager|User profile not available. Using 'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ASP.NET\4.0.30319.0\AutoGenKeys\S-1-5-82-2404559740-2321761809-584227669-3522060946-2110276425\DataProtection' as key repository and Windows DPAPI to encrypt keys at rest. 2025-11-25 22:27:38.6303|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AuthenticationService/swagger/index.html 2025-11-25 22:27:38.7005|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 70.7448ms 200 text/html;charset=utf-8 2025-11-25 22:27:39.3437|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AuthenticationService/swagger/swagger-ui.css 2025-11-25 22:27:39.3695|2|INFO|Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware|Sending file. Request path: '/swagger-ui.css'. Physical path: 'N/A' 2025-11-25 22:27:39.3695|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 29.0042ms 200 text/css 2025-11-25 22:29:12.7491|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=nVPbmA2dfsolB1DU0M1qeWxwYL5cD/aSOz5Six2xtLI= 2025-11-25 22:29:12.7623|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 22:29:12.7623|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 16.262ms 204 2025-11-25 22:29:12.8473|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=nVPbmA2dfsolB1DU0M1qeWxwYL5cD/aSOz5Six2xtLI= 0 2025-11-25 22:29:12.8473|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 22:29:12.8580|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 22:29:12.8952|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "RefreshToken", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] RefreshToken(System.String) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 22:29:12.9122|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 22:29:13.1309|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (40ms) [Parameters=[@__Token_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE [u].[Token] = @__Token_0 2025-11-25 22:29:13.1799|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'Microsoft.AspNetCore.Mvc.ProblemDetails'. 2025-11-25 22:29:13.2640|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.RefreshToken (Authentication) in 362.0087ms 2025-11-25 22:29:13.2640|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 22:29:13.2640|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 421.7842ms 401 application/problem+json; charset=utf-8 2025-11-25 22:29:14.7273|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token= 0 2025-11-25 22:29:14.7317|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token= 0 2025-11-25 22:29:14.7317|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 22:29:14.7317|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 22:29:14.7317|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 22:29:14.7317|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 22:29:14.7317|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "RefreshToken", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] RefreshToken(System.String) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 22:29:14.7455|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "RefreshToken", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] RefreshToken(System.String) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 22:29:14.7761|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 22:29:14.7761|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 22:29:14.7980|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (13ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE [u].[Token] IS NULL 2025-11-25 22:29:14.7980|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'Microsoft.AspNetCore.Mvc.ProblemDetails'. 2025-11-25 22:29:14.7980|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (10ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE [u].[Token] IS NULL 2025-11-25 22:29:14.7980|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.RefreshToken (Authentication) in 57.3073ms 2025-11-25 22:29:14.7980|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'Microsoft.AspNetCore.Mvc.ProblemDetails'. 2025-11-25 22:29:14.7980|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 22:29:14.8077|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.RefreshToken (Authentication) in 61.3923ms 2025-11-25 22:29:14.8077|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 78.2554ms 401 application/problem+json; charset=utf-8 2025-11-25 22:29:14.8077|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 22:29:14.8077|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 84.562ms 401 application/problem+json; charset=utf-8 2025-11-25 22:31:56.7783|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignIn 2025-11-25 22:31:56.7783|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 22:31:56.7867|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 8.3486ms 204 2025-11-25 22:31:58.4550|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignIn application/json 60 2025-11-25 22:31:58.4587|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 22:31:58.4587|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.SignIn (Authentication)' 2025-11-25 22:31:58.4587|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "SignIn", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] SignIn(Authentication.Data.Models.Identity.AuthBindingModel) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 22:31:58.4794|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 22:31:58.5636|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (3ms) [Parameters=[@__ToLower_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE LOWER([a].[UserName]) = @__ToLower_0 2025-11-25 22:31:58.6093|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (3ms) [Parameters=[@__checkUser_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__checkUser_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) ORDER BY [u].[Id] DESC 2025-11-25 22:31:58.6528|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (15ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[NormalizedUserName] = @__normalizedUserName_0 2025-11-25 22:31:58.7426|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (3ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[ClaimType], [a].[ClaimValue], [a].[Discriminator], [a].[UserId] FROM [AspNetUserClaims] AS [a] WHERE [a].[Discriminator] IN (N'IdentityUserClaim', N'UserClaim') AND ([a].[UserId] = @__user_Id_0) 2025-11-25 22:31:58.7789|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (3ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 22:31:58.7966|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__normalizedName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[InstitutionId], [a].[IsActive], [a].[Name], [a].[NormalizedName], [a].[UpdatedBy], [a].[UserType] FROM [AspNetRoles] AS [a] WHERE [a].[NormalizedName] = @__normalizedName_0 2025-11-25 22:31:58.8139|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__role_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[ClaimType], [a].[ClaimValue] FROM [AspNetRoleClaims] AS [a] WHERE [a].[RoleId] = @__role_Id_0 2025-11-25 22:31:58.8223|10|INFO|Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationHandler|AuthenticationScheme: Identity.Application signed in. 2025-11-25 22:31:58.8223|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[NormalizedUserName] = @__normalizedUserName_0 2025-11-25 22:31:59.1584|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 22:31:59.1757|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [p].[Code] FROM [UserPermissions] AS [u] INNER JOIN [Permissions] AS [p] ON [u].[PermissionId] = [p].[Id] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 22:31:59.3041|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (13ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 22:31:59.4090|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (3ms) [Parameters=[@p6='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [UserToken] SET [DateCreated] = @p0, [ExpiryDate] = @p1, [IsActive] = @p2, [SessionExpiryDate] = @p3, [Token] = @p4, [UserId] = @p5 WHERE [Id] = @p6; SELECT @@ROWCOUNT; 2025-11-25 22:31:59.4466|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; INSERT INTO [UserToken] ([DateCreated], [ExpiryDate], [IsActive], [SessionExpiryDate], [Token], [UserId]) VALUES (@p0, @p1, @p2, @p3, @p4, @p5); SELECT [Id] FROM [UserToken] WHERE @@ROWCOUNT = 1 AND [Id] = scope_identity(); 2025-11-25 22:31:59.4686|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 22:31:59.4759||INFO|Authentication.Controllers.AccountController|usersjalloh@MOF role is gotten 2025-11-25 22:31:59.4902|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [u].[Id], [u].[CreatedBy], [u].[DateCreated], [u].[DateUpdated], [u].[IsActive], [u].[IsDeleted], [u].[PermissionId], [u].[RowVersion], [u].[UpdatedBy], [u].[UserId] FROM [UserPermissions] AS [u] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 22:31:59.5055|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 22:31:59.5055|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 22:31:59.5055|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 22:31:59.5055|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 22:31:59.5055||INFO|Authentication.Controllers.AccountController|user sjalloh@MOF is signin but about to call corporate service 2025-11-25 22:31:59.7098|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'AuditTrailUtility.Utility.SaveResponse'. 2025-11-25 22:31:59.7098|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.SignIn (Authentication) in 1247.7914ms 2025-11-25 22:31:59.7098|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.SignIn (Authentication)' 2025-11-25 22:31:59.7098|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1266.0177ms 200 application/json; charset=utf-8 2025-11-25 22:32:05.9896|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/Admin/GetAllUsersByCorporateId?corporateId=207 2025-11-25 22:32:05.9896|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 22:32:05.9896|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 7.6024ms 204 2025-11-25 22:32:08.6887|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/Admin/GetAllUsersByCorporateId?corporateId=207 2025-11-25 22:32:08.6951|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 22:32:08.6951|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.GetAllUsersByCorporateId (Authentication)' 2025-11-25 22:32:08.7124|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllUsersByCorporateId", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllUsersByCorporateId(Int64) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 22:32:08.7124|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 22:32:08.7358|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (4ms) [Parameters=[@__corporateId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[UserTypeId] = @__corporateId_0 2025-11-25 22:32:08.7670|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[Authentication.Data.Models.Identity.UserBindingModel, Authentication.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2025-11-25 22:32:08.7774|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.GetAllUsersByCorporateId (Authentication) in 62.9715ms 2025-11-25 22:32:08.7774|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.GetAllUsersByCorporateId (Authentication)' 2025-11-25 22:32:08.7774|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 93.6005ms 200 application/json; charset=utf-8 2025-11-25 22:32:28.2080|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignIn 2025-11-25 22:32:28.2080|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 22:32:28.2080|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 7.7672ms 204 2025-11-25 22:32:28.2862|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignIn application/json 56 2025-11-25 22:32:28.2862|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 22:32:28.2862|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.SignIn (Authentication)' 2025-11-25 22:32:28.2862|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "SignIn", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] SignIn(Authentication.Data.Models.Identity.AuthBindingModel) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 22:32:28.2862|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 22:32:28.3072|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (3ms) [Parameters=[@__ToLower_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE LOWER([a].[UserName]) = @__ToLower_0 2025-11-25 22:32:28.3072|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.String'. 2025-11-25 22:32:28.3072|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.SignIn (Authentication) in 15.0298ms 2025-11-25 22:32:28.3072|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.SignIn (Authentication)' 2025-11-25 22:32:28.3072|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 29.1658ms 400 text/plain; charset=utf-8 2025-11-25 22:33:51.2159|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignIn 2025-11-25 22:33:51.2159|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 22:33:51.2159|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 5.3335ms 204 2025-11-25 22:33:51.2837|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignIn application/json 59 2025-11-25 22:33:51.2837|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 22:33:51.2837|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.SignIn (Authentication)' 2025-11-25 22:33:51.2837|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "SignIn", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] SignIn(Authentication.Data.Models.Identity.AuthBindingModel) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 22:33:51.2937|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 22:33:51.2937|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (3ms) [Parameters=[@__ToLower_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE LOWER([a].[UserName]) = @__ToLower_0 2025-11-25 22:33:51.3193|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (13ms) [Parameters=[@__checkUser_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__checkUser_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) ORDER BY [u].[Id] DESC 2025-11-25 22:33:51.3291|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (5ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[NormalizedUserName] = @__normalizedUserName_0 2025-11-25 22:33:51.3291|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[ClaimType], [a].[ClaimValue], [a].[Discriminator], [a].[UserId] FROM [AspNetUserClaims] AS [a] WHERE [a].[Discriminator] IN (N'IdentityUserClaim', N'UserClaim') AND ([a].[UserId] = @__user_Id_0) 2025-11-25 22:33:51.3403|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 22:33:51.3403|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__normalizedName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[InstitutionId], [a].[IsActive], [a].[Name], [a].[NormalizedName], [a].[UpdatedBy], [a].[UserType] FROM [AspNetRoles] AS [a] WHERE [a].[NormalizedName] = @__normalizedName_0 2025-11-25 22:33:51.3403|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__role_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[ClaimType], [a].[ClaimValue] FROM [AspNetRoleClaims] AS [a] WHERE [a].[RoleId] = @__role_Id_0 2025-11-25 22:33:51.3403|10|INFO|Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationHandler|AuthenticationScheme: Identity.Application signed in. 2025-11-25 22:33:51.3403|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[NormalizedUserName] = @__normalizedUserName_0 2025-11-25 22:33:51.3562|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 22:33:51.3562|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [p].[Code] FROM [UserPermissions] AS [u] INNER JOIN [Permissions] AS [p] ON [u].[PermissionId] = [p].[Id] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 22:33:51.3802|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (13ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 22:33:51.3892|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; INSERT INTO [UserToken] ([DateCreated], [ExpiryDate], [IsActive], [SessionExpiryDate], [Token], [UserId]) VALUES (@p0, @p1, @p2, @p3, @p4, @p5); SELECT [Id] FROM [UserToken] WHERE @@ROWCOUNT = 1 AND [Id] = scope_identity(); 2025-11-25 22:33:51.3892|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 22:33:51.3892||INFO|Authentication.Controllers.AccountController|useramansaray@MOF role is gotten 2025-11-25 22:33:51.4064|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [u].[Id], [u].[CreatedBy], [u].[DateCreated], [u].[DateUpdated], [u].[IsActive], [u].[IsDeleted], [u].[PermissionId], [u].[RowVersion], [u].[UpdatedBy], [u].[UserId] FROM [UserPermissions] AS [u] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 22:33:51.4064|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 22:33:51.4064|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 22:33:51.4169|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 22:33:51.4169|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 22:33:51.4169|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 22:33:51.4169|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 22:33:51.4169||INFO|Authentication.Controllers.AccountController|user amansaray@MOF is signin but about to call corporate service 2025-11-25 22:33:51.4978|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'AuditTrailUtility.Utility.SaveResponse'. 2025-11-25 22:33:51.4978|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.SignIn (Authentication) in 210.8946ms 2025-11-25 22:33:51.4978|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.SignIn (Authentication)' 2025-11-25 22:33:51.4978|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 224.578ms 200 application/json; charset=utf-8 2025-11-25 22:33:51.7324|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/Admin/GetAllUsersByCorporateId?corporateId=207 2025-11-25 22:33:51.7324|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 22:33:51.7324|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 7.962ms 204 2025-11-25 22:33:51.7863|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/Admin/GetAllUsersByCorporateId?corporateId=207 2025-11-25 22:33:51.7863|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 22:33:51.7863|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.GetAllUsersByCorporateId (Authentication)' 2025-11-25 22:33:51.7863|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllUsersByCorporateId", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllUsersByCorporateId(Int64) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 22:33:51.7958|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 22:33:51.8254|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (25ms) [Parameters=[@__corporateId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[UserTypeId] = @__corporateId_0 2025-11-25 22:33:51.8402|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[Authentication.Data.Models.Identity.UserBindingModel, Authentication.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2025-11-25 22:33:51.8402|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.GetAllUsersByCorporateId (Authentication) in 50.4036ms 2025-11-25 22:33:51.8402|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.GetAllUsersByCorporateId (Authentication)' 2025-11-25 22:33:51.8402|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 61.3668ms 200 application/json; charset=utf-8 2025-11-25 22:54:15.4961|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=VXTGkJQFiSja81Q2BeVxnp7ltuPeaIA09d1lnHb2/FI= 2025-11-25 22:54:15.4961|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 22:54:15.4961|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 2.3704ms 204 2025-11-25 22:54:15.5339|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=VXTGkJQFiSja81Q2BeVxnp7ltuPeaIA09d1lnHb2/FI= 0 2025-11-25 22:54:15.5339|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 22:54:15.5339|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 22:54:15.5339|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "RefreshToken", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] RefreshToken(System.String) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 22:54:15.5339|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 22:54:15.5576|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (12ms) [Parameters=[@__Token_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE [u].[Token] = @__Token_0 2025-11-25 22:54:15.5738|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__p_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[Id] = @__p_0 2025-11-25 22:54:15.5738|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 22:54:15.5809|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [p].[Code] FROM [UserPermissions] AS [u] INNER JOIN [Permissions] AS [p] ON [u].[PermissionId] = [p].[Id] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 22:54:15.5809|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (4ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 22:54:15.5809|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (0ms) [Parameters=[@p6='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [UserToken] SET [DateCreated] = @p0, [ExpiryDate] = @p1, [IsActive] = @p2, [SessionExpiryDate] = @p3, [Token] = @p4, [UserId] = @p5 WHERE [Id] = @p6; SELECT @@ROWCOUNT; 2025-11-25 22:54:15.5809|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; INSERT INTO [UserToken] ([DateCreated], [ExpiryDate], [IsActive], [SessionExpiryDate], [Token], [UserId]) VALUES (@p0, @p1, @p2, @p3, @p4, @p5); SELECT [Id] FROM [UserToken] WHERE @@ROWCOUNT = 1 AND [Id] = scope_identity(); 2025-11-25 22:54:15.5809|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'Authentication.Data.Models.TokenResponse'. 2025-11-25 22:54:15.5986|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.RefreshToken (Authentication) in 61.2859ms 2025-11-25 22:54:15.5986|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 22:54:15.5986|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 66.2657ms 200 application/json; charset=utf-8 2025-11-25 23:14:16.8463|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=6qz3jj4PkL3f1DiCAMetAfW1rv7qdjBYnQWxsj1i7+4= 2025-11-25 23:14:16.8463|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 23:14:16.8463|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6.3137ms 204 2025-11-25 23:14:16.9557|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=6qz3jj4PkL3f1DiCAMetAfW1rv7qdjBYnQWxsj1i7+4= 0 2025-11-25 23:14:16.9557|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 23:14:16.9557|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 23:14:16.9557|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "RefreshToken", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] RefreshToken(System.String) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 23:14:16.9701|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 23:14:17.0098|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (23ms) [Parameters=[@__Token_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE [u].[Token] = @__Token_0 2025-11-25 23:14:17.0140|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'Microsoft.AspNetCore.Mvc.ProblemDetails'. 2025-11-25 23:14:17.0140|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.RefreshToken (Authentication) in 49.6067ms 2025-11-25 23:14:17.0140|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-11-25 23:14:17.0140|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 62.8295ms 401 application/problem+json; charset=utf-8 2025-11-25 23:14:36.8521|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignIn 2025-11-25 23:14:36.8555|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 23:14:36.8555|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6.0522ms 204 2025-11-25 23:14:36.9155|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignIn application/json 59 2025-11-25 23:14:36.9188|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 23:14:36.9188|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.SignIn (Authentication)' 2025-11-25 23:14:36.9188|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "SignIn", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] SignIn(Authentication.Data.Models.Identity.AuthBindingModel) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 23:14:36.9188|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 23:14:36.9629|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (30ms) [Parameters=[@__ToLower_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE LOWER([a].[UserName]) = @__ToLower_0 2025-11-25 23:14:36.9691|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__checkUser_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__checkUser_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) ORDER BY [u].[Id] DESC 2025-11-25 23:14:36.9813|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (6ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[NormalizedUserName] = @__normalizedUserName_0 2025-11-25 23:14:36.9813|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[ClaimType], [a].[ClaimValue], [a].[Discriminator], [a].[UserId] FROM [AspNetUserClaims] AS [a] WHERE [a].[Discriminator] IN (N'IdentityUserClaim', N'UserClaim') AND ([a].[UserId] = @__user_Id_0) 2025-11-25 23:14:36.9989|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 23:14:36.9989|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__normalizedName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[InstitutionId], [a].[IsActive], [a].[Name], [a].[NormalizedName], [a].[UpdatedBy], [a].[UserType] FROM [AspNetRoles] AS [a] WHERE [a].[NormalizedName] = @__normalizedName_0 2025-11-25 23:14:36.9989|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__role_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[ClaimType], [a].[ClaimValue] FROM [AspNetRoleClaims] AS [a] WHERE [a].[RoleId] = @__role_Id_0 2025-11-25 23:14:37.0155|10|INFO|Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationHandler|AuthenticationScheme: Identity.Application signed in. 2025-11-25 23:14:37.0155|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[NormalizedUserName] = @__normalizedUserName_0 2025-11-25 23:14:37.0414|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 23:14:37.0499|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [p].[Code] FROM [UserPermissions] AS [u] INNER JOIN [Permissions] AS [p] ON [u].[PermissionId] = [p].[Id] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 23:14:37.0670|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (11ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 23:14:37.0783|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p6='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [UserToken] SET [DateCreated] = @p0, [ExpiryDate] = @p1, [IsActive] = @p2, [SessionExpiryDate] = @p3, [Token] = @p4, [UserId] = @p5 WHERE [Id] = @p6; SELECT @@ROWCOUNT; 2025-11-25 23:14:37.0783|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; INSERT INTO [UserToken] ([DateCreated], [ExpiryDate], [IsActive], [SessionExpiryDate], [Token], [UserId]) VALUES (@p0, @p1, @p2, @p3, @p4, @p5); SELECT [Id] FROM [UserToken] WHERE @@ROWCOUNT = 1 AND [Id] = scope_identity(); 2025-11-25 23:14:37.0913|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-11-25 23:14:37.0913||INFO|Authentication.Controllers.AccountController|useramansaray@MOF role is gotten 2025-11-25 23:14:37.0913|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [u].[Id], [u].[CreatedBy], [u].[DateCreated], [u].[DateUpdated], [u].[IsActive], [u].[IsDeleted], [u].[PermissionId], [u].[RowVersion], [u].[UpdatedBy], [u].[UserId] FROM [UserPermissions] AS [u] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 23:14:37.0913|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 23:14:37.0913|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 23:14:37.0913|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 23:14:37.1051|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 23:14:37.1051|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 23:14:37.1051|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-11-25 23:14:37.1051||INFO|Authentication.Controllers.AccountController|user amansaray@MOF is signin but about to call corporate service 2025-11-25 23:14:37.1666|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'AuditTrailUtility.Utility.SaveResponse'. 2025-11-25 23:14:37.1699|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.SignIn (Authentication) in 243.8478ms 2025-11-25 23:14:37.1699|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.SignIn (Authentication)' 2025-11-25 23:14:37.1699|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 256.5814ms 200 application/json; charset=utf-8 2025-11-25 23:14:37.2483|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/Admin/GetAllUsersByCorporateId?corporateId=207 2025-11-25 23:14:37.2483|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 23:14:37.2483|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 2.9762ms 204 2025-11-25 23:14:37.6395|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/Admin/GetAllUsersByCorporateId?corporateId=207 2025-11-25 23:14:37.6395|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 23:14:37.6395|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.GetAllUsersByCorporateId (Authentication)' 2025-11-25 23:14:37.6395|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllUsersByCorporateId", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllUsersByCorporateId(Int64) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 23:14:37.6555|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 23:14:37.7132|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (54ms) [Parameters=[@__corporateId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[UserTypeId] = @__corporateId_0 2025-11-25 23:14:37.7221|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[Authentication.Data.Models.Identity.UserBindingModel, Authentication.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2025-11-25 23:14:37.7221|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.GetAllUsersByCorporateId (Authentication) in 73.4229ms 2025-11-25 23:14:37.7221|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.GetAllUsersByCorporateId (Authentication)' 2025-11-25 23:14:37.7301|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 90.5723ms 200 application/json; charset=utf-8 2025-11-25 23:35:34.2116|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://127.0.0.1:35695/AUTHENTICATIONSERVICE/iisintegration 0 2025-11-25 23:35:34.2116|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 3.8974ms 202 2025-11-25 23:47:21.7067||DEBUG|Authentication.Program|init main function 2025-11-25 23:47:25.9439|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 23:47:26.5697|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (16ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT 1 2025-11-25 23:47:26.5918|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (12ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT OBJECT_ID(N'[__EFMigrationsHistory]'); 2025-11-25 23:47:26.5979|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (3ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT 1 2025-11-25 23:47:26.5979|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT OBJECT_ID(N'[__EFMigrationsHistory]'); 2025-11-25 23:47:26.6144|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (3ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT [MigrationId], [ProductVersion] FROM [__EFMigrationsHistory] ORDER BY [MigrationId]; 2025-11-25 23:47:26.7405|20405|INFO|Microsoft.EntityFrameworkCore.Migrations|No migrations were applied. The database is already up to date. 2025-11-25 23:47:27.2972||INFO|Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager|User profile not available. Using 'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ASP.NET\4.0.30319.0\AutoGenKeys\S-1-5-82-2404559740-2321761809-584227669-3522060946-2110276425\DataProtection' as key repository and Windows DPAPI to encrypt keys at rest. 2025-11-25 23:47:27.4503|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignOut/564 2025-11-25 23:47:27.4503|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignOut/564 2025-11-25 23:47:27.4503|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignOut/564 2025-11-25 23:47:27.4503|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignOut/564 2025-11-25 23:47:27.4870|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 23:47:27.4870|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 23:47:27.4870|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 23:47:27.4870|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 23:47:27.4984|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 48.5752ms 204 2025-11-25 23:47:27.4984|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 48.5888ms 204 2025-11-25 23:47:27.4984|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 48.5936ms 204 2025-11-25 23:47:27.4984|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 48.634ms 204 2025-11-25 23:47:27.7055|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignOut/564 2025-11-25 23:47:27.7055|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 23:47:27.7212|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.SignOut (Authentication)' 2025-11-25 23:47:27.7472|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "SignOut", controller = "Account"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult SignOut(Int64) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 23:47:27.7561|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 23:47:27.9492|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (33ms) [Parameters=[@__UserId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__UserId_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 23:47:28.0754|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (4ms) [Parameters=[@p6='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [UserToken] SET [DateCreated] = @p0, [ExpiryDate] = @p1, [IsActive] = @p2, [SessionExpiryDate] = @p3, [Token] = @p4, [UserId] = @p5 WHERE [Id] = @p6; SELECT @@ROWCOUNT; 2025-11-25 23:47:28.0898|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'AuditTrailUtility.Utility.SaveResponse'. 2025-11-25 23:47:28.1636|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.SignOut (Authentication) in 411.5641ms 2025-11-25 23:47:28.1636|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.SignOut (Authentication)' 2025-11-25 23:47:28.1636|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 464.0913ms 200 application/json; charset=utf-8 2025-11-25 23:47:28.4079|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignOut/564 2025-11-25 23:47:28.4079|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 23:47:28.4079|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.SignOut (Authentication)' 2025-11-25 23:47:28.4079|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "SignOut", controller = "Account"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult SignOut(Int64) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 23:47:28.4467|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 23:47:28.4663|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (11ms) [Parameters=[@__UserId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__UserId_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 23:47:28.4709|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'AuditTrailUtility.Utility.SaveResponse'. 2025-11-25 23:47:28.4709|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.SignOut (Authentication) in 54.7254ms 2025-11-25 23:47:28.4709|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.SignOut (Authentication)' 2025-11-25 23:47:28.4709|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 69.0194ms 200 application/json; charset=utf-8 2025-11-25 23:47:28.5266|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignOut/564 2025-11-25 23:47:28.5302|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 23:47:28.5302|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.SignOut (Authentication)' 2025-11-25 23:47:28.5302|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "SignOut", controller = "Account"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult SignOut(Int64) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 23:47:28.5527|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 23:47:28.5677|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (7ms) [Parameters=[@__UserId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__UserId_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 23:47:28.5677|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'AuditTrailUtility.Utility.SaveResponse'. 2025-11-25 23:47:28.5677|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.SignOut (Authentication) in 27.8912ms 2025-11-25 23:47:28.5677|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.SignOut (Authentication)' 2025-11-25 23:47:28.5677|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 46.6169ms 200 application/json; charset=utf-8 2025-11-25 23:47:28.6480|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignOut/564 2025-11-25 23:47:28.6480|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-25 23:47:28.6480|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.SignOut (Authentication)' 2025-11-25 23:47:28.6547|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "SignOut", controller = "Account"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult SignOut(Int64) on controller Authentication.Controllers.AccountController (Authentication). 2025-11-25 23:47:28.6547|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-11-25 23:47:28.6547|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (6ms) [Parameters=[@__UserId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__UserId_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-11-25 23:47:28.6547|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'AuditTrailUtility.Utility.SaveResponse'. 2025-11-25 23:47:28.6547|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.SignOut (Authentication) in 12.9167ms 2025-11-25 23:47:28.6708|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.SignOut (Authentication)' 2025-11-25 23:47:28.6708|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 25.0095ms 200 application/json; charset=utf-8