title: In ASP.NET Core is there a way to access AuthenticationProperties during configuration?
body: <p>I have an audit situation where i need to access the AuthenticationProperties for every request in an ASP.NET Core application. Since AuthenticationProperties requires dependency injection, how can i access it during the configuration phase (in my Startup class) before the request hits any endpoints?
  Is there a way to access the servicesprovider to get an instance of AuthenticationProperties at some point during configuration or maybe in a custom middleware?</p>