SecurityTokenResolver.TryResolveSecurityKeyCore Method (SecurityKeyIdentifierClause, SecurityKey)

 

Attempts to retrieve the key that is referenced in the specified key identifier clause.

Namespace:   System.IdentityModel.Selectors
Assembly:  System.IdentityModel (in System.IdentityModel.dll)

protected abstract bool TryResolveSecurityKeyCore(
	SecurityKeyIdentifierClause keyIdentifierClause,
	out SecurityKey key
)

Parameters

keyIdentifierClause
Type: System.IdentityModel.Tokens.SecurityKeyIdentifierClause

A SecurityKeyIdentifierClause to retrieve the key for.

key
Type: System.IdentityModel.Tokens.SecurityKey

When this method returns, contains a SecurityKey that contains the key that is referenced in the specified key identifier clause. This parameter is passed uninitialized.

Return Value

Type: System.Boolean

true when a key can be retrieved for the specified key identifier clause; otherwise, false.

The TryResolveSecurityKeyCore method is called by the TryResolveSecurityKey and ResolveSecurityKey methods.

.NET Framework
Available since 3.0
Return to top
Show: