CanWriteToken Property
Collapse the table of content
Expand the table of content

UserNameSecurityTokenHandler.CanWriteToken Property

.NET Framework 4.6 and 4.5

Gets a value that indicates whether this handler can write tokens of type UserNameSecurityToken.

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

public override bool CanWriteToken { get; }

Property Value

Type: System.Boolean

true if the handler can write tokens of type UserNameSecurityToken; otherwise, false. Always true.

.NET Framework
Available since 4.5
Return to top
© 2015 Microsoft