<PackageReference Include="System.ServiceModel.Primitives" Version="8.1.0" />

System.IdentityModel.Selectors.SecurityTokenRequirement

public static string IsOptionalTokenProperty { get; }

public static string KeySizeProperty { get; }

public static string KeyTypeProperty { get; }

public static string KeyUsageProperty { get; }

public static string PeerAuthenticationMode { get; }

public static string RequireCryptographicTokenProperty { get; }

public static string TokenTypeProperty { get; }

public int KeySize { get; set; }

public SecurityKeyType KeyType { get; set; }

public SecurityKeyUsage KeyUsage { get; set; }

public IDictionary<string, object> Properties { get; }

public bool RequireCryptographicToken { get; set; }

public string TokenType { get; set; }

public TValue GetProperty<TValue>(string propertyName)

public bool TryGetProperty<TValue>(string propertyName, out TValue result)