IssuerTokenResolver.TryResolveTokenCore Metoda

Definicja

Próbuje pobrać klucz, który jest przywołyowany w określonym obiekcie. (Przesłonięcie metod klasy bazowej).

Przeciążenia

TryResolveTokenCore(SecurityKeyIdentifier, SecurityToken)

Próbuje pobrać token zabezpieczający, który pasuje do co najmniej jednej z klauzul identyfikatora klucza zawartych w określonym identyfikatorze klucza. (Przesłonięcie metody klasy bazowej).

TryResolveTokenCore(SecurityKeyIdentifierClause, SecurityToken)

W przypadku przesłonięć w klasie pochodnej program próbuje rozpoznać token zabezpieczający, który pasuje do określonej klauzuli identyfikatora klucza. (Przesłonięcie metody klasy bazowej).

TryResolveTokenCore(SecurityKeyIdentifier, SecurityToken)

Próbuje pobrać token zabezpieczający, który pasuje do co najmniej jednej z klauzul identyfikatora klucza zawartych w określonym identyfikatorze klucza. (Przesłonięcie metody 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 , który reprezentuje określony identyfikator klucza. Ten parametr jest przekazywany jako niezainicjowany.

Zwraca

Boolean

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

Dotyczy

TryResolveTokenCore(SecurityKeyIdentifierClause, SecurityToken)

W przypadku przesłonięć w klasie pochodnej program próbuje rozpoznać token zabezpieczający, który pasuje do określonej klauzuli identyfikatora klucza. (Przesłonięcie metody 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 tworzenia tokenu zabezpieczającego dla.

token
SecurityToken

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

Zwraca

Boolean

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

Dotyczy