Azure Function 2.x - Get Current User's Claims
This feature is now supported in C# in Azure Functions 2.0. You can now add ClaimsPrincipal
as a parameter to your HttpTrigger
function's signature, or you can access it on the HttpRequest
object via req.HttpContext.User
.
Support should be coming soon to JavaScript, and eventually all languages should support this feature.