Idioma

IssuerTokenResolver.TryResolveTokenCore Método

Definição

Tenta recuperar a chave referenciada no objeto especificado. (Substituição dos métodos de classe base.)

Sobrecargas

Nome Description
TryResolveTokenCore(SecurityKeyIdentifier, SecurityToken)

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. (Substituição do método de classe base.)

TryResolveTokenCore(SecurityKeyIdentifierClause, SecurityToken)

Quando substituído em uma classe derivada, tenta resolver o token de segurança que corresponde à cláusula de identificador de chave especificada. (Substituição do método de classe base.)

TryResolveTokenCore(SecurityKeyIdentifier, SecurityToken)

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. (Substituição do método de classe base.)

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

Parâmetros

keyIdentifier
SecurityKeyIdentifier

O identificador de chave para o qual criar um token de segurança.

token
SecurityToken

Quando esse método é retornado, contém um SecurityToken que representa o identificador de chave especificado. Esse parâmetro é passado sem inicialização.

Retornos

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

Aplica-se a

TryResolveTokenCore(SecurityKeyIdentifierClause, SecurityToken)

Quando substituído em uma classe derivada, tenta resolver o token de segurança que corresponde à cláusula de identificador de chave especificada. (Substituição do método de classe base.)

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

Parâmetros

keyIdentifierClause
SecurityKeyIdentifierClause

A cláusula do identificador de chave para a qual criar um token de segurança.

token
SecurityToken

Quando esse método é retornado, contém um SecurityToken que representa a cláusula de identificador de chave especificada. Esse parâmetro é passado sem inicialização.

Retornos

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

Aplica-se a