Compartir a través de


SecurityContextSecurityTokenResolver.TryResolveTokenCore Método

Definición

Intenta resolver el token cuando hay un identificador de clave especificado.

Sobrecargas

TryResolveTokenCore(SecurityKeyIdentifier, SecurityToken)

Intenta resolver el token cuando hay un identificador de clave especificado.

TryResolveTokenCore(SecurityKeyIdentifierClause, SecurityToken)

Intenta resolver el token cuando hay una cláusula de identificador de clave especificada.

TryResolveTokenCore(SecurityKeyIdentifier, SecurityToken)

Intenta resolver el token cuando hay un identificador de clave especificado.

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

Identificador de clave de seguridad.

token
SecurityToken

Cuando este método vuelve, contiene el núcleo de la clave resuelto. Este parámetro se pasa sin inicializar.

Devoluciones

Boolean

true si se resolviera el token de clave correctamente; de lo contrario, false.

Se aplica a

TryResolveTokenCore(SecurityKeyIdentifierClause, SecurityToken)

Intenta resolver el token cuando hay una cláusula de identificador de clave especificada.

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

Cláusula de identificador de clave de seguridad.

token
SecurityToken

Cuando este método vuelve, contiene el núcleo de la clave resuelto. Este parámetro se pasa sin inicializar.

Devoluciones

Boolean

true si se resolviera el token de clave correctamente; de lo contrario, false.

Se aplica a