Udostępnij za pośrednictwem


SecurityContextSecurityTokenResolver.TryResolveTokenCore Metoda

Definicja

Próbuje rozpoznać token, biorąc pod uwagę określony identyfikator klucza.

Przeciążenia

TryResolveTokenCore(SecurityKeyIdentifier, SecurityToken)

Próbuje rozpoznać token, biorąc pod uwagę określony identyfikator klucza.

TryResolveTokenCore(SecurityKeyIdentifierClause, SecurityToken)

Próbuje rozpoznać token, biorąc pod uwagę określoną klauzulę identyfikatora klucza.

TryResolveTokenCore(SecurityKeyIdentifier, SecurityToken)

Próbuje rozpoznać token, biorąc pod uwagę określony identyfikator 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ń.

token
SecurityToken

Gdy ta metoda zwraca wartość , zawiera rozpoznany rdzeń klucza. Ten parametr jest przekazywany jako niezainicjowany.

Zwraca

Boolean

true jeśli token klucza został pomyślnie rozpoznany; w przeciwnym false razie .

Dotyczy

TryResolveTokenCore(SecurityKeyIdentifierClause, SecurityToken)

Próbuje rozpoznać token, biorąc pod uwagę 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 zabezpieczeń.

token
SecurityToken

Gdy ta metoda zwraca wartość , zawiera rozpoznany rdzeń klucza. Ten parametr jest przekazywany jako niezainicjowany.

Zwraca

Boolean

true jeśli token klucza został pomyślnie rozpoznany; w przeciwnym false razie .

Dotyczy