SecurityTokenResolver.TryResolveTokenCore Método

Definição

Tenta recuperar a chave referenciada no objeto especificado.

Sobrecargas

Name Description
TryResolveTokenCore(SecurityKeyIdentifier, SecurityToken)

Quando sobrescrito numa classe derivada, tenta recuperar o token de segurança que corresponde a pelo menos uma das cláusulas de identificador de chave contidas no identificador de chave especificado.

TryResolveTokenCore(SecurityKeyIdentifierClause, SecurityToken)

Quando sobreposto numa classe derivada, tenta resolver o token de segurança que corresponde à cláusula identificadora de chave especificada.

TryResolveTokenCore(SecurityKeyIdentifier, SecurityToken)

Quando sobrescrito numa classe derivada, tenta recuperar o token de segurança que corresponde a pelo menos uma das cláusulas de identificador de chave contidas no identificador de chave especificado.

protected:
 abstract bool TryResolveTokenCore(System::IdentityModel::Tokens::SecurityKeyIdentifier ^ keyIdentifier, [Runtime::InteropServices::Out] System::IdentityModel::Tokens::SecurityToken ^ % token);
protected abstract bool TryResolveTokenCore(System.IdentityModel.Tokens.SecurityKeyIdentifier keyIdentifier, out System.IdentityModel.Tokens.SecurityToken token);
abstract member TryResolveTokenCore : System.IdentityModel.Tokens.SecurityKeyIdentifier * SecurityToken -> bool
Protected MustOverride Function TryResolveTokenCore (keyIdentifier As SecurityKeyIdentifier, ByRef token As SecurityToken) As Boolean

Parâmetros

keyIdentifier
SecurityKeyIdentifier

O SecurityKeyIdentifier para criar um token de segurança para.

token
SecurityToken

Quando este método retorna, contém um SecurityToken que representa o identificador de chave especificado. Este parâmetro é passado sem inicializar.

Devoluções

true quando um token de segurança pode ser recuperado para o identificador de chave especificado; caso contrário, false.

Observações

O TryResolveTokenCore método é chamado pelos TryResolveToken métodos e ResolveToken .

Aplica-se a

TryResolveTokenCore(SecurityKeyIdentifierClause, SecurityToken)

Quando sobreposto numa classe derivada, tenta resolver o token de segurança que corresponde à cláusula identificadora de chave especificada.

protected:
 abstract bool TryResolveTokenCore(System::IdentityModel::Tokens::SecurityKeyIdentifierClause ^ keyIdentifierClause, [Runtime::InteropServices::Out] System::IdentityModel::Tokens::SecurityToken ^ % token);
protected abstract bool TryResolveTokenCore(System.IdentityModel.Tokens.SecurityKeyIdentifierClause keyIdentifierClause, out System.IdentityModel.Tokens.SecurityToken token);
abstract member TryResolveTokenCore : System.IdentityModel.Tokens.SecurityKeyIdentifierClause * SecurityToken -> bool
Protected MustOverride Function TryResolveTokenCore (keyIdentifierClause As SecurityKeyIdentifierClause, ByRef token As SecurityToken) As Boolean

Parâmetros

keyIdentifierClause
SecurityKeyIdentifierClause

O SecurityKeyIdentifierClause para criar um token de segurança para.

token
SecurityToken

Quando este método retorna, contém um SecurityToken que representa a cláusula identificadora de chave especificada. Este parâmetro é passado sem inicializar.

Devoluções

true quando um token de segurança pode ser recuperado para a cláusula de identificador de chave especificada; caso contrário, false.

Observações

O TryResolveTokenCore método é chamado pelos TryResolveToken métodos e ResolveToken .

Aplica-se a