MessageSecurityVersion.SecurityTokenVersion Property

Definition

Gets the security token version that corresponds to the message security version.

C#
public System.IdentityModel.Selectors.SecurityTokenVersion SecurityTokenVersion { get; }

Property Value

The SecurityTokenVersion object that corresponds to the message security version.

Remarks

This method is implemented by the instances of this class returned by the seven static properties. Each implementation represents a different combination of specification versions and so returns a different value for this property.

This property is used to query a token serializer factory interface defined in SecurityTokenVersion for a token serializer instance capable of serializing tokens.

Applies to

Producto Versiones
.NET 8 (package-provided), 9 (package-provided), 10 (package-provided)
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1