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
- keyIdentifierClause
Type: System.IdentityModel.Tokens.SecurityKeyIdentifierClause
- key
Type: System.IdentityModel.Tokens.SecurityKey
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.