AggregateTokenResolver.TryResolveTokenCore Metodo

Definizione

Overload

Nome Descrizione
TryResolveTokenCore(SecurityKeyIdentifier, SecurityToken)

Tenta di recuperare il token di sicurezza corrispondente ad almeno una delle clausole dell'identificatore di chiave contenute nell'identificatore di chiave specificato.

TryResolveTokenCore(SecurityKeyIdentifierClause, SecurityToken)

Tenta di risolvere il token di sicurezza corrispondente alla clausola dell'identificatore di chiave specificata.

TryResolveTokenCore(SecurityKeyIdentifier, SecurityToken)

Origine:
AggregateTokenResolver.cs
Origine:
AggregateTokenResolver.cs
Origine:
AggregateTokenResolver.cs

Tenta di recuperare il token di sicurezza corrispondente ad almeno una delle clausole dell'identificatore di chiave contenute nell'identificatore di chiave specificato.

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

Parametri

keyIdentifier
SecurityKeyIdentifier

Identificatore della chiave di sicurezza per cui recuperare il token.

token
SecurityToken

Quando termina, questo metodo contiene un token che rappresenta l'identificatore di chiave specificato. Questo parametro viene passato non inizializzato.

Valori restituiti

true quando un token può essere recuperato per l'identificatore di chiave specificato; in caso contrario, false.

Eccezioni

keyIdentifier è null.

Commenti

Il TryResolveTokenCore metodo viene chiamato dai TryResolveToken metodi e ResolveToken .

Si applica a

TryResolveTokenCore(SecurityKeyIdentifierClause, SecurityToken)

Origine:
AggregateTokenResolver.cs
Origine:
AggregateTokenResolver.cs
Origine:
AggregateTokenResolver.cs

Tenta di risolvere il token di sicurezza corrispondente alla clausola dell'identificatore di chiave specificata.

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

Parametri

keyIdentifierClause
SecurityKeyIdentifierClause

Clausola dell'identificatore di chiave per cui creare un token di sicurezza.

token
SecurityToken

Quando termina, questo metodo contiene un token di sicurezza che rappresenta la clausola dell'identificatore di chiave specificata. Questo parametro viene passato non inizializzato.

Valori restituiti

true quando è possibile recuperare un token di sicurezza per la clausola dell'identificatore di chiave specificata; in caso contrario, false.

Eccezioni

keyIdentifierClause è null.

Commenti

Il TryResolveTokenCore metodo viene chiamato dai TryResolveToken metodi e ResolveToken .

Si applica a