title: How to integrate Asp Net Core Identity with a custom user provider?
body: <p>I'm writing a web api server and i need to protect controllers actions with Identity authorization.</p>
  
  <p>It's an internal business application and users are managed from another service, so I just have to login&amp;logout through thats external dll.</p>
  
  <p>I have an external service which returns claims and role for a given username, but I'm totally lost on how to "wrap" this with identity.</p>
  
  <p>I have my implementation of IdentityUser and an implementation of IUserStore&lt;> with just what I need, but I can't find any tutorial on how to create a custom signinmanager and a usermanager (for my situation) and I don't even know if I really need those or how to link them all together in the startup.cs</p>
  
  <p>Any hint will be greatly appreciated :)</p>