共用方式為


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

適用於