Friday, 3 January 2025

jwt token value access inside api controller

var username = User.FindFirst("name")?.Value;

var name=User.Claims.FirstOrDefault(c => c.Type == "unique_name")?.Value;

No comments:

Post a Comment

HCL healthcare

 hcl health care f2f second round interview asked more uestions on microservice 1.apim manage all apis in one place 2.sql profiler in one fo...