Microsoft provided here a prompt description how to use this middleware but it has no mention of what the middleware exactly does. What is good for/what does it exactly do?
The code for initialising the middleware in startup.cs
is:
app.UseCookiePolicy(cookiePolicyOptions);