KerberosSecurityTokenHandler.CanValidateToken Property

.NET Framework (current version)

The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Gets a value that indicates whether the current instance can validate security tokens.

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

public override bool CanValidateToken { get; }

Property Value

Type: System.Boolean

true if the handler can validate tokens; otherwise, false. The default is true.

Indicates whether the handler can validate tokens of the type specified by the TokenType property.

.NET Framework
Available since 4.5
Return to top