Example #1
0
 public IntrospectionEndpoint(ApiSecretValidator apiSecretValidator, IIntrospectionRequestValidator requestValidator, IIntrospectionResponseGenerator generator, IEventService events, ILogger <IntrospectionEndpoint> logger)
 {
     _apiSecretValidator = apiSecretValidator;
     _requestValidator   = requestValidator;
     _generator          = generator;
     _events             = events;
     _logger             = logger;
 }
Example #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="IntrospectionEndpoint"/> class.
 /// </summary>
 /// <param name="apiSecretValidator">The API secret validator.</param>
 /// <param name="requestValidator">The request validator.</param>
 /// <param name="responseGenerator">The generator.</param>
 /// <param name="logger">The logger.</param>
 public IntrospectionEndpoint(
     ApiSecretValidator apiSecretValidator,
     IIntrospectionRequestValidator requestValidator,
     IIntrospectionResponseGenerator responseGenerator,
     ILogger <IntrospectionEndpoint> logger)
 {
     _apiSecretValidator = apiSecretValidator;
     _requestValidator   = requestValidator;
     _responseGenerator  = responseGenerator;
     _logger             = logger;
 }