Saml2AssertionKeyIdentifierClause.Matches 方法

定义

确定两个密钥标识符项是否是等效的。

重载

Matches(SecurityKeyIdentifierClause)

返回一个值,该值指示此实例的密钥标识符是否等效于指定的密钥标识符子句。

Matches(String, SecurityKeyIdentifierClause)

返回一个值,该值指示断言的密钥标识符是否等效于指定的密钥标识符子句。

Matches(SecurityKeyIdentifierClause)

Source:
Saml2AssertionKeyIdentifierClause.cs
Source:
Saml2AssertionKeyIdentifierClause.cs
Source:
Saml2AssertionKeyIdentifierClause.cs

返回一个值,该值指示此实例的密钥标识符是否等效于指定的密钥标识符子句。

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

参数

keyIdentifierClause
SecurityKeyIdentifierClause

要进行比较的 SecurityKeyIdentifierClause

返回

如果 keyIdentifierClause 是与当前实例相同的实例,则为 true;否则为 false

适用于

Matches(String, SecurityKeyIdentifierClause)

Source:
Saml2AssertionKeyIdentifierClause.cs
Source:
Saml2AssertionKeyIdentifierClause.cs
Source:
Saml2AssertionKeyIdentifierClause.cs

返回一个值,该值指示断言的密钥标识符是否等效于指定的密钥标识符子句。

public:
 static bool Matches(System::String ^ assertionId, System::IdentityModel::Tokens::SecurityKeyIdentifierClause ^ keyIdentifierClause);
public static bool Matches (string assertionId, System.IdentityModel.Tokens.SecurityKeyIdentifierClause keyIdentifierClause);
static member Matches : string * System.IdentityModel.Tokens.SecurityKeyIdentifierClause -> bool
Public Shared Function Matches (assertionId As String, keyIdentifierClause As SecurityKeyIdentifierClause) As Boolean

参数

assertionId
String

断言的 ID。

keyIdentifierClause
SecurityKeyIdentifierClause

要进行比较的 SecurityKeyIdentifierClause

返回

true ,如果 assertionId 匹配 keyIdentifierClauseId 的属性;否则, false

例外

assertionIdnull 或空字符串。

适用于