Table of Contents

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

events IEventService

The events.

logger ILogger<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

ILogger
See Also

Methods

AreExpectedScopesPresentAsync(IntrospectionRequestValidationResult)

Checks if the API resource is allowed to introspect the scopes.

protected virtual Task<bool> AreExpectedScopesPresentAsync(IntrospectionRequestValidationResult validationResult)

Parameters

validationResult IntrospectionRequestValidationResult

The validation result.

Returns

Task<bool>
See Also

ProcessAsync(IntrospectionRequestValidationResult)

Processes the response.

public virtual Task<Dictionary<string, object>> ProcessAsync(IntrospectionRequestValidationResult validationResult)

Parameters

validationResult IntrospectionRequestValidationResult

The validation result.

Returns

Task<Dictionary<string, object>>
See Also

See Also