Table of Contents

Class AuthorizeInteractionResponseGenerator

Namespace
Duende.IdentityServer.ResponseHandling
Assembly
Duende.IdentityServer.dll

Default logic for determining if user must login or consent when making requests to the authorization endpoint.

public class AuthorizeInteractionResponseGenerator : IAuthorizeInteractionResponseGenerator
Inheritance
AuthorizeInteractionResponseGenerator
Implements
Inherited Members

Constructors

AuthorizeInteractionResponseGenerator(IdentityServerOptions, IClock, ILogger<AuthorizeInteractionResponseGenerator>, IConsentService, IProfileService)

Initializes a new instance of the AuthorizeInteractionResponseGenerator class.

public AuthorizeInteractionResponseGenerator(IdentityServerOptions options, IClock clock, ILogger<AuthorizeInteractionResponseGenerator> logger, IConsentService consent, IProfileService profile)

Parameters

options IdentityServerOptions
clock IClock

The clock.

logger ILogger<AuthorizeInteractionResponseGenerator>

The logger.

consent IConsentService

The consent.

profile IProfileService

The profile.

See Also

Fields

Clock

The clock

protected readonly IClock Clock

Field Value

IClock
See Also

The consent service.

protected readonly IConsentService Consent

Field Value

IConsentService
See Also

Logger

The logger.

protected readonly ILogger Logger

Field Value

ILogger
See Also

Options

The options

protected readonly IdentityServerOptions Options

Field Value

IdentityServerOptions
See Also

Profile

The profile service.

protected readonly IProfileService Profile

Field Value

IProfileService
See Also

Methods

ProcessConsentAsync(ValidatedAuthorizeRequest, ConsentResponse)

Processes the consent logic.

protected virtual Task<InteractionResponse> ProcessConsentAsync(ValidatedAuthorizeRequest request, ConsentResponse consent = null)

Parameters

request ValidatedAuthorizeRequest

The request.

consent ConsentResponse

The consent.

Returns

Task<InteractionResponse>

Exceptions

ArgumentNullException
ArgumentException

Invalid PromptMode

See Also

ProcessCreateAccountAsync(ValidatedAuthorizeRequest)

Processes the create account logic.

protected virtual Task<InteractionResponse> ProcessCreateAccountAsync(ValidatedAuthorizeRequest request)

Parameters

request ValidatedAuthorizeRequest

The request.

Returns

Task<InteractionResponse>
See Also

ProcessInteractionAsync(ValidatedAuthorizeRequest, ConsentResponse)

Processes the interaction logic.

public virtual Task<InteractionResponse> ProcessInteractionAsync(ValidatedAuthorizeRequest request, ConsentResponse consent = null)

Parameters

request ValidatedAuthorizeRequest

The request.

consent ConsentResponse

The consent.

Returns

Task<InteractionResponse>
See Also

ProcessLoginAsync(ValidatedAuthorizeRequest)

Processes the login logic.

protected virtual Task<InteractionResponse> ProcessLoginAsync(ValidatedAuthorizeRequest request)

Parameters

request ValidatedAuthorizeRequest

The request.

Returns

Task<InteractionResponse>
See Also

See Also