SessionSecurityToken.Id Property

.NET Framework (current version)

Gets the unique identifier of this token.

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

public override string Id { get; }

Property Value

Type: System.String

The token ID.

The SessionSecurityTokenHandler class serializes this property as the Id attribute of the <wsc:SecurityContextToken> element. For more information, see the documentation for the SessionSecurityTokenHandler.WriteToken method.

.NET Framework
Available since 4.5
Return to top