Skip to content

Releases: vitalybibikov/AzureExtensions.FunctionToken

1.0.13

10 May 11:40
Compare
Choose a tag to compare

Nuget: https://www.nuget.org/packages/AzureExtensions.FunctionToken/1.0.13

Updated:

System.IdentityModel.Tokens.Jwt => 6.5.1
FirebaseAdmin => 1.12.0
Sdk to 3.0.7

1.0.12

10 May 11:17
Compare
Choose a tag to compare

1.0.12 Minor fixes

Updated to v3 Functions

28 Dec 10:57
Compare
Choose a tag to compare
  • Updated to v3 Functions
  • Netstandrard 2.1
  • Minor fixes

1.0.6

27 Aug 09:23
ec6efcc
Compare
Choose a tag to compare
  • Added support of Firebase ID Tokens
  • Now it is possible to set a list of roles that are validated on the request: [FunctionToken("Manager", "Worker", "Owner", "Director")] if ClaimTypes.Role is set.
  • ClaimsPrincipal is available via req.HttpContext.User, and can be injected in a class when AddHttpContextAccessor is used.
  • Fixed small issues.

Nuget: https://www.nuget.org/packages/AzureExtensions.FunctionToken/1.0.6

Firebase support

25 Aug 12:57
Compare
Choose a tag to compare
Firebase support Pre-release
Pre-release

Added support of Firebase for Azure Functions.
Might be used with ID Tokens, issued from Firebase.
You need to specify a URI to your google json service secret. That's it

Signature is the same: Token is a JWT token, sent via Authrozation header. Prefixed with Bearer.

https://www.nuget.org/packages/AzureExtensions.FunctionToken/1.0.4

1.0.3

27 Jul 09:53
849e443
Compare
Choose a tag to compare

https://www.nuget.org/packages/AzureExtensions.FunctionToken/1.0.3

  • Added AuthLevel.Authorized/AllowAnonymous
  • Added Handler.Wrap/WrapAsync to return proper 401 result when unauthorized.
  • Fixed some errors.

1.0.2

22 Jul 14:42
c9fb9c0
Compare
Choose a tag to compare

https://www.nuget.org/packages/AzureExtensions.FunctionToken/1.0.2

  • Fixed some issues
  • Added JWT Signing key options