This documentation is archived and is not being maintained.

SecurityTokenRequirement.TokenType Property

Gets or sets the required security token type.

Namespace:  System.IdentityModel.Selectors
Assembly:  System.IdentityModel (in System.IdentityModel.dll)

public string TokenType { get; set; }

Property Value

Type: System.String
The required security token type.

Use one of the static properties of the SecurityTokenTypes class to set this property.

The value of the TokenType property can also be accessed by getting the Properties property, which is a collection of property values. The value of the TokenType property is stored at the index matching the value of the TokenTypeProperty property.

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5, 3.0
Show: