SecurityToken.CanCreateKeyIdentifierClause<T> Método

Definição

Recebe um valor que indica se este token de segurança é capaz de criar o identificador de chave especificado.

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

Parâmetros de Tipo Genérico

T

A SecurityKeyIdentifierClause que especifica o identificador-chave a criar.

Devoluções

true quando T é do tipo SecurityKeyIdentifierClause; caso contrário, false.

Observações

Use o CanCreateKeyIdentifierClause método para determinar se um token de segurança pode criar um identificador de chave específico. Para criar o identificador de chave, chame o CreateKeyIdentifierClause método.

A implementação padrão suporta cláusulas identificadoras de chave do tipo LocalIdKeyIdentifierClause.

Aplica-se a

Ver também