Muokkaa

Jaa


SessionSecurityTokenResolver.TryResolveTokenCore Method

Definition

Attempts to resolve the token from the specified key identifier.

Overloads

TryResolveTokenCore(SecurityKeyIdentifier, SecurityToken)

Attempts to resolve the token from the specified key identifier.

TryResolveTokenCore(SecurityKeyIdentifierClause, SecurityToken)

Attempts to resolve the token from the specified key identifier clause.

TryResolveTokenCore(SecurityKeyIdentifier, SecurityToken)

Attempts to resolve the token from the specified key identifier.

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

Parameters

keyIdentifier
SecurityKeyIdentifier

The key identifier.

token
SecurityToken

When this method returns, contains the resolved key core. This parameter is passed uninitialized.

Returns

true if the key token was successfully resolved; otherwise, false.

Applies to

TryResolveTokenCore(SecurityKeyIdentifierClause, SecurityToken)

Attempts to resolve the token from the specified key identifier clause.

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

Parameters

keyIdentifierClause
SecurityKeyIdentifierClause

The key identifier clause.

token
SecurityToken

When this method returns, contains the resolved key core. This parameter is passed uninitialized.

Returns

true if the key token was successfully resolved; otherwise, false.

Applies to