NamedKeyIssuerTokenResolver.TryResolveSecurityKeyCore Method

Finds the first SecurityKey in a named collection that match the SecurityKeyIdentifierClause.

Namespace:  System.IdentityModel.Tokens
Assembly:  System.IdentityModel.Tokens.Jwt (in System.IdentityModel.Tokens.Jwt.dll)

Syntax

'Declaration
Protected Overridable Function TryResolveSecurityKeyCore ( _
    keyIdentifierClause As SecurityKeyIdentifierClause, _
    <OutAttribute> ByRef key As SecurityKey _
) As Boolean
protected virtual bool TryResolveSecurityKeyCore(
    SecurityKeyIdentifierClause keyIdentifierClause,
    out SecurityKey key
)
protected:
virtual bool TryResolveSecurityKeyCore(
    SecurityKeyIdentifierClause^ keyIdentifierClause, 
    [OutAttribute] SecurityKey^% key
)
abstract TryResolveSecurityKeyCore : 
        keyIdentifierClause:SecurityKeyIdentifierClause * 
        key:SecurityKey byref -> bool  
override TryResolveSecurityKeyCore : 
        keyIdentifierClause:SecurityKeyIdentifierClause * 
        key:SecurityKey byref -> bool
protected function TryResolveSecurityKeyCore(
    keyIdentifierClause : SecurityKeyIdentifierClause, 
    key : SecurityKey
) : boolean

Parameters

Return Value

Type: System.Boolean
Returns Boolean.

Remarks

If there is no match, then IssuerTokenResolver and 'base' are called in order.

.NET Framework Security

See Also

Reference

NamedKeyIssuerTokenResolver Class

System.IdentityModel.Tokens Namespace