Udostępnij za pośrednictwem


SessionSecurityTokenResolver.TryResolveTokenCore Metoda

Definicja

Próbuje rozpoznać token z określonego identyfikatora klucza.

Przeciążenia

TryResolveTokenCore(SecurityKeyIdentifier, SecurityToken)

Próbuje rozpoznać token z określonego identyfikatora klucza.

TryResolveTokenCore(SecurityKeyIdentifierClause, SecurityToken)

Próbuje rozpoznać token z określonej klauzuli identyfikatora klucza.

TryResolveTokenCore(SecurityKeyIdentifier, SecurityToken)

Próbuje rozpoznać token z określonego identyfikatora 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.

token
SecurityToken

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

Zwraca

true jeśli token klucza został pomyślnie rozwiązany; w przeciwnym razie , false.

Dotyczy

TryResolveTokenCore(SecurityKeyIdentifierClause, SecurityToken)

Próbuje rozpoznać token z określonej klauzuli 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.

token
SecurityToken

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

Zwraca

true jeśli token klucza został pomyślnie rozwiązany; w przeciwnym razie , false.

Dotyczy