Saml2SecurityToken.MatchesKeyIdentifierClause 方法

定义

返回一个值,该值指示此实例的密钥标识符与指定的密钥标识符是否相等。

public:
 override bool MatchesKeyIdentifierClause(System::IdentityModel::Tokens::SecurityKeyIdentifierClause ^ keyIdentifierClause);
public override bool MatchesKeyIdentifierClause (System.IdentityModel.Tokens.SecurityKeyIdentifierClause keyIdentifierClause);
override this.MatchesKeyIdentifierClause : System.IdentityModel.Tokens.SecurityKeyIdentifierClause -> bool
Public Overrides Function MatchesKeyIdentifierClause (keyIdentifierClause As SecurityKeyIdentifierClause) As Boolean

参数

keyIdentifierClause
SecurityKeyIdentifierClause

一个要与此实例进行比较的 SecurityKeyIdentifierClause

返回

如果 truekeyIdentifierClause,并且具有与 Saml2AssertionKeyIdentifierClause 属性相同的唯一标识符,则为 Id;否则为 false

适用于