Skip to content

Latest commit

 

History

History
29 lines (22 loc) · 1.84 KB

README.md

File metadata and controls

29 lines (22 loc) · 1.84 KB

functions-authorize

Extension bringing AuthorizeAttribute Behavior to Azure Functions In-Proc and Isolated mode. For the latter is only available with ASPNET Core integration.

It hooks into .NET Core dependency injection container to enable authentication and authorization in the same way ASP.NET Core does.

Breaking for current package consumers
Starting with version 4.1.0, due to security changes made on the Functions runtime, the Bearer scheme is no longer supported for your app functions.
Use AddJwtFunctionsBearer(Action<JwtBearerOptions>) instead of AddJwtBearer(Action<JwtBearerOptions>) when setting up authentication. Using AddJwtBearer will generate a compilation error when used against FunctionsAuthenticationBuilder. We are introducing JwtFunctionsBearerDefaults to refer to the suggested new custom scheme name.
No changes should be required if already using a custom scheme name.
Refer to respective README documentation for isolated and in-process for more information.

Getting Started

License

This projects is open source and may be redistributed under the terms of the Apache 2.0 license.

Package Status

Releases

Nuget

Builds

master build status

Change Log

You can access the change log here.