IOpenApiHttpTriggerAuthorization requires IHttpRequestDataObject but function has HttpRequestData
GilShalit opened this issue · comments
The IOpenApiHttpTriggerAuthorization includes the following task:
public virtual async Task<OpenApiAuthorizationResult> AuthorizeAsync(IHttpRequestDataObject req)
So how can I call it from an isolated .net7+ Azure Http trigger function if I only have an HttpRequestData object?
I must be missing something about the use of AuthorizeAsync(). Can someone post a sample integration into an Azure function?
Thanks!