This provides sample app for authenticating Azure Functions endpoints by OAuth through the integrated Swagger UI.
Why do you think that https://github.com/aspnet/AspNetCore is a good alternative to azure-functions-oauth-authentications-via-swagger-ui