IssuerTokenResolver.TryResolveTokenCore Metoda

Definicja

Próbuje pobrać klucz, do którego odwołuje się określony obiekt. (Zastąpij metody klasy bazowej).

Przeciążenia

TryResolveTokenCore(SecurityKeyIdentifier, SecurityToken)

Próbuje pobrać token zabezpieczający zgodny z co najmniej jedną z klauzul identyfikatora klucza zawartą w określonym identyfikatorze klucza. (Zastąpij metodę klasy bazowej).

TryResolveTokenCore(SecurityKeyIdentifierClause, SecurityToken)

Po zastąpieniu w klasie pochodnej próbuje rozpoznać token zabezpieczający zgodny z określoną klauzulą identyfikatora klucza. (Zastąpij metodę klasy bazowej).

TryResolveTokenCore(SecurityKeyIdentifier, SecurityToken)

Próbuje pobrać token zabezpieczający zgodny z co najmniej jedną z klauzul identyfikatora klucza zawartą w określonym identyfikatorze klucza. (Zastąpij metodę klasy bazowej).

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

Identyfikator klucza do utworzenia tokenu zabezpieczającego.

token
SecurityToken

Gdy ta metoda zwraca wartość , zawiera element SecurityToken reprezentujący określony identyfikator klucza. Ten parametr jest przekazywany jako niezainicjowany.

Zwraca

true jeśli można pobrać token zabezpieczający dla określonego identyfikatora klucza; w przeciwnym razie , false.

Dotyczy

TryResolveTokenCore(SecurityKeyIdentifierClause, SecurityToken)

Po zastąpieniu w klasie pochodnej próbuje rozpoznać token zabezpieczający zgodny z określoną klauzulą identyfikatora klucza. (Zastąpij metodę klasy bazowej).

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

Klauzula identyfikatora klucza do utworzenia tokenu zabezpieczającego.

token
SecurityToken

Gdy ta metoda zwraca wartość , zawiera klauzulę SecurityToken , która reprezentuje określoną klauzulę identyfikatora klucza. Ten parametr jest przekazywany jako niezainicjowany.

Zwraca

true jeśli można pobrać token zabezpieczający dla określonej klauzuli identyfikatora klucza; w przeciwnym razie , false.

Dotyczy