SamlAssertionKeyIdentifierClause.Matches 方法

定义

确定指定的密钥标识符是否与当前实例相同。

重载

Matches(SecurityKeyIdentifierClause)

确定指定的密钥标识符是否与当前实例相同。

Matches(String)

确定指定的 SAML 断言标识符是否与当前实例相同。

Matches(String, SecurityKeyIdentifierClause)

Matches(SecurityKeyIdentifierClause)

Source:
SamlAssertionKeyIdentifierClause.cs
Source:
SamlAssertionKeyIdentifierClause.cs
Source:
SamlAssertionKeyIdentifierClause.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

返回

如果指定的密钥标识符与当前实例相同,则为 true;否则为 false

注解

当下列任一条件为 Matches 时,true 重载会返回 true 值:

  • AssertionId 参数的 keyIdentifierClause 属性与当前实例的 AssertionId 属性具有相同值。

  • keyIdentifierClause 参数与此实例是同一实例。

适用于

Matches(String)

确定指定的 SAML 断言标识符是否与当前实例相同。

public:
 bool Matches(System::String ^ assertionId);
public bool Matches (string assertionId);
override this.Matches : string -> bool
Public Function Matches (assertionId As String) As Boolean

参数

assertionId
String

要进行比较的 SAML 断言标识符。

返回

如果 assertionId 与当前实例的 AssertionId 属性具有相同值,则为 true;否则为 false

注解

比较是区分大小写的。

适用于

Matches(String, SecurityKeyIdentifierClause)

Source:
SamlAssertionKeyIdentifierClause.cs
Source:
SamlAssertionKeyIdentifierClause.cs
Source:
SamlAssertionKeyIdentifierClause.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
keyIdentifierClause
SecurityKeyIdentifierClause

返回

适用于