refactor(PrivateKeyTokenDescriptor): superwarning zur Deaktivierung der Warnung vor Null

This commit is contained in:
Developer 02 2025-01-09 11:08:06 +01:00
parent 7a938f0379
commit 2557525f06

View File

@ -12,7 +12,8 @@ namespace DigitalData.Core.Abstractions.Security
/// <summary>
/// Gets or sets the value of the 'audience' claim.
/// </summary>
public new string Audience { get; set; }
#pragma warning disable CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable.
public string Audience { get; set; }
/// <summary>
/// Defines the compression algorithm that will be used to compress the JWT token payload.
@ -32,7 +33,7 @@ namespace DigitalData.Core.Abstractions.Security
/// <summary>
/// Gets or sets the issuer of this <see cref="PrivateKeyTokenDescriptor"/>.
/// </summary>
public new string Issuer { get; set; }
public string Issuer { get; set; }
/// <summary>
/// Gets or sets the time the security token was issued. This value should be in UTC.
@ -76,6 +77,7 @@ namespace DigitalData.Core.Abstractions.Security
/// Gets or sets the <see cref="SigningCredentials"/> used to create a security token.
/// </summary>
public SigningCredentials SigningCredentials { get; set; }
#pragma warning restore CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable.
/// <summary>
/// Specifies the signature algorithm to be applied to the <see cref="SigningCredentials"/>.