Class IntrospectionResponseGenerator
- Namespace
 - Duende.IdentityServer.ResponseHandling
 
- Assembly
 - Duende.IdentityServer.dll
 
The introspection response generator
public class IntrospectionResponseGenerator : IIntrospectionResponseGenerator
  - Inheritance
 - 
      
      IntrospectionResponseGenerator
 
- Implements
 
- Inherited Members
 
Constructors
IntrospectionResponseGenerator(IEventService, ILogger<IntrospectionResponseGenerator>)
Initializes a new instance of the IntrospectionResponseGenerator class.
public IntrospectionResponseGenerator(IEventService events, ILogger<IntrospectionResponseGenerator> logger)
  Parameters
eventsIEventServiceThe events.
loggerILogger<IntrospectionResponseGenerator>The logger.
- See Also
 
Fields
Events
Gets the events.
protected readonly IEventService Events
  Field Value
- IEventService
 The events.
- See Also
 
Logger
The logger
protected readonly ILogger Logger
  Field Value
- See Also
 
Methods
AreExpectedScopesPresentAsync(IntrospectionRequestValidationResult)
Checks if the API resource is allowed to introspect the scopes.
protected virtual Task<bool> AreExpectedScopesPresentAsync(IntrospectionRequestValidationResult validationResult)
  Parameters
validationResultIntrospectionRequestValidationResultThe validation result.
Returns
- See Also
 
ProcessAsync(IntrospectionRequestValidationResult)
Processes the response.
public virtual Task<Dictionary<string, object>> ProcessAsync(IntrospectionRequestValidationResult validationResult)
  Parameters
validationResultIntrospectionRequestValidationResultThe validation result.
Returns
- See Also