1개 답변
- 최신
- 최다 투표
- 가장 많은 댓글
0
Hey,
I am not sure that gets populated but you could check this:
_httpContextAccessor.HttpContext.User.Claims.FirstOrDefault(c => c.Type == ClaimTypes.GivenName)?.Value;
This example will get you the first name but you should be able to see all the claims in that User.Claims collection
Thanks
답변함 일 년 전
관련 콘텐츠
- AWS 공식업데이트됨 2년 전
- AWS 공식업데이트됨 일 년 전
- AWS 공식업데이트됨 일 년 전