SecurityToken.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 virtual bool CanCreateKeyIdentifierClause();
public virtual bool CanCreateKeyIdentifierClause<T> () where T : System.IdentityModel.Tokens.SecurityKeyIdentifierClause;
abstract member CanCreateKeyIdentifierClause : unit -> bool (requires 'T :> System.IdentityModel.Tokens.SecurityKeyIdentifierClause)
override this.CanCreateKeyIdentifierClause : unit -> bool (requires 'T :> System.IdentityModel.Tokens.SecurityKeyIdentifierClause)
Public Overridable 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 SecurityKeyIdentifierClause; w przeciwnym razie false.

Uwagi

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

Domyślna implementacja obsługuje klauzule identyfikatora klucza typu LocalIdKeyIdentifierClause.

Dotyczy

Zobacz też