NamedKeyIssuerTokenResolver Constructor (IDictionary<String, IList<SecurityKey>>, IssuerTokenResolver)

Populates this instance with a named collection of SecurityKey(s) and an optional SecurityTokenResolver that will be called when a SecurityKeyIdentifier or SecurityKeyIdentifierClause cannot be resolved.

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

Syntax

'Declaration
Public Sub New ( _
    keys As IDictionary(Of String, IList(Of SecurityKey)), _
    innerTokenResolver As IssuerTokenResolver _
)
public NamedKeyIssuerTokenResolver(
    IDictionary<string, IList<SecurityKey>> keys,
    IssuerTokenResolver innerTokenResolver
)
public:
NamedKeyIssuerTokenResolver(
    IDictionary<String^, IList<SecurityKey^>^>^ keys, 
    IssuerTokenResolver^ innerTokenResolver
)
new : 
        keys:IDictionary<string, IList<SecurityKey>> * 
        innerTokenResolver:IssuerTokenResolver -> NamedKeyIssuerTokenResolver
public function NamedKeyIssuerTokenResolver(
    keys : IDictionary<String, IList<SecurityKey>>, 
    innerTokenResolver : IssuerTokenResolver
)

Parameters

Remarks

if 'keys' is null an empty collection will be created. A named collection of SecurityKey(s) can be added by accessing the property SecurityKeys.

.NET Framework Security

See Also

Reference

NamedKeyIssuerTokenResolver Class

NamedKeyIssuerTokenResolver Overload

System.IdentityModel.Tokens Namespace