NamedKeyIssuerTokenResolver.TryResolveTokenCore Method (SecurityKeyIdentifierClause, SecurityToken)

Finds a named collection of SecurityKey(s) that match the SecurityKeyIdentifierClause and returns a NamedKeySecurityToken that contains the SecurityKey(s).

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

Syntax

'Declaration
Protected Overridable Function TryResolveTokenCore ( _
    keyIdentifierClause As SecurityKeyIdentifierClause, _
    <OutAttribute> ByRef token As SecurityToken _
) As Boolean
protected virtual bool TryResolveTokenCore(
    SecurityKeyIdentifierClause keyIdentifierClause,
    out SecurityToken token
)
protected:
virtual bool TryResolveTokenCore(
    SecurityKeyIdentifierClause^ keyIdentifierClause, 
    [OutAttribute] SecurityToken^% token
)
abstract TryResolveTokenCore : 
        keyIdentifierClause:SecurityKeyIdentifierClause * 
        token:SecurityToken byref -> bool  
override TryResolveTokenCore : 
        keyIdentifierClause:SecurityKeyIdentifierClause * 
        token:SecurityToken byref -> bool
protected function TryResolveTokenCore(
    keyIdentifierClause : SecurityKeyIdentifierClause, 
    token : SecurityToken
) : 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

TryResolveTokenCore Overload

System.IdentityModel.Tokens Namespace