Skip to content

Commit

Permalink
[PRDP-269] Changed function auth level
Browse files Browse the repository at this point in the history
  • Loading branch information
svariant committed Dec 5, 2023
1 parent 796f0b9 commit 8e5eed0
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public HttpResponseMessage run(
@HttpTrigger(name = "GetReceiptTrigger",
methods = {HttpMethod.GET},
route = "receipts/{event-id}",
authLevel = AuthorizationLevel.FUNCTION)
authLevel = AuthorizationLevel.ANONYMOUS)
HttpRequestMessage<Optional<String>> request,
@BindingName("event-id") String eventId,
final ExecutionContext context) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public HttpResponseMessage run(
@HttpTrigger(name = "GetReceiptByOrganizationFiscalCodeAndIUVTrigger",
methods = {HttpMethod.GET},
route = "receipts/organizations/{organization-fiscal-code}/iuvs/{iuv}",
authLevel = AuthorizationLevel.FUNCTION)
authLevel = AuthorizationLevel.ANONYMOUS)
HttpRequestMessage<Optional<String>> request,
@BindingName("organization-fiscal-code") String organizationFiscalCode,
@BindingName("iuv") String iuv,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public HttpResponseMessage run(
@HttpTrigger(name = "GetReceiptTrigger",
methods = {HttpMethod.GET},
route = "pdf-receipts/{file-name}",
authLevel = AuthorizationLevel.FUNCTION)
authLevel = AuthorizationLevel.ANONYMOUS)
HttpRequestMessage<Optional<String>> request,
@BindingName("file-name") String fileName,
final ExecutionContext context) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public HttpResponseMessage run(
@HttpTrigger(name = "RecoverNotNotifiedTrigger",
methods = {HttpMethod.POST},
route = "receipts/{event-id}/recover-not-notified",
authLevel = AuthorizationLevel.FUNCTION)
authLevel = AuthorizationLevel.ANONYMOUS)
HttpRequestMessage<Optional<String>> request,
@BindingName("event-id") String eventId,
@CosmosDBOutput(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ public HttpResponseMessage run(
@HttpTrigger(name = "RecoverNotNotifiedMassiveTrigger",
methods = {HttpMethod.POST},
route = "receipts/recover-not-notified",
authLevel = AuthorizationLevel.FUNCTION)
authLevel = AuthorizationLevel.ANONYMOUS)
HttpRequestMessage<Optional<String>> request,
@CosmosDBOutput(
name = "ReceiptDatastore",
Expand Down

0 comments on commit 8e5eed0

Please sign in to comment.