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
- keyIdentifierClause
Type: System.IdentityModel.Tokens.SecurityKeyIdentifierClause
- token
Type: System.IdentityModel.Tokens.SecurityToken
Return Value
Type: System.Boolean
Returns Boolean.
Remarks
If there is no match, then IssuerTokenResolver and 'base' are called in order.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.