WebJobsAuthenticationEventRequest<TResponse,TData> Class

Definition

The base class for all typed event requests and its related response and data model.

public abstract class WebJobsAuthenticationEventRequest<TResponse,TData> : Microsoft.Azure.WebJobs.Extensions.AuthenticationEvents.WebJobsAuthenticationEventRequestBase where TResponse : WebJobsAuthenticationEventResponse, new() where TData : WebJobsAuthenticationEventData
type WebJobsAuthenticationEventRequest<'Response, 'Data (requires 'Response :> WebJobsAuthenticationEventResponse and 'Response : (new : unit -> 'Response) and 'Data :> WebJobsAuthenticationEventData)> = class
    inherit WebJobsAuthenticationEventRequestBase
Public MustInherit Class WebJobsAuthenticationEventRequest(Of TResponse, TData)
Inherits WebJobsAuthenticationEventRequestBase

Type Parameters

TResponse

The EventResponse related to the request.

TData

The EventData model related to the request.

Inheritance
WebJobsAuthenticationEventRequest<TResponse,TData>
Derived

Properties

Data

Gets or sets the related EventData model.

QueryParameters

Gets the query parameters passed from the http request message.

(Inherited from WebJobsAuthenticationEventRequestBase)
RequestStatus

Gets or sets the request status.

(Inherited from WebJobsAuthenticationEventRequestBase)
Response

Gets or sets the related EventResponse object.

StatusMessage

Gets or sets the status message.

(Inherited from WebJobsAuthenticationEventRequestBase)
Type

Gets or sets the type.

(Inherited from WebJobsAuthenticationEventRequestBase)

Methods

Completed()

Validates the response and creates the IActionResult with the json payload based on the status of the request.

Failed(Exception)

Sets the response statuscode, reason phrase and body when we want to return failed.

ToString()

Converts to string.

(Inherited from WebJobsAuthenticationEventRequestBase)

Applies to

See also