title: ASP.NET Core: Custom authentication and authorization
body: <p>Let's consider that I already have a package that returns <code>UserIdentity</code> based on <code>HttpRequest</code>. I want to create an ASP.NET Core project that uses my package in order to get ClaimIdentity object. How it could be done?</p>