From 15e909064f808d6937b709d42677efb13fe196fa Mon Sep 17 00:00:00 2001 From: Developer 02 Date: Tue, 7 Jan 2025 09:35:09 +0100 Subject: [PATCH] =?UTF-8?q?feat(IJwtSignatureHandler):=20Unterst=C3=BCtzun?= =?UTF-8?q?g=20f=C3=BCr=20die=20Erstellung=20von=20Token=20durch=20den=20R?= =?UTF-8?q?outenwert=20der=20Tokenbeschreibung=20hinzugef=C3=BCgt.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Security/IJwtSignatureHandler.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/DigitalData.Core.Abstractions/Security/IJwtSignatureHandler.cs b/DigitalData.Core.Abstractions/Security/IJwtSignatureHandler.cs index 16b4cd1..0c20989 100644 --- a/DigitalData.Core.Abstractions/Security/IJwtSignatureHandler.cs +++ b/DigitalData.Core.Abstractions/Security/IJwtSignatureHandler.cs @@ -8,10 +8,14 @@ namespace DigitalData.Core.Abstractions.Security SecurityToken CreateToken(TPrincipal subject, string issuer, string audience); + SecurityToken CreateToken(TPrincipal subject, string apiRoute); + string WriteToken(SecurityToken token); string WriteToken(SecurityTokenDescriptor descriptor); string WriteToken(TPrincipal subject, string issuer, string audience); + + string WriteToken(TPrincipal subject, string apiRoute); } } \ No newline at end of file