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.
Namespace: MobileTrack.Web.PortalAssembly: MobileTrack.Web.Portal (in MobileTrack.Web.Portal.exe) Version: 0.7+ce90b2cf6b782b8d7b7fd47b3c546987c652c00f
public BlazorCookieLoginMiddleware(
RequestDelegate next,
Lazy<IAzureCosmosDb> cosmosDb
)
Parameters
- next RequestDelegate
- Next item to handle
- cosmosDb LazyIAzureCosmosDb
- Dependency injected cosmos db handler