Table of Contents

Class AcknowledgmentsController

Namespace
ReferenceApplication.Web.Controllers.Api
Assembly
ReferenceApplication.Web.dll

Completes host-owned acknowledgment challenges before a consequential retry.

[ApiController]
[ApiVersion("1.0")]
[Authorize(Policy = "application.AuthenticatedUser")]
[Route("api/v{version:apiVersion}/acknowledgments")]
public sealed class AcknowledgmentsController : ControllerBase
Inheritance
AcknowledgmentsController
Inherited Members

Constructors

AcknowledgmentsController(ApplicationAcknowledgmentWorkflow)

Completes host-owned acknowledgment challenges before a consequential retry.

public AcknowledgmentsController(ApplicationAcknowledgmentWorkflow workflow)

Parameters

workflow ApplicationAcknowledgmentWorkflow

Methods

Submit(SubmitAcknowledgmentRequest, CancellationToken)

Records the current actor's response to a persisted acknowledgment challenge.

[HttpPost]
[ValidateAntiForgeryToken]
[ProducesResponseType<AcknowledgmentSubmissionResponse>(200)]
[ProducesResponseType(403)]
public Task<ActionResult<AcknowledgmentSubmissionResponse>> Submit(SubmitAcknowledgmentRequest request, CancellationToken cancellationToken)

Parameters

request SubmitAcknowledgmentRequest
cancellationToken CancellationToken

Returns

Task<ActionResult<AcknowledgmentSubmissionResponse>>