<PackageReference Include="Microsoft.IdentityModel.Tokens" Version="8.16.0" />

Microsoft.IdentityModel.Tokens.SecurityToken

public abstract class SecurityToken : ISafeLogSecurityArtifact
Base class for security token.
public abstract string Id { get; }

This must be overridden to get the Id of this SecurityToken.

public abstract string Issuer { get; }

This must be overridden to get the issuer of this SecurityToken.

public abstract SecurityKey SecurityKey { get; }

This must be overridden to get the SecurityKey.

public abstract SecurityKey SigningKey { get; set; }

This must be overridden to get or set the SecurityKey that signed this instance.

public abstract DateTime ValidFrom { get; }

This must be overridden to get the time when this SecurityToken was Valid.

public abstract DateTime ValidTo { get; }

This must be overridden to get the time when this SecurityToken is no longer Valid.

protected SecurityToken()

public virtual string UnsafeToString()