Authorization information in Python Azure Function

Brass Contributor

In a premium Python Azure Function with authentication enabled:


- Is the correct way to identify the caller via x-ms-client-principal-name in the request header?
- Is the correct way to get the claims to decode the JWT x-ms-client-principal in the request header?
- I ask because C# Azure functions expose a ClaimsPrincipal with this information. Is there a similar layer of abstraction for Python functions?

0 Replies