Saml2SecurityTokenHandler.CanValidateToken Property

.NET Framework (current version)
 

Gets a value that indicates if this handler can validate tokens of type Saml2SecurityToken.

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

public override bool CanValidateToken { get; }

Property Value

Type: System.Boolean

true, which indicates that the handler can validate 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: