使用 JwtBearer 令牌进行身份验证

This commit is contained in:
administrator committed 2024-03-16 17:11:14 +08:00
1 parent e7cbd32a39
commit 6742812bf2
15 files changed
+322 -5

No files matched your search

@@ -0,0 +1,6 @@
namespace HelloShop.ServiceDefaults.Constants;
public static class CustomClaimTypes
{
public const string RoleIdentifier = "roleid";
}
@@ -0,0 +1,6 @@
namespace HelloShop.ServiceDefaults.Constants;
public static class IdentityConstants
{
public const string IssuerSigningKey = "f0a12726d98e7dcda0a578857d0552f0e2ae229cde729240c396eec661a72ecf0f73c485255d446499df1d96f277431c843899c32ad87baa5f700ff8c1726191";
}