SamlSecurityToken.CanCreateKeyIdentifierClause<T> Metoda

Definicja

Pobiera wartość wskazującą, czy ten token zabezpieczający jest w stanie 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

Boolean

true , T gdy jest typu ; w przeciwnym razie SamlAssertionKeyIdentifierClause false .

Uwagi

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

Dotyczy