Sdílet prostřednictvím


SessionSecurityTokenResolver.TryResolveTokenCore Metoda

Definice

Pokusí se přeložit token ze zadaného identifikátoru klíče.

Přetížení

TryResolveTokenCore(SecurityKeyIdentifier, SecurityToken)

Pokusí se přeložit token ze zadaného identifikátoru klíče.

TryResolveTokenCore(SecurityKeyIdentifierClause, SecurityToken)

Pokusí se přeložit token ze zadané klauzule identifikátoru klíče.

TryResolveTokenCore(SecurityKeyIdentifier, SecurityToken)

Pokusí se přeložit token ze zadaného identifikátoru klíče.

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

Parametry

keyIdentifier
SecurityKeyIdentifier

Identifikátor klíče.

token
SecurityToken

Když tato metoda vrátí, obsahuje vyřešené jádro klíče. Tento parametr se předává neinicializovaný.

Návraty

truepokud se token klíče úspěšně přeložil; v opačném případě . false

Platí pro

TryResolveTokenCore(SecurityKeyIdentifierClause, SecurityToken)

Pokusí se přeložit token ze zadané klauzule identifikátoru klíče.

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

Parametry

keyIdentifierClause
SecurityKeyIdentifierClause

Klauzule identifikátoru klíče.

token
SecurityToken

Když tato metoda vrátí, obsahuje vyřešené jádro klíče. Tento parametr se předává neinicializovaný.

Návraty

truepokud se token klíče úspěšně přeložil; v opačném případě . false

Platí pro