Edit

Bagikan melalui


SecurityContextSecurityTokenResolver.TryResolveSecurityKeyCore Method

Definition

Attempts to resolve the security key core, given a specified key identifier clause.

protected:
 override bool TryResolveSecurityKeyCore(System::IdentityModel::Tokens::SecurityKeyIdentifierClause ^ keyIdentifierClause, [Runtime::InteropServices::Out] System::IdentityModel::Tokens::SecurityKey ^ % key);
protected override bool TryResolveSecurityKeyCore (System.IdentityModel.Tokens.SecurityKeyIdentifierClause keyIdentifierClause, out System.IdentityModel.Tokens.SecurityKey key);
override this.TryResolveSecurityKeyCore : System.IdentityModel.Tokens.SecurityKeyIdentifierClause * SecurityKey -> bool
Protected Overrides Function TryResolveSecurityKeyCore (keyIdentifierClause As SecurityKeyIdentifierClause, ByRef key As SecurityKey) As Boolean

Parameters

keyIdentifierClause
SecurityKeyIdentifierClause

The security key identifier clause.

key
SecurityKey

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

Returns

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

Applies to