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.8+821604ea552bde242964120acb39b21c90d2b4af
public BlazorCookieLoginMiddleware(
RequestDelegate next,
Lazy<IAzureCosmosDb> cosmosDb
)
Parameters
- next RequestDelegate
- Next item to handle
- cosmosDb LazyIAzureCosmosDb
- Dependency injected cosmos db handler