Saml2SecurityTokenHandler.CanWriteToken Property

.NET Framework (current version)
 

Gets a value that indicates whether this handler can serialize tokens of type Saml2SecurityToken.

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

public override bool CanWriteToken { get; }

Property Value

Type: System.Boolean

true; which indicates that the handler can serialize tokens of type Saml2SecurityToken.

This method overrides the base class method and always returns true.

.NET Framework
Available since 4.5
Return to top
Show: