Commit 06080c39 authored by nk161690's avatar nk161690

token validate

parent 1c07359f
{ {
"format": 1, "format": 1,
"restore": { "restore": {
"C:\\Users\\namkh\\FPT\\Summer 2023\\PRN221\\jwt\\EOS_Teacher\\API\\API.csproj": {} "C:\\Users\\namkh\\DemoTech\\jwt\\APIs\\API\\API.csproj": {}
}, },
"projects": { "projects": {
"C:\\Users\\namkh\\FPT\\Summer 2023\\PRN221\\jwt\\EOS_Teacher\\API\\API.csproj": { "C:\\Users\\namkh\\DemoTech\\jwt\\APIs\\API\\API.csproj": {
"version": "1.0.0", "version": "1.0.0",
"restore": { "restore": {
"projectUniqueName": "C:\\Users\\namkh\\FPT\\Summer 2023\\PRN221\\jwt\\EOS_Teacher\\API\\API.csproj", "projectUniqueName": "C:\\Users\\namkh\\DemoTech\\jwt\\APIs\\API\\API.csproj",
"projectName": "API", "projectName": "API",
"projectPath": "C:\\Users\\namkh\\FPT\\Summer 2023\\PRN221\\jwt\\EOS_Teacher\\API\\API.csproj", "projectPath": "C:\\Users\\namkh\\DemoTech\\jwt\\APIs\\API\\API.csproj",
"packagesPath": "C:\\Users\\namkh\\.nuget\\packages\\", "packagesPath": "C:\\Users\\namkh\\.nuget\\packages\\",
"outputPath": "C:\\Users\\namkh\\FPT\\Summer 2023\\PRN221\\jwt\\EOS_Teacher\\API\\obj\\", "outputPath": "C:\\Users\\namkh\\DemoTech\\jwt\\APIs\\API\\obj\\",
"projectStyle": "PackageReference", "projectStyle": "PackageReference",
"fallbackFolders": [ "fallbackFolders": [
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages" "C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
...@@ -31,8 +31,8 @@ ...@@ -31,8 +31,8 @@
"net6.0": { "net6.0": {
"targetAlias": "net6.0", "targetAlias": "net6.0",
"projectReferences": { "projectReferences": {
"C:\\Users\\namkh\\FPT\\Summer 2023\\PRN221\\jwt\\EOS_Teacher\\BusinessLayer\\BusinessLayer.csproj": { "C:\\Users\\namkh\\DemoTech\\jwt\\APIs\\BusinessLayer\\BusinessLayer.csproj": {
"projectPath": "C:\\Users\\namkh\\FPT\\Summer 2023\\PRN221\\jwt\\EOS_Teacher\\BusinessLayer\\BusinessLayer.csproj" "projectPath": "C:\\Users\\namkh\\DemoTech\\jwt\\APIs\\BusinessLayer\\BusinessLayer.csproj"
} }
} }
} }
...@@ -87,14 +87,14 @@ ...@@ -87,14 +87,14 @@
} }
} }
}, },
"C:\\Users\\namkh\\FPT\\Summer 2023\\PRN221\\jwt\\EOS_Teacher\\BusinessLayer\\BusinessLayer.csproj": { "C:\\Users\\namkh\\DemoTech\\jwt\\APIs\\BusinessLayer\\BusinessLayer.csproj": {
"version": "1.0.0", "version": "1.0.0",
"restore": { "restore": {
"projectUniqueName": "C:\\Users\\namkh\\FPT\\Summer 2023\\PRN221\\jwt\\EOS_Teacher\\BusinessLayer\\BusinessLayer.csproj", "projectUniqueName": "C:\\Users\\namkh\\DemoTech\\jwt\\APIs\\BusinessLayer\\BusinessLayer.csproj",
"projectName": "BusinessLayer", "projectName": "BusinessLayer",
"projectPath": "C:\\Users\\namkh\\FPT\\Summer 2023\\PRN221\\jwt\\EOS_Teacher\\BusinessLayer\\BusinessLayer.csproj", "projectPath": "C:\\Users\\namkh\\DemoTech\\jwt\\APIs\\BusinessLayer\\BusinessLayer.csproj",
"packagesPath": "C:\\Users\\namkh\\.nuget\\packages\\", "packagesPath": "C:\\Users\\namkh\\.nuget\\packages\\",
"outputPath": "C:\\Users\\namkh\\FPT\\Summer 2023\\PRN221\\jwt\\EOS_Teacher\\BusinessLayer\\obj\\", "outputPath": "C:\\Users\\namkh\\DemoTech\\jwt\\APIs\\BusinessLayer\\obj\\",
"projectStyle": "PackageReference", "projectStyle": "PackageReference",
"fallbackFolders": [ "fallbackFolders": [
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages" "C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
...@@ -114,8 +114,8 @@ ...@@ -114,8 +114,8 @@
"net6.0": { "net6.0": {
"targetAlias": "net6.0", "targetAlias": "net6.0",
"projectReferences": { "projectReferences": {
"C:\\Users\\namkh\\FPT\\Summer 2023\\PRN221\\jwt\\EOS_Teacher\\DataAccess\\DataAccess.csproj": { "C:\\Users\\namkh\\DemoTech\\jwt\\APIs\\DataAccess\\DataAccess.csproj": {
"projectPath": "C:\\Users\\namkh\\FPT\\Summer 2023\\PRN221\\jwt\\EOS_Teacher\\DataAccess\\DataAccess.csproj" "projectPath": "C:\\Users\\namkh\\DemoTech\\jwt\\APIs\\DataAccess\\DataAccess.csproj"
} }
} }
} }
...@@ -159,14 +159,14 @@ ...@@ -159,14 +159,14 @@
} }
} }
}, },
"C:\\Users\\namkh\\FPT\\Summer 2023\\PRN221\\jwt\\EOS_Teacher\\DataAccess\\DataAccess.csproj": { "C:\\Users\\namkh\\DemoTech\\jwt\\APIs\\DataAccess\\DataAccess.csproj": {
"version": "1.0.0", "version": "1.0.0",
"restore": { "restore": {
"projectUniqueName": "C:\\Users\\namkh\\FPT\\Summer 2023\\PRN221\\jwt\\EOS_Teacher\\DataAccess\\DataAccess.csproj", "projectUniqueName": "C:\\Users\\namkh\\DemoTech\\jwt\\APIs\\DataAccess\\DataAccess.csproj",
"projectName": "DataAccess", "projectName": "DataAccess",
"projectPath": "C:\\Users\\namkh\\FPT\\Summer 2023\\PRN221\\jwt\\EOS_Teacher\\DataAccess\\DataAccess.csproj", "projectPath": "C:\\Users\\namkh\\DemoTech\\jwt\\APIs\\DataAccess\\DataAccess.csproj",
"packagesPath": "C:\\Users\\namkh\\.nuget\\packages\\", "packagesPath": "C:\\Users\\namkh\\.nuget\\packages\\",
"outputPath": "C:\\Users\\namkh\\FPT\\Summer 2023\\PRN221\\jwt\\EOS_Teacher\\DataAccess\\obj\\", "outputPath": "C:\\Users\\namkh\\DemoTech\\jwt\\APIs\\DataAccess\\obj\\",
"projectStyle": "PackageReference", "projectStyle": "PackageReference",
"fallbackFolders": [ "fallbackFolders": [
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages" "C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
......
...@@ -9,9 +9,9 @@ build_property.EnforceExtendedAnalyzerRules = ...@@ -9,9 +9,9 @@ build_property.EnforceExtendedAnalyzerRules =
build_property._SupportedPlatformList = Linux,macOS,Windows build_property._SupportedPlatformList = Linux,macOS,Windows
build_property.RootNamespace = API build_property.RootNamespace = API
build_property.RootNamespace = API build_property.RootNamespace = API
build_property.ProjectDir = C:\Users\namkh\FPT\Summer 2023\PRN221\jwt\EOS_Teacher\API\ build_property.ProjectDir = C:\Users\namkh\DemoTech\jwt\APIs\API\
build_property.RazorLangVersion = 6.0 build_property.RazorLangVersion = 6.0
build_property.SupportLocalizedComponentNames = build_property.SupportLocalizedComponentNames =
build_property.GenerateRazorMetadataSourceChecksumAttributes = build_property.GenerateRazorMetadataSourceChecksumAttributes =
build_property.MSBuildProjectDirectory = C:\Users\namkh\FPT\Summer 2023\PRN221\jwt\EOS_Teacher\API build_property.MSBuildProjectDirectory = C:\Users\namkh\DemoTech\jwt\APIs\API
build_property._RazorSourceGeneratorDebug = build_property._RazorSourceGeneratorDebug =
a404e2fb5a65d0f4b6d5286f6e733512cc33da0d 485934864be027ad560bbc3603ca4b978986e7cd
...@@ -94,3 +94,99 @@ C:\Users\namkh\FPT\Summer 2023\PRN231\Project\EOS_Teacher\API\bin\Debug\net6.0\M ...@@ -94,3 +94,99 @@ C:\Users\namkh\FPT\Summer 2023\PRN231\Project\EOS_Teacher\API\bin\Debug\net6.0\M
C:\Users\namkh\FPT\Summer 2023\PRN231\Project\EOS_Teacher\API\bin\Debug\net6.0\Microsoft.AspNetCore.Identity.EntityFrameworkCore.dll C:\Users\namkh\FPT\Summer 2023\PRN231\Project\EOS_Teacher\API\bin\Debug\net6.0\Microsoft.AspNetCore.Identity.EntityFrameworkCore.dll
C:\Users\namkh\FPT\Summer 2023\PRN231\Project\EOS_Teacher\API\bin\Debug\net6.0\Microsoft.Extensions.Identity.Core.dll C:\Users\namkh\FPT\Summer 2023\PRN231\Project\EOS_Teacher\API\bin\Debug\net6.0\Microsoft.Extensions.Identity.Core.dll
C:\Users\namkh\FPT\Summer 2023\PRN231\Project\EOS_Teacher\API\bin\Debug\net6.0\Microsoft.Extensions.Identity.Stores.dll C:\Users\namkh\FPT\Summer 2023\PRN231\Project\EOS_Teacher\API\bin\Debug\net6.0\Microsoft.Extensions.Identity.Stores.dll
C:\Users\namkh\DemoTech\jwt\APIs\API\bin\Debug\net6.0\appsettings.Development.json
C:\Users\namkh\DemoTech\jwt\APIs\API\bin\Debug\net6.0\appsettings.json
C:\Users\namkh\DemoTech\jwt\APIs\API\bin\Debug\net6.0\API.exe
C:\Users\namkh\DemoTech\jwt\APIs\API\bin\Debug\net6.0\API.deps.json
C:\Users\namkh\DemoTech\jwt\APIs\API\bin\Debug\net6.0\API.runtimeconfig.json
C:\Users\namkh\DemoTech\jwt\APIs\API\bin\Debug\net6.0\API.dll
C:\Users\namkh\DemoTech\jwt\APIs\API\bin\Debug\net6.0\API.pdb
C:\Users\namkh\DemoTech\jwt\APIs\API\bin\Debug\net6.0\AutoMapper.dll
C:\Users\namkh\DemoTech\jwt\APIs\API\bin\Debug\net6.0\AutoMapper.Extensions.Microsoft.DependencyInjection.dll
C:\Users\namkh\DemoTech\jwt\APIs\API\bin\Debug\net6.0\Azure.Core.dll
C:\Users\namkh\DemoTech\jwt\APIs\API\bin\Debug\net6.0\Azure.Identity.dll
C:\Users\namkh\DemoTech\jwt\APIs\API\bin\Debug\net6.0\Microsoft.AspNetCore.Authentication.JwtBearer.dll
C:\Users\namkh\DemoTech\jwt\APIs\API\bin\Debug\net6.0\Microsoft.AspNetCore.Cryptography.Internal.dll
C:\Users\namkh\DemoTech\jwt\APIs\API\bin\Debug\net6.0\Microsoft.AspNetCore.Cryptography.KeyDerivation.dll
C:\Users\namkh\DemoTech\jwt\APIs\API\bin\Debug\net6.0\Microsoft.AspNetCore.Identity.EntityFrameworkCore.dll
C:\Users\namkh\DemoTech\jwt\APIs\API\bin\Debug\net6.0\Microsoft.AspNetCore.OData.dll
C:\Users\namkh\DemoTech\jwt\APIs\API\bin\Debug\net6.0\Microsoft.Bcl.AsyncInterfaces.dll
C:\Users\namkh\DemoTech\jwt\APIs\API\bin\Debug\net6.0\Microsoft.Data.SqlClient.dll
C:\Users\namkh\DemoTech\jwt\APIs\API\bin\Debug\net6.0\Microsoft.EntityFrameworkCore.dll
C:\Users\namkh\DemoTech\jwt\APIs\API\bin\Debug\net6.0\Microsoft.EntityFrameworkCore.Abstractions.dll
C:\Users\namkh\DemoTech\jwt\APIs\API\bin\Debug\net6.0\Microsoft.EntityFrameworkCore.Relational.dll
C:\Users\namkh\DemoTech\jwt\APIs\API\bin\Debug\net6.0\Microsoft.EntityFrameworkCore.SqlServer.dll
C:\Users\namkh\DemoTech\jwt\APIs\API\bin\Debug\net6.0\Microsoft.Extensions.Caching.Abstractions.dll
C:\Users\namkh\DemoTech\jwt\APIs\API\bin\Debug\net6.0\Microsoft.Extensions.Caching.Memory.dll
C:\Users\namkh\DemoTech\jwt\APIs\API\bin\Debug\net6.0\Microsoft.Extensions.Configuration.Abstractions.dll
C:\Users\namkh\DemoTech\jwt\APIs\API\bin\Debug\net6.0\Microsoft.Extensions.DependencyInjection.dll
C:\Users\namkh\DemoTech\jwt\APIs\API\bin\Debug\net6.0\Microsoft.Extensions.DependencyInjection.Abstractions.dll
C:\Users\namkh\DemoTech\jwt\APIs\API\bin\Debug\net6.0\Microsoft.Extensions.Identity.Core.dll
C:\Users\namkh\DemoTech\jwt\APIs\API\bin\Debug\net6.0\Microsoft.Extensions.Identity.Stores.dll
C:\Users\namkh\DemoTech\jwt\APIs\API\bin\Debug\net6.0\Microsoft.Extensions.Logging.dll
C:\Users\namkh\DemoTech\jwt\APIs\API\bin\Debug\net6.0\Microsoft.Extensions.Logging.Abstractions.dll
C:\Users\namkh\DemoTech\jwt\APIs\API\bin\Debug\net6.0\Microsoft.Extensions.Options.dll
C:\Users\namkh\DemoTech\jwt\APIs\API\bin\Debug\net6.0\Microsoft.Extensions.Primitives.dll
C:\Users\namkh\DemoTech\jwt\APIs\API\bin\Debug\net6.0\Microsoft.Identity.Client.dll
C:\Users\namkh\DemoTech\jwt\APIs\API\bin\Debug\net6.0\Microsoft.Identity.Client.Extensions.Msal.dll
C:\Users\namkh\DemoTech\jwt\APIs\API\bin\Debug\net6.0\Microsoft.IdentityModel.Abstractions.dll
C:\Users\namkh\DemoTech\jwt\APIs\API\bin\Debug\net6.0\Microsoft.IdentityModel.JsonWebTokens.dll
C:\Users\namkh\DemoTech\jwt\APIs\API\bin\Debug\net6.0\Microsoft.IdentityModel.Logging.dll
C:\Users\namkh\DemoTech\jwt\APIs\API\bin\Debug\net6.0\Microsoft.IdentityModel.Protocols.dll
C:\Users\namkh\DemoTech\jwt\APIs\API\bin\Debug\net6.0\Microsoft.IdentityModel.Protocols.OpenIdConnect.dll
C:\Users\namkh\DemoTech\jwt\APIs\API\bin\Debug\net6.0\Microsoft.IdentityModel.Tokens.dll
C:\Users\namkh\DemoTech\jwt\APIs\API\bin\Debug\net6.0\Microsoft.OData.Core.dll
C:\Users\namkh\DemoTech\jwt\APIs\API\bin\Debug\net6.0\Microsoft.OData.Edm.dll
C:\Users\namkh\DemoTech\jwt\APIs\API\bin\Debug\net6.0\Microsoft.OData.ModelBuilder.dll
C:\Users\namkh\DemoTech\jwt\APIs\API\bin\Debug\net6.0\Microsoft.OpenApi.dll
C:\Users\namkh\DemoTech\jwt\APIs\API\bin\Debug\net6.0\Microsoft.Spatial.dll
C:\Users\namkh\DemoTech\jwt\APIs\API\bin\Debug\net6.0\Microsoft.SqlServer.Server.dll
C:\Users\namkh\DemoTech\jwt\APIs\API\bin\Debug\net6.0\Microsoft.Win32.SystemEvents.dll
C:\Users\namkh\DemoTech\jwt\APIs\API\bin\Debug\net6.0\Swashbuckle.AspNetCore.Swagger.dll
C:\Users\namkh\DemoTech\jwt\APIs\API\bin\Debug\net6.0\Swashbuckle.AspNetCore.SwaggerGen.dll
C:\Users\namkh\DemoTech\jwt\APIs\API\bin\Debug\net6.0\Swashbuckle.AspNetCore.SwaggerUI.dll
C:\Users\namkh\DemoTech\jwt\APIs\API\bin\Debug\net6.0\System.Configuration.ConfigurationManager.dll
C:\Users\namkh\DemoTech\jwt\APIs\API\bin\Debug\net6.0\System.Drawing.Common.dll
C:\Users\namkh\DemoTech\jwt\APIs\API\bin\Debug\net6.0\System.IdentityModel.Tokens.Jwt.dll
C:\Users\namkh\DemoTech\jwt\APIs\API\bin\Debug\net6.0\System.Memory.Data.dll
C:\Users\namkh\DemoTech\jwt\APIs\API\bin\Debug\net6.0\System.Runtime.Caching.dll
C:\Users\namkh\DemoTech\jwt\APIs\API\bin\Debug\net6.0\System.Security.Cryptography.ProtectedData.dll
C:\Users\namkh\DemoTech\jwt\APIs\API\bin\Debug\net6.0\System.Security.Permissions.dll
C:\Users\namkh\DemoTech\jwt\APIs\API\bin\Debug\net6.0\System.Windows.Extensions.dll
C:\Users\namkh\DemoTech\jwt\APIs\API\bin\Debug\net6.0\runtimes\unix\lib\netcoreapp3.1\Microsoft.Data.SqlClient.dll
C:\Users\namkh\DemoTech\jwt\APIs\API\bin\Debug\net6.0\runtimes\win\lib\netcoreapp3.1\Microsoft.Data.SqlClient.dll
C:\Users\namkh\DemoTech\jwt\APIs\API\bin\Debug\net6.0\runtimes\win-arm\native\Microsoft.Data.SqlClient.SNI.dll
C:\Users\namkh\DemoTech\jwt\APIs\API\bin\Debug\net6.0\runtimes\win-arm64\native\Microsoft.Data.SqlClient.SNI.dll
C:\Users\namkh\DemoTech\jwt\APIs\API\bin\Debug\net6.0\runtimes\win-x64\native\Microsoft.Data.SqlClient.SNI.dll
C:\Users\namkh\DemoTech\jwt\APIs\API\bin\Debug\net6.0\runtimes\win-x86\native\Microsoft.Data.SqlClient.SNI.dll
C:\Users\namkh\DemoTech\jwt\APIs\API\bin\Debug\net6.0\runtimes\win\lib\netcoreapp3.0\Microsoft.Win32.SystemEvents.dll
C:\Users\namkh\DemoTech\jwt\APIs\API\bin\Debug\net6.0\runtimes\unix\lib\netcoreapp3.0\System.Drawing.Common.dll
C:\Users\namkh\DemoTech\jwt\APIs\API\bin\Debug\net6.0\runtimes\win\lib\netcoreapp3.0\System.Drawing.Common.dll
C:\Users\namkh\DemoTech\jwt\APIs\API\bin\Debug\net6.0\runtimes\win\lib\netstandard2.0\System.Runtime.Caching.dll
C:\Users\namkh\DemoTech\jwt\APIs\API\bin\Debug\net6.0\runtimes\win\lib\netstandard2.0\System.Security.Cryptography.ProtectedData.dll
C:\Users\namkh\DemoTech\jwt\APIs\API\bin\Debug\net6.0\runtimes\win\lib\netcoreapp3.0\System.Windows.Extensions.dll
C:\Users\namkh\DemoTech\jwt\APIs\API\bin\Debug\net6.0\BusinessLayer.dll
C:\Users\namkh\DemoTech\jwt\APIs\API\bin\Debug\net6.0\DataAccess.dll
C:\Users\namkh\DemoTech\jwt\APIs\API\bin\Debug\net6.0\BusinessLayer.pdb
C:\Users\namkh\DemoTech\jwt\APIs\API\bin\Debug\net6.0\DataAccess.pdb
C:\Users\namkh\DemoTech\jwt\APIs\API\obj\Debug\net6.0\API.csproj.AssemblyReference.cache
C:\Users\namkh\DemoTech\jwt\APIs\API\obj\Debug\net6.0\API.GeneratedMSBuildEditorConfig.editorconfig
C:\Users\namkh\DemoTech\jwt\APIs\API\obj\Debug\net6.0\API.AssemblyInfoInputs.cache
C:\Users\namkh\DemoTech\jwt\APIs\API\obj\Debug\net6.0\API.AssemblyInfo.cs
C:\Users\namkh\DemoTech\jwt\APIs\API\obj\Debug\net6.0\API.csproj.CoreCompileInputs.cache
C:\Users\namkh\DemoTech\jwt\APIs\API\obj\Debug\net6.0\API.MvcApplicationPartsAssemblyInfo.cs
C:\Users\namkh\DemoTech\jwt\APIs\API\obj\Debug\net6.0\API.MvcApplicationPartsAssemblyInfo.cache
C:\Users\namkh\DemoTech\jwt\APIs\API\obj\Debug\net6.0\staticwebassets\msbuild.API.Microsoft.AspNetCore.StaticWebAssets.props
C:\Users\namkh\DemoTech\jwt\APIs\API\obj\Debug\net6.0\staticwebassets\msbuild.build.API.props
C:\Users\namkh\DemoTech\jwt\APIs\API\obj\Debug\net6.0\staticwebassets\msbuild.buildMultiTargeting.API.props
C:\Users\namkh\DemoTech\jwt\APIs\API\obj\Debug\net6.0\staticwebassets\msbuild.buildTransitive.API.props
C:\Users\namkh\DemoTech\jwt\APIs\API\obj\Debug\net6.0\staticwebassets.pack.json
C:\Users\namkh\DemoTech\jwt\APIs\API\obj\Debug\net6.0\staticwebassets.build.json
C:\Users\namkh\DemoTech\jwt\APIs\API\obj\Debug\net6.0\staticwebassets.development.json
C:\Users\namkh\DemoTech\jwt\APIs\API\obj\Debug\net6.0\scopedcss\bundle\API.styles.css
C:\Users\namkh\DemoTech\jwt\APIs\API\obj\Debug\net6.0\API.csproj.CopyComplete
C:\Users\namkh\DemoTech\jwt\APIs\API\obj\Debug\net6.0\API.dll
C:\Users\namkh\DemoTech\jwt\APIs\API\obj\Debug\net6.0\refint\API.dll
C:\Users\namkh\DemoTech\jwt\APIs\API\obj\Debug\net6.0\API.pdb
C:\Users\namkh\DemoTech\jwt\APIs\API\obj\Debug\net6.0\API.genruntimeconfig.cache
C:\Users\namkh\DemoTech\jwt\APIs\API\obj\Debug\net6.0\ref\API.dll
75c41b630e8995789f51cfbe22f398da85ec3e15 0e46bd697f8bc5d5cbfa31d1484971588993b8a0
...@@ -4236,11 +4236,11 @@ ...@@ -4236,11 +4236,11 @@
"project": { "project": {
"version": "1.0.0", "version": "1.0.0",
"restore": { "restore": {
"projectUniqueName": "C:\\Users\\namkh\\FPT\\Summer 2023\\PRN221\\jwt\\EOS_Teacher\\API\\API.csproj", "projectUniqueName": "C:\\Users\\namkh\\DemoTech\\jwt\\APIs\\API\\API.csproj",
"projectName": "API", "projectName": "API",
"projectPath": "C:\\Users\\namkh\\FPT\\Summer 2023\\PRN221\\jwt\\EOS_Teacher\\API\\API.csproj", "projectPath": "C:\\Users\\namkh\\DemoTech\\jwt\\APIs\\API\\API.csproj",
"packagesPath": "C:\\Users\\namkh\\.nuget\\packages\\", "packagesPath": "C:\\Users\\namkh\\.nuget\\packages\\",
"outputPath": "C:\\Users\\namkh\\FPT\\Summer 2023\\PRN221\\jwt\\EOS_Teacher\\API\\obj\\", "outputPath": "C:\\Users\\namkh\\DemoTech\\jwt\\APIs\\API\\obj\\",
"projectStyle": "PackageReference", "projectStyle": "PackageReference",
"fallbackFolders": [ "fallbackFolders": [
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages" "C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
...@@ -4260,8 +4260,8 @@ ...@@ -4260,8 +4260,8 @@
"net6.0": { "net6.0": {
"targetAlias": "net6.0", "targetAlias": "net6.0",
"projectReferences": { "projectReferences": {
"C:\\Users\\namkh\\FPT\\Summer 2023\\PRN221\\jwt\\EOS_Teacher\\BusinessLayer\\BusinessLayer.csproj": { "C:\\Users\\namkh\\DemoTech\\jwt\\APIs\\BusinessLayer\\BusinessLayer.csproj": {
"projectPath": "C:\\Users\\namkh\\FPT\\Summer 2023\\PRN221\\jwt\\EOS_Teacher\\BusinessLayer\\BusinessLayer.csproj" "projectPath": "C:\\Users\\namkh\\DemoTech\\jwt\\APIs\\BusinessLayer\\BusinessLayer.csproj"
} }
} }
} }
......
{ {
"version": 2, "version": 2,
"dgSpecHash": "+beO4XUTWMTJoHjPWPwMHHX5bssrJ3GVHVJiozQJ7A628ntlYC+C9ghbQh7U/HB8juJZ+HnDJX5YHgjsOTB5Lg==", "dgSpecHash": "UlB6faDiPc9QNcPCRz4t3E1v9ltBb6NZQG8YPs+wd0b6sYqlGUstet9GaW0DWzEPZba5SR2haetNhuApWZitKA==",
"success": true, "success": true,
"projectFilePath": "C:\\Users\\namkh\\FPT\\Summer 2023\\PRN221\\jwt\\EOS_Teacher\\API\\API.csproj", "projectFilePath": "C:\\Users\\namkh\\DemoTech\\jwt\\APIs\\API\\API.csproj",
"expectedPackageFiles": [ "expectedPackageFiles": [
"C:\\Users\\namkh\\.nuget\\packages\\automapper\\12.0.1\\automapper.12.0.1.nupkg.sha512", "C:\\Users\\namkh\\.nuget\\packages\\automapper\\12.0.1\\automapper.12.0.1.nupkg.sha512",
"C:\\Users\\namkh\\.nuget\\packages\\automapper.extensions.microsoft.dependencyinjection\\12.0.1\\automapper.extensions.microsoft.dependencyinjection.12.0.1.nupkg.sha512", "C:\\Users\\namkh\\.nuget\\packages\\automapper.extensions.microsoft.dependencyinjection\\12.0.1\\automapper.extensions.microsoft.dependencyinjection.12.0.1.nupkg.sha512",
......
{ {
"format": 1, "format": 1,
"restore": { "restore": {
"C:\\Users\\namkh\\FPT\\Summer 2023\\PRN221\\jwt\\EOS_Teacher\\BusinessLayer\\BusinessLayer.csproj": {} "C:\\Users\\namkh\\DemoTech\\jwt\\APIs\\BusinessLayer\\BusinessLayer.csproj": {}
}, },
"projects": { "projects": {
"C:\\Users\\namkh\\FPT\\Summer 2023\\PRN221\\jwt\\EOS_Teacher\\BusinessLayer\\BusinessLayer.csproj": { "C:\\Users\\namkh\\DemoTech\\jwt\\APIs\\BusinessLayer\\BusinessLayer.csproj": {
"version": "1.0.0", "version": "1.0.0",
"restore": { "restore": {
"projectUniqueName": "C:\\Users\\namkh\\FPT\\Summer 2023\\PRN221\\jwt\\EOS_Teacher\\BusinessLayer\\BusinessLayer.csproj", "projectUniqueName": "C:\\Users\\namkh\\DemoTech\\jwt\\APIs\\BusinessLayer\\BusinessLayer.csproj",
"projectName": "BusinessLayer", "projectName": "BusinessLayer",
"projectPath": "C:\\Users\\namkh\\FPT\\Summer 2023\\PRN221\\jwt\\EOS_Teacher\\BusinessLayer\\BusinessLayer.csproj", "projectPath": "C:\\Users\\namkh\\DemoTech\\jwt\\APIs\\BusinessLayer\\BusinessLayer.csproj",
"packagesPath": "C:\\Users\\namkh\\.nuget\\packages\\", "packagesPath": "C:\\Users\\namkh\\.nuget\\packages\\",
"outputPath": "C:\\Users\\namkh\\FPT\\Summer 2023\\PRN221\\jwt\\EOS_Teacher\\BusinessLayer\\obj\\", "outputPath": "C:\\Users\\namkh\\DemoTech\\jwt\\APIs\\BusinessLayer\\obj\\",
"projectStyle": "PackageReference", "projectStyle": "PackageReference",
"fallbackFolders": [ "fallbackFolders": [
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages" "C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
...@@ -31,8 +31,8 @@ ...@@ -31,8 +31,8 @@
"net6.0": { "net6.0": {
"targetAlias": "net6.0", "targetAlias": "net6.0",
"projectReferences": { "projectReferences": {
"C:\\Users\\namkh\\FPT\\Summer 2023\\PRN221\\jwt\\EOS_Teacher\\DataAccess\\DataAccess.csproj": { "C:\\Users\\namkh\\DemoTech\\jwt\\APIs\\DataAccess\\DataAccess.csproj": {
"projectPath": "C:\\Users\\namkh\\FPT\\Summer 2023\\PRN221\\jwt\\EOS_Teacher\\DataAccess\\DataAccess.csproj" "projectPath": "C:\\Users\\namkh\\DemoTech\\jwt\\APIs\\DataAccess\\DataAccess.csproj"
} }
} }
} }
...@@ -76,14 +76,14 @@ ...@@ -76,14 +76,14 @@
} }
} }
}, },
"C:\\Users\\namkh\\FPT\\Summer 2023\\PRN221\\jwt\\EOS_Teacher\\DataAccess\\DataAccess.csproj": { "C:\\Users\\namkh\\DemoTech\\jwt\\APIs\\DataAccess\\DataAccess.csproj": {
"version": "1.0.0", "version": "1.0.0",
"restore": { "restore": {
"projectUniqueName": "C:\\Users\\namkh\\FPT\\Summer 2023\\PRN221\\jwt\\EOS_Teacher\\DataAccess\\DataAccess.csproj", "projectUniqueName": "C:\\Users\\namkh\\DemoTech\\jwt\\APIs\\DataAccess\\DataAccess.csproj",
"projectName": "DataAccess", "projectName": "DataAccess",
"projectPath": "C:\\Users\\namkh\\FPT\\Summer 2023\\PRN221\\jwt\\EOS_Teacher\\DataAccess\\DataAccess.csproj", "projectPath": "C:\\Users\\namkh\\DemoTech\\jwt\\APIs\\DataAccess\\DataAccess.csproj",
"packagesPath": "C:\\Users\\namkh\\.nuget\\packages\\", "packagesPath": "C:\\Users\\namkh\\.nuget\\packages\\",
"outputPath": "C:\\Users\\namkh\\FPT\\Summer 2023\\PRN221\\jwt\\EOS_Teacher\\DataAccess\\obj\\", "outputPath": "C:\\Users\\namkh\\DemoTech\\jwt\\APIs\\DataAccess\\obj\\",
"projectStyle": "PackageReference", "projectStyle": "PackageReference",
"fallbackFolders": [ "fallbackFolders": [
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages" "C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
......
...@@ -8,4 +8,4 @@ build_property.PlatformNeutralAssembly = ...@@ -8,4 +8,4 @@ build_property.PlatformNeutralAssembly =
build_property.EnforceExtendedAnalyzerRules = build_property.EnforceExtendedAnalyzerRules =
build_property._SupportedPlatformList = Linux,macOS,Windows build_property._SupportedPlatformList = Linux,macOS,Windows
build_property.RootNamespace = BusinessLayer build_property.RootNamespace = BusinessLayer
build_property.ProjectDir = C:\Users\namkh\FPT\Summer 2023\PRN221\jwt\EOS_Teacher\BusinessLayer\ build_property.ProjectDir = C:\Users\namkh\DemoTech\jwt\APIs\BusinessLayer\
e1f724b858ab171fee7b9729277b84daa3cb3d01 066a12ef69058e45e1f1c7c95bb414155428e9d9
...@@ -13,3 +13,18 @@ C:\Users\namkh\FPT\Summer 2023\PRN231\Project\EOS_Teacher\BusinessLayer\obj\Debu ...@@ -13,3 +13,18 @@ C:\Users\namkh\FPT\Summer 2023\PRN231\Project\EOS_Teacher\BusinessLayer\obj\Debu
C:\Users\namkh\FPT\Summer 2023\PRN231\Project\EOS_Teacher\BusinessLayer\obj\Debug\net6.0\refint\BusinessLayer.dll C:\Users\namkh\FPT\Summer 2023\PRN231\Project\EOS_Teacher\BusinessLayer\obj\Debug\net6.0\refint\BusinessLayer.dll
C:\Users\namkh\FPT\Summer 2023\PRN231\Project\EOS_Teacher\BusinessLayer\obj\Debug\net6.0\BusinessLayer.pdb C:\Users\namkh\FPT\Summer 2023\PRN231\Project\EOS_Teacher\BusinessLayer\obj\Debug\net6.0\BusinessLayer.pdb
C:\Users\namkh\FPT\Summer 2023\PRN231\Project\EOS_Teacher\BusinessLayer\obj\Debug\net6.0\ref\BusinessLayer.dll C:\Users\namkh\FPT\Summer 2023\PRN231\Project\EOS_Teacher\BusinessLayer\obj\Debug\net6.0\ref\BusinessLayer.dll
C:\Users\namkh\DemoTech\jwt\APIs\BusinessLayer\bin\Debug\net6.0\BusinessLayer.deps.json
C:\Users\namkh\DemoTech\jwt\APIs\BusinessLayer\bin\Debug\net6.0\BusinessLayer.dll
C:\Users\namkh\DemoTech\jwt\APIs\BusinessLayer\bin\Debug\net6.0\BusinessLayer.pdb
C:\Users\namkh\DemoTech\jwt\APIs\BusinessLayer\bin\Debug\net6.0\DataAccess.dll
C:\Users\namkh\DemoTech\jwt\APIs\BusinessLayer\bin\Debug\net6.0\DataAccess.pdb
C:\Users\namkh\DemoTech\jwt\APIs\BusinessLayer\obj\Debug\net6.0\BusinessLayer.csproj.AssemblyReference.cache
C:\Users\namkh\DemoTech\jwt\APIs\BusinessLayer\obj\Debug\net6.0\BusinessLayer.GeneratedMSBuildEditorConfig.editorconfig
C:\Users\namkh\DemoTech\jwt\APIs\BusinessLayer\obj\Debug\net6.0\BusinessLayer.AssemblyInfoInputs.cache
C:\Users\namkh\DemoTech\jwt\APIs\BusinessLayer\obj\Debug\net6.0\BusinessLayer.AssemblyInfo.cs
C:\Users\namkh\DemoTech\jwt\APIs\BusinessLayer\obj\Debug\net6.0\BusinessLayer.csproj.CoreCompileInputs.cache
C:\Users\namkh\DemoTech\jwt\APIs\BusinessLayer\obj\Debug\net6.0\BusinessLayer.csproj.CopyComplete
C:\Users\namkh\DemoTech\jwt\APIs\BusinessLayer\obj\Debug\net6.0\BusinessLayer.dll
C:\Users\namkh\DemoTech\jwt\APIs\BusinessLayer\obj\Debug\net6.0\refint\BusinessLayer.dll
C:\Users\namkh\DemoTech\jwt\APIs\BusinessLayer\obj\Debug\net6.0\BusinessLayer.pdb
C:\Users\namkh\DemoTech\jwt\APIs\BusinessLayer\obj\Debug\net6.0\ref\BusinessLayer.dll
...@@ -3308,11 +3308,11 @@ ...@@ -3308,11 +3308,11 @@
"project": { "project": {
"version": "1.0.0", "version": "1.0.0",
"restore": { "restore": {
"projectUniqueName": "C:\\Users\\namkh\\FPT\\Summer 2023\\PRN221\\jwt\\EOS_Teacher\\BusinessLayer\\BusinessLayer.csproj", "projectUniqueName": "C:\\Users\\namkh\\DemoTech\\jwt\\APIs\\BusinessLayer\\BusinessLayer.csproj",
"projectName": "BusinessLayer", "projectName": "BusinessLayer",
"projectPath": "C:\\Users\\namkh\\FPT\\Summer 2023\\PRN221\\jwt\\EOS_Teacher\\BusinessLayer\\BusinessLayer.csproj", "projectPath": "C:\\Users\\namkh\\DemoTech\\jwt\\APIs\\BusinessLayer\\BusinessLayer.csproj",
"packagesPath": "C:\\Users\\namkh\\.nuget\\packages\\", "packagesPath": "C:\\Users\\namkh\\.nuget\\packages\\",
"outputPath": "C:\\Users\\namkh\\FPT\\Summer 2023\\PRN221\\jwt\\EOS_Teacher\\BusinessLayer\\obj\\", "outputPath": "C:\\Users\\namkh\\DemoTech\\jwt\\APIs\\BusinessLayer\\obj\\",
"projectStyle": "PackageReference", "projectStyle": "PackageReference",
"fallbackFolders": [ "fallbackFolders": [
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages" "C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
...@@ -3332,8 +3332,8 @@ ...@@ -3332,8 +3332,8 @@
"net6.0": { "net6.0": {
"targetAlias": "net6.0", "targetAlias": "net6.0",
"projectReferences": { "projectReferences": {
"C:\\Users\\namkh\\FPT\\Summer 2023\\PRN221\\jwt\\EOS_Teacher\\DataAccess\\DataAccess.csproj": { "C:\\Users\\namkh\\DemoTech\\jwt\\APIs\\DataAccess\\DataAccess.csproj": {
"projectPath": "C:\\Users\\namkh\\FPT\\Summer 2023\\PRN221\\jwt\\EOS_Teacher\\DataAccess\\DataAccess.csproj" "projectPath": "C:\\Users\\namkh\\DemoTech\\jwt\\APIs\\DataAccess\\DataAccess.csproj"
} }
} }
} }
......
{ {
"version": 2, "version": 2,
"dgSpecHash": "lCIRo49MMo8te2g07OvyqJM+PeYSww1MW3s23iUelfNtwmXDbXC9vN8TQDtc9LEm8xrdBNWvHYsUezrYn3MmUA==", "dgSpecHash": "4qN9l+/A68HuMyM5PHp0hzV3uHBrbYMXQ/TfQguPuXP9fBN/9/em8hOdXyFhCQVq7gJJHwPkNHUIHgcrl5SJeg==",
"success": true, "success": true,
"projectFilePath": "C:\\Users\\namkh\\FPT\\Summer 2023\\PRN221\\jwt\\EOS_Teacher\\BusinessLayer\\BusinessLayer.csproj", "projectFilePath": "C:\\Users\\namkh\\DemoTech\\jwt\\APIs\\BusinessLayer\\BusinessLayer.csproj",
"expectedPackageFiles": [ "expectedPackageFiles": [
"C:\\Users\\namkh\\.nuget\\packages\\automapper\\12.0.1\\automapper.12.0.1.nupkg.sha512", "C:\\Users\\namkh\\.nuget\\packages\\automapper\\12.0.1\\automapper.12.0.1.nupkg.sha512",
"C:\\Users\\namkh\\.nuget\\packages\\automapper.extensions.microsoft.dependencyinjection\\12.0.1\\automapper.extensions.microsoft.dependencyinjection.12.0.1.nupkg.sha512", "C:\\Users\\namkh\\.nuget\\packages\\automapper.extensions.microsoft.dependencyinjection\\12.0.1\\automapper.extensions.microsoft.dependencyinjection.12.0.1.nupkg.sha512",
......
{ {
"format": 1, "format": 1,
"restore": { "restore": {
"C:\\Users\\namkh\\FPT\\Summer 2023\\PRN221\\jwt\\EOS_Teacher\\DataAccess\\DataAccess.csproj": {} "C:\\Users\\namkh\\DemoTech\\jwt\\APIs\\DataAccess\\DataAccess.csproj": {}
}, },
"projects": { "projects": {
"C:\\Users\\namkh\\FPT\\Summer 2023\\PRN221\\jwt\\EOS_Teacher\\DataAccess\\DataAccess.csproj": { "C:\\Users\\namkh\\DemoTech\\jwt\\APIs\\DataAccess\\DataAccess.csproj": {
"version": "1.0.0", "version": "1.0.0",
"restore": { "restore": {
"projectUniqueName": "C:\\Users\\namkh\\FPT\\Summer 2023\\PRN221\\jwt\\EOS_Teacher\\DataAccess\\DataAccess.csproj", "projectUniqueName": "C:\\Users\\namkh\\DemoTech\\jwt\\APIs\\DataAccess\\DataAccess.csproj",
"projectName": "DataAccess", "projectName": "DataAccess",
"projectPath": "C:\\Users\\namkh\\FPT\\Summer 2023\\PRN221\\jwt\\EOS_Teacher\\DataAccess\\DataAccess.csproj", "projectPath": "C:\\Users\\namkh\\DemoTech\\jwt\\APIs\\DataAccess\\DataAccess.csproj",
"packagesPath": "C:\\Users\\namkh\\.nuget\\packages\\", "packagesPath": "C:\\Users\\namkh\\.nuget\\packages\\",
"outputPath": "C:\\Users\\namkh\\FPT\\Summer 2023\\PRN221\\jwt\\EOS_Teacher\\DataAccess\\obj\\", "outputPath": "C:\\Users\\namkh\\DemoTech\\jwt\\APIs\\DataAccess\\obj\\",
"projectStyle": "PackageReference", "projectStyle": "PackageReference",
"fallbackFolders": [ "fallbackFolders": [
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages" "C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
......
...@@ -8,4 +8,4 @@ build_property.PlatformNeutralAssembly = ...@@ -8,4 +8,4 @@ build_property.PlatformNeutralAssembly =
build_property.EnforceExtendedAnalyzerRules = build_property.EnforceExtendedAnalyzerRules =
build_property._SupportedPlatformList = Linux,macOS,Windows build_property._SupportedPlatformList = Linux,macOS,Windows
build_property.RootNamespace = DataAccess build_property.RootNamespace = DataAccess
build_property.ProjectDir = C:\Users\namkh\FPT\Summer 2023\PRN221\jwt\EOS_Teacher\DataAccess\ build_property.ProjectDir = C:\Users\namkh\DemoTech\jwt\APIs\DataAccess\
...@@ -12,3 +12,17 @@ C:\Users\namkh\FPT\Summer 2023\PRN231\Project\EOS_Teacher\DataAccess\obj\Debug\n ...@@ -12,3 +12,17 @@ C:\Users\namkh\FPT\Summer 2023\PRN231\Project\EOS_Teacher\DataAccess\obj\Debug\n
C:\Users\namkh\FPT\Summer 2023\PRN231\Project\EOS_Teacher\DataAccess\obj\Debug\net6.0\DataAccess.pdb C:\Users\namkh\FPT\Summer 2023\PRN231\Project\EOS_Teacher\DataAccess\obj\Debug\net6.0\DataAccess.pdb
C:\Users\namkh\FPT\Summer 2023\PRN231\Project\EOS_Teacher\DataAccess\obj\Debug\net6.0\DataAccess.genruntimeconfig.cache C:\Users\namkh\FPT\Summer 2023\PRN231\Project\EOS_Teacher\DataAccess\obj\Debug\net6.0\DataAccess.genruntimeconfig.cache
C:\Users\namkh\FPT\Summer 2023\PRN231\Project\EOS_Teacher\DataAccess\obj\Debug\net6.0\ref\DataAccess.dll C:\Users\namkh\FPT\Summer 2023\PRN231\Project\EOS_Teacher\DataAccess\obj\Debug\net6.0\ref\DataAccess.dll
C:\Users\namkh\DemoTech\jwt\APIs\DataAccess\bin\Debug\net6.0\DataAccess.deps.json
C:\Users\namkh\DemoTech\jwt\APIs\DataAccess\bin\Debug\net6.0\DataAccess.runtimeconfig.json
C:\Users\namkh\DemoTech\jwt\APIs\DataAccess\bin\Debug\net6.0\DataAccess.dll
C:\Users\namkh\DemoTech\jwt\APIs\DataAccess\bin\Debug\net6.0\DataAccess.pdb
C:\Users\namkh\DemoTech\jwt\APIs\DataAccess\obj\Debug\net6.0\DataAccess.csproj.AssemblyReference.cache
C:\Users\namkh\DemoTech\jwt\APIs\DataAccess\obj\Debug\net6.0\DataAccess.GeneratedMSBuildEditorConfig.editorconfig
C:\Users\namkh\DemoTech\jwt\APIs\DataAccess\obj\Debug\net6.0\DataAccess.AssemblyInfoInputs.cache
C:\Users\namkh\DemoTech\jwt\APIs\DataAccess\obj\Debug\net6.0\DataAccess.AssemblyInfo.cs
C:\Users\namkh\DemoTech\jwt\APIs\DataAccess\obj\Debug\net6.0\DataAccess.csproj.CoreCompileInputs.cache
C:\Users\namkh\DemoTech\jwt\APIs\DataAccess\obj\Debug\net6.0\DataAccess.dll
C:\Users\namkh\DemoTech\jwt\APIs\DataAccess\obj\Debug\net6.0\refint\DataAccess.dll
C:\Users\namkh\DemoTech\jwt\APIs\DataAccess\obj\Debug\net6.0\DataAccess.pdb
C:\Users\namkh\DemoTech\jwt\APIs\DataAccess\obj\Debug\net6.0\DataAccess.genruntimeconfig.cache
C:\Users\namkh\DemoTech\jwt\APIs\DataAccess\obj\Debug\net6.0\ref\DataAccess.dll
5872e6d040e12290ea484294d2a597a3a3e6f155 2b4cd8f98726f25cb802ec8a4a21e0a71aff5e31
...@@ -3516,11 +3516,11 @@ ...@@ -3516,11 +3516,11 @@
"project": { "project": {
"version": "1.0.0", "version": "1.0.0",
"restore": { "restore": {
"projectUniqueName": "C:\\Users\\namkh\\FPT\\Summer 2023\\PRN221\\jwt\\EOS_Teacher\\DataAccess\\DataAccess.csproj", "projectUniqueName": "C:\\Users\\namkh\\DemoTech\\jwt\\APIs\\DataAccess\\DataAccess.csproj",
"projectName": "DataAccess", "projectName": "DataAccess",
"projectPath": "C:\\Users\\namkh\\FPT\\Summer 2023\\PRN221\\jwt\\EOS_Teacher\\DataAccess\\DataAccess.csproj", "projectPath": "C:\\Users\\namkh\\DemoTech\\jwt\\APIs\\DataAccess\\DataAccess.csproj",
"packagesPath": "C:\\Users\\namkh\\.nuget\\packages\\", "packagesPath": "C:\\Users\\namkh\\.nuget\\packages\\",
"outputPath": "C:\\Users\\namkh\\FPT\\Summer 2023\\PRN221\\jwt\\EOS_Teacher\\DataAccess\\obj\\", "outputPath": "C:\\Users\\namkh\\DemoTech\\jwt\\APIs\\DataAccess\\obj\\",
"projectStyle": "PackageReference", "projectStyle": "PackageReference",
"fallbackFolders": [ "fallbackFolders": [
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages" "C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
......
{ {
"version": 2, "version": 2,
"dgSpecHash": "EICv2eV1jN2c2mfJLr9WNp2SMVVy/48HcPm+mtYMWtw2tykAzO2BhtAcuepTdWxm06avFjKlYH9G4OE9UWmKRg==", "dgSpecHash": "JpIz+CACuVYP165gQhOcmJoxtPLjQu9z7h1sjUWx36K++RAQa8hc1ZlE0u9HssM1D5fqWK9mGqAk7wWDqTIxDg==",
"success": true, "success": true,
"projectFilePath": "C:\\Users\\namkh\\FPT\\Summer 2023\\PRN221\\jwt\\EOS_Teacher\\DataAccess\\DataAccess.csproj", "projectFilePath": "C:\\Users\\namkh\\DemoTech\\jwt\\APIs\\DataAccess\\DataAccess.csproj",
"expectedPackageFiles": [ "expectedPackageFiles": [
"C:\\Users\\namkh\\.nuget\\packages\\azure.core\\1.24.0\\azure.core.1.24.0.nupkg.sha512", "C:\\Users\\namkh\\.nuget\\packages\\azure.core\\1.24.0\\azure.core.1.24.0.nupkg.sha512",
"C:\\Users\\namkh\\.nuget\\packages\\azure.identity\\1.6.0\\azure.identity.1.6.0.nupkg.sha512", "C:\\Users\\namkh\\.nuget\\packages\\azure.identity\\1.6.0\\azure.identity.1.6.0.nupkg.sha512",
......
{
"version": "1.0",
"components": [
"Microsoft.VisualStudio.Workload.ManagedGame"
]
}
...@@ -6,14 +6,18 @@ using System.Collections.Generic; ...@@ -6,14 +6,18 @@ using System.Collections.Generic;
using Photon.Realtime; using Photon.Realtime;
using Photon.Pun; using Photon.Pun;
using UnityEngine.Networking; using UnityEngine.Networking;
using ExitGames.Client.Photon;
using System.Text;
using Unity.VisualScripting.Antlr3.Runtime;
using UnityEditor.PackageManager;
public class Login : MonoBehaviour, IConnectionCallbacks public class Login : MonoBehaviourPunCallbacks
{ {
[SerializeField] private TextMeshProUGUI username; [SerializeField] private TextMeshProUGUI username;
[SerializeField] private TextMeshProUGUI password; [SerializeField] private TextMeshProUGUI password;
[SerializeField] private TextMeshProUGUI message; [SerializeField] private TextMeshProUGUI message;
private string authToken = ""; private readonly string baseURL = "http://localhost:5172/User/";
[System.Serializable] [System.Serializable]
public class RespondMessage public class RespondMessage
...@@ -25,15 +29,13 @@ public class Login : MonoBehaviour, IConnectionCallbacks ...@@ -25,15 +29,13 @@ public class Login : MonoBehaviour, IConnectionCallbacks
public async void CallLoginAPI() public async void CallLoginAPI()
{ {
string baseURL = "http://localhost:5172"; string endpoint = "Login";
string endpoint = "/User/Login";
string email = CleanInput(username.text.Trim()); string email = CleanInput(username.text.Trim());
string pwd = CleanInput(password.text.Trim()); string pwd = CleanInput(password.text.Trim());
using (HttpClient client = new HttpClient()) using (HttpClient client = new HttpClient())
{ {
string apiUrl = $"{baseURL}{endpoint}?email={email}&pwd={pwd}"; string apiUrl = $"{baseURL}{endpoint}?email={email}&pwd={pwd}";
//Debug.Log(apiUrl.Trim().Equals("http://localhost:5172/User/Login?email=admin&pwd=admin"));
using (HttpResponseMessage res = await client.GetAsync(apiUrl)) using (HttpResponseMessage res = await client.GetAsync(apiUrl))
{ {
...@@ -43,18 +45,11 @@ public class Login : MonoBehaviour, IConnectionCallbacks ...@@ -43,18 +45,11 @@ public class Login : MonoBehaviour, IConnectionCallbacks
RespondMessage respondMessage = JsonConvert.DeserializeObject<RespondMessage>(data); RespondMessage respondMessage = JsonConvert.DeserializeObject<RespondMessage>(data);
if (respondMessage.Success) if (respondMessage.Success)
{ {
authToken = respondMessage.Data.ToString(); //AuthenticateWithPhoton("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9
//AuthenticateWithToken("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6ImFkbWluIiwicm9sZSI6IjAiLCJUb2tlbklkIjoiYjcxOWIxYzEtNmI4MC00N2U1LThjMGQtYjU4ZTAyN2UyMmE4IiwibmJmIjoxNjkwNDUzMTc3LCJleHAiOjE2OTA0NTQ5NzcsImlhdCI6MTY5MDQ1MzE3N30.W-0PXJ9GAmwOOXlKi8cEr3lBkwx9rGbpLKCCUYJkyCA"); //.eyJlbWFpbCI6ImFkbWluIiwicm9sZSI6IjAiLCJUb2tlbklkIjoiYjcxOWIxYzEtNmI4MC00N2U1L
AuthenticateWithToken(authToken); //ThjMGQtYjU4ZTAyN2UyMmE4IiwibmJmIjoxNjkwNDUzMTc3LCJleHAiOjE2OTA0NTQ5NzcsImlhdCI6MTY5MDQ1MzE3N30
//.W-0PXJ9GAmwOOXlKi8cEr3lBkwx9rGbpLKCCUYJkyCA");
if (PhotonNetwork.IsConnected) AuthenticateWithPhoton(respondMessage.Data);
{
message.text = "Login successful!";
}
else
{
message.text = "Fail";
}
} }
else else
{ {
...@@ -70,53 +65,14 @@ public class Login : MonoBehaviour, IConnectionCallbacks ...@@ -70,53 +65,14 @@ public class Login : MonoBehaviour, IConnectionCallbacks
return input.Replace("\u200b", "").Trim(); return input.Replace("\u200b", "").Trim();
} }
private void Start() private async void AuthenticateWithPhoton(string token)
{
if (!PhotonNetwork.IsConnected)
{
PhotonNetwork.ConnectUsingSettings();
}
else
{
Debug.Log("Already connected to Photon.");
// Optionally, you can handle the case when the client is already connected.
// For example, you might want to handle reconnection or show a message to the user.
}
}
public void OnConnected()
{
Debug.Log("Connected to Photon");
}
public void OnConnectedToMaster()
{
Debug.Log("Connected to Master Server");
AuthenticateWithToken(authToken);
message.text = "Success";
}
public void OnDisconnected(DisconnectCause cause)
{
Debug.Log("Disconnected from Photon: " + cause.ToString());
message.text = "Fail";
}
private void AuthenticateWithToken(string token)
{ {
string baseURL = "http://localhost:5172/User/"; using (HttpClient client = new HttpClient())
string apiURL = baseURL + token;
// Use UnityWebRequest to make an HTTP GET request to the API with the token.
UnityWebRequest webRequest = UnityWebRequest.Get(apiURL);
// Send the request asynchronously and handle the response.
webRequest.SendWebRequest().completed += operation =>
{ {
if (webRequest.result == UnityWebRequest.Result.Success) string apiURL = baseURL + token;
using (HttpResponseMessage res = await client.GetAsync(apiURL))
{ {
// The request was successful. Check the status code to validate the token. if(res.IsSuccessStatusCode)
if (webRequest.responseCode == 200)
{ {
// Token is valid. Proceed to connect to Photon. // Token is valid. Proceed to connect to Photon.
var authParameters = new System.Collections.Generic.Dictionary<string, object> var authParameters = new System.Collections.Generic.Dictionary<string, object>
...@@ -128,40 +84,26 @@ public class Login : MonoBehaviour, IConnectionCallbacks ...@@ -128,40 +84,26 @@ public class Login : MonoBehaviour, IConnectionCallbacks
// Now, connect to Photon servers with the custom authentication values. // Now, connect to Photon servers with the custom authentication values.
PhotonNetwork.ConnectUsingSettings(); PhotonNetwork.ConnectUsingSettings();
} }
else if (webRequest.responseCode == 400) else
{ {
// Token is invalid. Handle the error or display a message to the user. // Token is invalid. Handle the error or display a message to the user.
Debug.Log("Invalid token. Unable to connect to Photon."); Debug.Log("Invalid token. Unable to connect to Photon.");
message.text = "Invalid token. Unable to connect to Photon."; message.text = "Invalid token. Unable to connect to Photon.";
} }
else
{
// Handle other response codes or errors if needed.
Debug.Log("Unexpected response from the API: " + webRequest.responseCode);
message.text = "Unexpected response from the API: " + webRequest.responseCode;
}
}
else
{
// Handle the case when the web request fails.
Debug.Log("Failed to connect to the authentication API: " + webRequest.error);
message.text = "Failed to connect to the authentication API: " + webRequest.error;
} }
}; }
}
public void OnRegionListReceived(RegionHandler regionHandler)
{
throw new System.NotImplementedException();
} }
public void OnCustomAuthenticationResponse(Dictionary<string, object> data) public override void OnConnectedToMaster()
{ {
Debug.Log("Custom authentication response received."); base.OnConnectedToMaster();
Debug.Log("Connected to Photon!");
message.text = "Login successful! Connected to Photon.";
} }
public void OnCustomAuthenticationFailed(string debugMessage) public override void OnDisconnected(DisconnectCause cause)
{ {
Debug.Log("Custom authentication failed: " + debugMessage); base.OnDisconnected(cause);
Debug.Log("Disconnected from Photon. Reason: " + cause.ToString());
} }
} }
The MIT License (MIT)
Copyright (c) .NET Foundation and Contributors
All rights reserved.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
<?xml version="1.0"?>
<doc>
<assembly>
<name>Microsoft.Bcl.AsyncInterfaces</name>
</assembly>
<members>
</members>
</doc>
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment