You need to access data from the user claim object in the e-commerce web app. What should you do first?
Microsoft AZ-204 Exam
Questions Number: 350 out of 355 Questions
98.59%
Question 350
You need to access data from the user claim object in the e-commerce web app. What should you do first?
Methods to Get User Identity and Claims in a .NET Azure Functions App include: - ClaimsPrincipal from the Request Context The ClaimsPrincipal object is also available as part of the request context and can be extracted from the HttpRequest.HttpContext. - User Claims from the Request Headers. App Service passes user claims to the app by using special request headers. Reference: https://levelup.gitconnected.com/four-alternative-methods-to-get-user-identity-and-claims-in-a-net-azure-functions-app-df98c40424bb