SamlSecurityTokenHandler.CanValidateToken 属性

定义

获取指示此处理程序是否能验证类型 SamlSecurityToken 的标记的值。Gets a value that indicates if this handler can validate tokens of type SamlSecurityToken.

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,指示该管理器可以验证类型 SamlSecurityToken 标记。true, which indicates that the handler can validate tokens of type SamlSecurityToken.

注解

此方法重写基类方法并始终返回 trueThis method overrides the base class method and always returns true.

适用于