Sdílet prostřednictvím


Saml2SecurityToken.CanCreateKeyIdentifierClause<T> Metoda

Definice

Získá hodnotu označující, zda tento token zabezpečení je schopen vytvořit identifikátor zadaného klíče.

public:
generic <typename T>
 where T : System::IdentityModel::Tokens::SecurityKeyIdentifierClause override bool CanCreateKeyIdentifierClause();
public override bool CanCreateKeyIdentifierClause<T> () where T : System.IdentityModel.Tokens.SecurityKeyIdentifierClause;
override this.CanCreateKeyIdentifierClause : unit -> bool (requires 'T :> System.IdentityModel.Tokens.SecurityKeyIdentifierClause)
Public Overrides Function CanCreateKeyIdentifierClause(Of T As SecurityKeyIdentifierClause) () As Boolean

Parametry typu

T

A SecurityKeyIdentifierClause , který určuje identifikátor klíče, který se má vytvořit.

Návraty

true pokud T je typu Saml2AssertionKeyIdentifierClause; v opačném případě false.

Poznámky

CanCreateKeyIdentifierClause Pomocí metody určete, jestli Saml2SecurityToken token zabezpečení může vytvořit konkrétní identifikátor klíče. Pokud chcete vytvořit identifikátor klíče, zavolejte metodu CreateKeyIdentifierClause<T>() .

Platí pro