Getting the ClaimsPrincipal in a logic layer in an aspnet core 1 application
<p>I'm writing an aspnet core 1 application.
Using a bearer token authentication I have the User property inside the controller with the correct identity. However I cant seem to find a way to grab with identity as I did before using the <code>ClaimPrincipal.Current</code> static.
What is the current best practice to get this data inside the BL layers with out passing the ClaimPrincipal object around?</p>