diff --git a/.build/release.props b/.build/release.props index 6a58291..8bc070a 100644 --- a/.build/release.props +++ b/.build/release.props @@ -4,7 +4,7 @@ Arturo Martinez DarkLoop DarkLoop.Azure.Functions.Authorize - true + false 3.0.0.0 3.1.2 $(Version).0 @@ -17,6 +17,7 @@ dl-sftwr-sn-key.snk true Azure Functions V3 authentication extensions to enable authentication and authorization on a per function basis. + README.md @@ -27,4 +28,8 @@ $(Version)$(PreviewVersion) + + + + diff --git a/src/DarkLoop.Azure.Functions.Authorize/Bindings/FunctionsAuthorizeBindingProvider.cs b/src/DarkLoop.Azure.Functions.Authorize/Bindings/FunctionsAuthorizeBindingProvider.cs index bbffdde..8e02d19 100644 --- a/src/DarkLoop.Azure.Functions.Authorize/Bindings/FunctionsAuthorizeBindingProvider.cs +++ b/src/DarkLoop.Azure.Functions.Authorize/Bindings/FunctionsAuthorizeBindingProvider.cs @@ -46,10 +46,8 @@ private Task ProcessAuthorizationAsync(ParameterInfo info) if (allowAnonymous != null) return Task.CompletedTask; -#pragma warning disable CS0618 // Type or member is obsolete var classAuthAttrs = cls.GetCustomAttributes(); var methodAuthAttrs = method.GetCustomAttributes(); -#pragma warning restore CS0618 // Type or member is obsolete var nameAttr = method.GetCustomAttribute(); var allAuthAttributes = classAuthAttrs.Concat(methodAuthAttrs).ToList();