Język

AggregateTokenResolver.TryResolveTokenCore Metoda

Definicja

Przeciążenia

Nazwisko Opis
TryResolveTokenCore(SecurityKeyIdentifier, SecurityToken)

Próbuje pobrać token zabezpieczający zgodny z co najmniej jedną z klauzul identyfikatora klucza zawartą w określonym identyfikatorze klucza.

TryResolveTokenCore(SecurityKeyIdentifierClause, SecurityToken)

Próbuje rozpoznać token zabezpieczający zgodny z określoną klauzulą identyfikatora klucza.

TryResolveTokenCore(SecurityKeyIdentifier, SecurityToken)

Źródło:
AggregateTokenResolver.cs
Źródło:
AggregateTokenResolver.cs
Źródło:
AggregateTokenResolver.cs

Próbuje pobrać token zabezpieczający zgodny z co najmniej jedną z klauzul identyfikatora klucza zawartą w określonym identyfikatorze klucza.

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 zabezpieczeń do pobrania tokenu.

token
SecurityToken

Gdy ta metoda zostanie zwrócona, zawiera token reprezentujący określony identyfikator klucza. Ten parametr jest przekazywany niezainicjowany.

Zwraca

true gdy można pobrać token dla określonego identyfikatora klucza; w przeciwnym razie, false.

Wyjątki

Parametr keyIdentifier ma wartość null.

Uwagi

Metoda jest wywoływana TryResolveTokenCoreTryResolveToken przez metody i ResolveToken .

Dotyczy

TryResolveTokenCore(SecurityKeyIdentifierClause, SecurityToken)

Źródło:
AggregateTokenResolver.cs
Źródło:
AggregateTokenResolver.cs
Źródło:
AggregateTokenResolver.cs

Próbuje rozpoznać token zabezpieczający zgodny z określoną klauzulą identyfikatora klucza.

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 zostanie zwrócona, zawiera token zabezpieczający reprezentujący określoną klauzulę identyfikatora klucza. Ten parametr jest przekazywany niezainicjowany.

Zwraca

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

Wyjątki

Parametr keyIdentifierClause ma wartość null.

Uwagi

Metoda jest wywoływana TryResolveTokenCoreTryResolveToken przez metody i ResolveToken .

Dotyczy