BlazorCookieLoginMiddleware Constructor

By using middle ware, we can log in and logout without having to use custom controllers or .cshtml pages, and retain the same functionality across the entire website.

Definition

Namespace: MobileTrack.Web.Portal
Assembly: MobileTrack.Web.Portal (in MobileTrack.Web.Portal.exe) Version: 0.7+1dadc87dcf0a0f837e19a3ce2deb7c1cd85375d1
public BlazorCookieLoginMiddleware(
	RequestDelegate next,
	Lazy<IAzureCosmosDb> cosmosDb
)

Parameters

next  RequestDelegate
Next item to handle
cosmosDb  LazyIAzureCosmosDb
Dependency injected cosmos db handler

See Also