Kizspy | Question: 37
(Choose 1 answer)
What is the purpose of the app. UseAuthorization() middleware in ASP.NET Core Web API?
A. It authenticates and logs incoming requests.
B. It checks whether the request is authorized based on the user's claims or roles.
C. It processes the request body and maps it to the appropriate model.
D. It logs the response status codes and exceptions.