I am writing a service that accesses information about the current user.
Currently I pass the User property from the controller in through a parameter into my logic class and working with the ClaimsPrincipal that way.
I know there's usually some way to access the current user globally (in previous versions using HttpContext.Current.User, for example), so what is the current equivalent in MVC 6?
The answer to this question explains that ClaimsPrincipal.Current is not thread safe and therefore not a useful replacement for HttpContext.Current.User