SamlSecurityToken.CanCreateKeyIdentifierClause<T> Metoda

Definicja

Pobiera wartość wskazującą, czy ten token zabezpieczający może utworzyć określony identyfikator klucza.

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

Element SecurityKeyIdentifierClause określający identyfikator klucza do utworzenia.

Zwraca

true , gdy T ma typ SamlAssertionKeyIdentifierClause; w przeciwnym razie false.

Uwagi

CanCreateKeyIdentifierClause Użyj metody , aby określić, czy SamlSecurityToken token zabezpieczający może utworzyć określony identyfikator klucza. Aby utworzyć identyfikator klucza, wywołaj metodę CreateKeyIdentifierClause<T>() .

Dotyczy