Język

Saml2AssertionKeyIdentifierClause.Matches Metoda

Definicja

Określa, czy dwa klauzule identyfikatora klucza są równoważne.

Przeciążenia

Nazwa Opis
Matches(SecurityKeyIdentifierClause)

Zwraca wartość wskazującą, czy identyfikator klucza dla tego wystąpienia jest odpowiednikiem określonej klauzuli identyfikatora klucza.

Matches(String, SecurityKeyIdentifierClause)

Zwraca wartość wskazującą, czy identyfikator klucza dla asercji jest równoważny z określoną klauzulą identyfikatora klucza.

Matches(SecurityKeyIdentifierClause)

Źródło:
Saml2AssertionKeyIdentifierClause.cs
Źródło:
Saml2AssertionKeyIdentifierClause.cs

Zwraca wartość wskazującą, czy identyfikator klucza dla tego wystąpienia jest odpowiednikiem określonej klauzuli identyfikatora klucza.

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

Parametry

keyIdentifierClause
SecurityKeyIdentifierClause

A SecurityKeyIdentifierClause do porównania.

Zwraca

truejeśli keyIdentifierClause jest to to samo wystąpienie co bieżące wystąpienie; w przeciwnym razie . false

Dotyczy

Matches(String, SecurityKeyIdentifierClause)

Źródło:
Saml2AssertionKeyIdentifierClause.cs
Źródło:
Saml2AssertionKeyIdentifierClause.cs

Zwraca wartość wskazującą, czy identyfikator klucza dla asercji jest równoważny z określoną klauzulą identyfikatora klucza.

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

Identyfikator potwierdzenia.

keyIdentifierClause
SecurityKeyIdentifierClause

A SecurityKeyIdentifierClause do porównania.

Zwraca

true jeśli assertionId pasuje do Id właściwości keyIdentifierClause; w przeciwnym razie false.

Wyjątki

assertionId jest null lub pusty ciąg.

Dotyczy