mirror of
https://github.com/Caraxi/mare.server.git
synced 2025-12-12 21:47:22 +01:00
minor stylefixes
This commit is contained in:
parent
8c39f9ce81
commit
9605be8d4a
13 changed files with 81 additions and 80 deletions
|
|
@ -43,9 +43,9 @@ public class ServerTokenGenerator
|
|||
Subject = new ClaimsIdentity(new List<Claim>()
|
||||
{
|
||||
new Claim(MareClaimTypes.Uid, _configuration.GetValue<string>(nameof(MareConfigurationBase.ShardName))),
|
||||
new Claim(MareClaimTypes.Internal, "true")
|
||||
new Claim(MareClaimTypes.Internal, "true"),
|
||||
}),
|
||||
SigningCredentials = new SigningCredentials(authSigningKey, SecurityAlgorithms.HmacSha256Signature)
|
||||
SigningCredentials = new SigningCredentials(authSigningKey, SecurityAlgorithms.HmacSha256Signature),
|
||||
};
|
||||
|
||||
var handler = new JwtSecurityTokenHandler();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue