KerberosSecurityTokenAuthenticator.CanValidateTokenCore(SecurityToken) 方法
定义
获取一个值,指示此安全令牌身份验证器是否可以验证指定的安全令牌。Gets a value that indicates whether the specified security token can be validated by this security token authenticator.
protected:
override bool CanValidateTokenCore(System::IdentityModel::Tokens::SecurityToken ^ token);
protected override bool CanValidateTokenCore (System.IdentityModel.Tokens.SecurityToken token);
override this.CanValidateTokenCore : System.IdentityModel.Tokens.SecurityToken -> bool
Protected Overrides Function CanValidateTokenCore (token As SecurityToken) As Boolean
参数
- token
- SecurityToken
要进行身份验证的 SecurityToken。The SecurityToken to authenticate.
返回
如果 true 为 token 安全令牌,则为 KerberosReceiverSecurityToken;否则为 false。true when token is a KerberosReceiverSecurityToken security token; otherwise, false.