Chat client

This commit is contained in:
Artemy
2025-06-19 19:42:42 +07:00
parent d18ad19f80
commit efcd970e90
5 changed files with 341 additions and 13 deletions
@@ -25,7 +25,8 @@ public class JwtService : IJwtService
SecurityAlgorithms.HmacSha256Signature);
var token = new JwtSecurityToken(signingCredentials: singing,
expires: DateTime.UtcNow.AddHours(_jwtOption.Hours));
expires: DateTime.UtcNow.AddHours(_jwtOption.Hours),
claims: claims);
return new JwtSecurityTokenHandler().WriteToken(token);
}