88using System . Security . Claims ;
99using System . Text . Encodings . Web ;
1010using System . Threading . Tasks ;
11- using IdentityModel . Client ;
11+ using Duende . IdentityModel . Client ;
1212using Microsoft . AspNetCore . Authentication ;
1313using Microsoft . AspNetCore . Http ;
1414using Microsoft . Extensions . Caching . Distributed ;
@@ -33,22 +33,19 @@ public class OAuth2IntrospectionHandler : AuthenticationHandler<OAuth2Introspect
3333 /// </summary>
3434 /// <param name="options">The options.</param>
3535 /// <param name="urlEncoder">The URL encoder.</param>
36- /// <param name="clock">The clock.</param>
3736 /// <param name="loggerFactory">The logger factory.</param>
3837 /// <param name="cache">The cache.</param>
3938 public OAuth2IntrospectionHandler (
4039 IOptionsMonitor < OAuth2IntrospectionOptions > options ,
4140 UrlEncoder urlEncoder ,
42- ISystemClock clock ,
4341 ILoggerFactory loggerFactory ,
4442 IDistributedCache cache = null )
45- : base ( options , loggerFactory , urlEncoder , clock )
43+ : base ( options , loggerFactory , urlEncoder )
4644 {
4745 _logger = loggerFactory . CreateLogger < OAuth2IntrospectionHandler > ( ) ;
4846 _cache = cache ;
4947 }
5048
51-
5249 /// <summary>
5350 /// The handler calls methods on the events which give the application control at certain points where processing is occurring.
5451 /// If it is not provided a default instance is supplied which does nothing when the methods are called.
@@ -272,4 +269,4 @@ private static async Task<AuthenticateResult> CreateTicket(
272269 return tokenValidatedContext . Result ;
273270 }
274271 }
275- }
272+ }
0 commit comments