KerberosSecurityTokenHandler.CanValidateToken 属性

定义

获取指示当前实例是否能验证安全标记的值。Gets a value that indicates whether the current instance can validate security tokens.

public:
 virtual property bool CanValidateToken { bool get(); };
public override bool CanValidateToken { get; }
member this.CanValidateToken : bool
Public Overrides ReadOnly Property CanValidateToken As Boolean

属性值

Boolean

如果处理程序现在可以验证标记,则为 true;否则为 falsetrue if the handler can validate tokens; otherwise, false. 默认值为 trueThe default is true.

注解

指示处理程序是否可以验证由属性指定的类型的标记 TokenTypeIndicates whether the handler can validate tokens of the type specified by the TokenType property.

适用于