refactor: Entfernen redundanter Methodenüberladungen in IJwtSignatureHandler

- Entfernte doppelte Methodensignaturen für CreateToken und CreateAndWriteToken, die TokenDescription akzeptieren.
- Vereinfachte das Interface, um sich auf die wesentlichen Methoden für die Token-Erstellung und -Schreibung zu konzentrieren.
This commit is contained in:
Developer 02
2025-01-06 15:26:31 +01:00
parent 1d4882cfbc
commit 62afba7c23

View File

@@ -6,14 +6,10 @@ namespace DigitalData.Core.Abstractions.Security
{
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);
}
}