Saml2AssertionKeyIdentifierClause.Matches 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
确定两个密钥标识符项是否是等效的。
重载
| Matches(SecurityKeyIdentifierClause) |
返回一个值,该值指示此实例的密钥标识符是否等效于指定的密钥标识符子句。 |
| Matches(String, SecurityKeyIdentifierClause) |
返回一个值,该值指示断言的密钥标识符是否等效于指定的密钥标识符子句。 |
Matches(SecurityKeyIdentifierClause)
返回一个值,该值指示此实例的密钥标识符是否等效于指定的密钥标识符子句。
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)
返回一个值,该值指示断言的密钥标识符是否等效于指定的密钥标识符子句。
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。
例外
assertionId 为 null 或空字符串。