refactor(JwtSignatureService): umbenannt in JwtSignatureHandler.

- seine Schnittstelle umbenannt
This commit is contained in:
Developer 02
2025-01-06 15:15:46 +01:00
parent 275b9ec858
commit 1d4882cfbc
3 changed files with 4 additions and 4 deletions

View File

@@ -0,0 +1,19 @@
using Microsoft.IdentityModel.Tokens;
namespace DigitalData.Core.Abstractions.Security
{
public interface IJwtSignatureHandler<TPrincipal>
{
SecurityToken CreateToken(SecurityTokenDescriptor tokenDescriptor);
SecurityToken CreateToken(TPrincipal subject, TokenDescription description);
SecurityToken CreateToken(TPrincipal subject, string issuer, string audience);
string CreateAndWriteToken(SecurityTokenDescriptor descriptor);
string CreateAndWriteToken(TPrincipal subject, TokenDescription description);
string CreateAndWriteToken(TPrincipal subject, string issuer, string audience);
}
}