Please I need assistance in implementing a custom way of assigning claims to authenticated users. On successful login,
var result = await SignInManager.Pass
are you not able to access User.Identity from the view?
User.Identity
To retrieve claims for a user, it's been as simple as this for me:
var identity = (ClaimsIdentity) User.Identity
And then accessing identity.Claims and using LINQ to retrieve specific claims.
identity.Claims