diff --git a/DigitalData.Core.Abstractions/Security/IRSACryptographer.cs b/DigitalData.Core.Abstractions/Security/IRSACryptographer.cs
index ba3a85f..966081f 100644
--- a/DigitalData.Core.Abstractions/Security/IRSACryptographer.cs
+++ b/DigitalData.Core.Abstractions/Security/IRSACryptographer.cs
@@ -2,14 +2,14 @@
namespace DigitalData.Core.Abstractions.Security
{
- public interface IRSACryptographer
+ public interface IRSACryptographer : ISecurityIdentifier
{
public string Pem { get; init; }
public RSAEncryptionPadding Padding { get; init; }
- public string Issuer { get; init; }
+ public new string Issuer { get; init; }
- public string Audience { get; init; }
+ public new string Audience { get; init; }
}
}
\ No newline at end of file
diff --git a/DigitalData.Core.Security/Config/TokenDescription.cs b/DigitalData.Core.Security/Config/TokenDescription.cs
index 9c357aa..57ea58d 100644
--- a/DigitalData.Core.Security/Config/TokenDescription.cs
+++ b/DigitalData.Core.Security/Config/TokenDescription.cs
@@ -1,16 +1,17 @@
-using Microsoft.IdentityModel.Tokens;
+using DigitalData.Core.Abstractions.Security;
+using Microsoft.IdentityModel.Tokens;
namespace DigitalData.Core.Security.Config
{
///
/// Contains some information which used to create a security token. Designed to abstract
///
- public class TokenDescription
+ public class TokenDescription : ISecurityIdentifier
{
///
/// Gets or sets the value of the 'audience' claim.
///
- public string Audience { get; set; }
+ public new string Audience { get; set; }
///
/// Defines the compression algorithm that will be used to compress the JWT token payload.
@@ -30,7 +31,7 @@ namespace DigitalData.Core.Security.Config
///
/// Gets or sets the issuer of this .
///
- public string Issuer { get; set; }
+ public new string Issuer { get; set; }
///
/// Gets or sets the time the security token was issued. This value should be in UTC.