Sdílet prostřednictvím


Saml2AssertionKeyIdentifierClause.Matches Metoda

Definice

Určuje, zda jsou ekvivalentní dvě klauzule identifikátoru klíče.

Přetížení

Matches(SecurityKeyIdentifierClause)

Vrátí hodnotu, která označuje, zda je identifikátor klíče pro tuto instanci ekvivalentní zadané klauzuli identifikátoru klíče.

Matches(String, SecurityKeyIdentifierClause)

Vrátí hodnotu, která označuje, zda je identifikátor klíče pro kontrolní výraz ekvivalentní zadané klauzuli identifikátoru klíče.

Matches(SecurityKeyIdentifierClause)

Zdroj:
Saml2AssertionKeyIdentifierClause.cs
Zdroj:
Saml2AssertionKeyIdentifierClause.cs
Zdroj:
Saml2AssertionKeyIdentifierClause.cs

Vrátí hodnotu, která označuje, zda je identifikátor klíče pro tuto instanci ekvivalentní zadané klauzuli identifikátoru klíče.

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

Parametry

keyIdentifierClause
SecurityKeyIdentifierClause

A SecurityKeyIdentifierClause pro porovnání s.

Návraty

true pokud keyIdentifierClause je stejná instance jako aktuální instance, falsev opačném případě .

Platí pro

Matches(String, SecurityKeyIdentifierClause)

Zdroj:
Saml2AssertionKeyIdentifierClause.cs
Zdroj:
Saml2AssertionKeyIdentifierClause.cs
Zdroj:
Saml2AssertionKeyIdentifierClause.cs

Vrátí hodnotu, která označuje, zda je identifikátor klíče pro kontrolní výraz ekvivalentní zadané klauzuli identifikátoru klíče.

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

Parametry

assertionId
String

ID kontrolního výrazu.

keyIdentifierClause
SecurityKeyIdentifierClause

A SecurityKeyIdentifierClause pro porovnání s.

Návraty

truepokud assertionId odpovídá Id vlastnosti ; keyIdentifierClausev opačném případě . false

Výjimky

assertionId je null nebo prázdný řetězec.

Platí pro