You can just add auth middleware in there. This is still full fledged ASP.NET Core. They just wire it up using a different style. There is a chapter in the referenced gist about adding middleware.
But I guess you more meant the example than the actual tech.
But I guess you more meant the example than the actual tech.