diff --git a/src/System Application/App/Rest Client/src/Authentication/HttpAuthOAuthClientCredentials.Codeunit.al b/src/System Application/App/Rest Client/src/Authentication/HttpAuthOAuthClientCredentials.Codeunit.al index 3cccb6fb90..cd73e7752e 100644 --- a/src/System Application/App/Rest Client/src/Authentication/HttpAuthOAuthClientCredentials.Codeunit.al +++ b/src/System Application/App/Rest Client/src/Authentication/HttpAuthOAuthClientCredentials.Codeunit.al @@ -7,6 +7,7 @@ namespace System.RestClient; codeunit 2361 "HttpAuthOAuthClientCredentials" implements "Http Authentication" { + Access = Public; InherentEntitlements = X; InherentPermissions = X; diff --git a/src/System Application/App/Rest Client/src/Authentication/HttpAuthenticationAnonymous.Codeunit.al b/src/System Application/App/Rest Client/src/Authentication/HttpAuthenticationAnonymous.Codeunit.al index abf1c542c3..3ca85bf67e 100644 --- a/src/System Application/App/Rest Client/src/Authentication/HttpAuthenticationAnonymous.Codeunit.al +++ b/src/System Application/App/Rest Client/src/Authentication/HttpAuthenticationAnonymous.Codeunit.al @@ -7,6 +7,7 @@ namespace System.RestClient; /// Implementation of the "Http Authentication" interface for a anonymous request. codeunit 2358 "Http Authentication Anonymous" implements "Http Authentication" { + Access = Public; InherentEntitlements = X; InherentPermissions = X; diff --git a/src/System Application/App/Rest Client/src/Authentication/HttpAuthenticationBasic.Codeunit.al b/src/System Application/App/Rest Client/src/Authentication/HttpAuthenticationBasic.Codeunit.al index 552d139504..f5499c06a3 100644 --- a/src/System Application/App/Rest Client/src/Authentication/HttpAuthenticationBasic.Codeunit.al +++ b/src/System Application/App/Rest Client/src/Authentication/HttpAuthenticationBasic.Codeunit.al @@ -9,6 +9,7 @@ using System; codeunit 2359 "Http Authentication Basic" implements "Http Authentication" { + Access = Public; InherentEntitlements = X; InherentPermissions = X; diff --git a/src/System Application/App/Rest Client/src/ExceptionHandling/RestClientException.Enum.al b/src/System Application/App/Rest Client/src/ExceptionHandling/RestClientException.Enum.al index f97c0bf79f..44d9447078 100644 --- a/src/System Application/App/Rest Client/src/ExceptionHandling/RestClientException.Enum.al +++ b/src/System Application/App/Rest Client/src/ExceptionHandling/RestClientException.Enum.al @@ -1,3 +1,7 @@ +// ------------------------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// ------------------------------------------------------------------------------------------------ namespace System.RestClient; /// diff --git a/src/System Application/App/Rest Client/src/ExceptionHandling/RestClientExceptionBuilder.Codeunit.al b/src/System Application/App/Rest Client/src/ExceptionHandling/RestClientExceptionBuilder.Codeunit.al index e0312ffdc4..97d7ea1963 100644 --- a/src/System Application/App/Rest Client/src/ExceptionHandling/RestClientExceptionBuilder.Codeunit.al +++ b/src/System Application/App/Rest Client/src/ExceptionHandling/RestClientExceptionBuilder.Codeunit.al @@ -1,7 +1,12 @@ +// ------------------------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// ------------------------------------------------------------------------------------------------ namespace System.RestClient; codeunit 2362 "Rest Client Exception Builder" { + Access = Public; InherentEntitlements = X; InherentPermissions = X; diff --git a/src/System Application/App/Rest Client/src/HttpClientHandler/HttpClientHandler.Codeunit.al b/src/System Application/App/Rest Client/src/HttpClientHandler/HttpClientHandler.Codeunit.al index a82672eae5..edd33ee443 100644 --- a/src/System Application/App/Rest Client/src/HttpClientHandler/HttpClientHandler.Codeunit.al +++ b/src/System Application/App/Rest Client/src/HttpClientHandler/HttpClientHandler.Codeunit.al @@ -6,6 +6,7 @@ namespace System.RestClient; codeunit 2360 "Http Client Handler" implements "Http Client Handler" { + Access = Public; InherentEntitlements = X; InherentPermissions = X; diff --git a/src/System Application/App/Rest Client/src/HttpContent.Codeunit.al b/src/System Application/App/Rest Client/src/HttpContent.Codeunit.al index 508c75905a..8c1caf0592 100644 --- a/src/System Application/App/Rest Client/src/HttpContent.Codeunit.al +++ b/src/System Application/App/Rest Client/src/HttpContent.Codeunit.al @@ -9,6 +9,7 @@ using System.Utilities; /// Holder object for the Http Content data. codeunit 2354 "Http Content" { + Access = Public; InherentEntitlements = X; InherentPermissions = X; diff --git a/src/System Application/App/Rest Client/src/HttpContentImpl.Codeunit.al b/src/System Application/App/Rest Client/src/HttpContentImpl.Codeunit.al index 69ae541e73..79c4d8a384 100644 --- a/src/System Application/App/Rest Client/src/HttpContentImpl.Codeunit.al +++ b/src/System Application/App/Rest Client/src/HttpContentImpl.Codeunit.al @@ -8,11 +8,10 @@ using System.Utilities; codeunit 2355 "Http Content Impl." { + Access = Internal; InherentEntitlements = X; InherentPermissions = X; - Access = Internal; - var HttpContent: HttpContent; ContentTypeEmptyErr: Label 'The value of the Content-Type header must be specified.'; diff --git a/src/System Application/App/Rest Client/src/HttpRequestMessage.Codeunit.al b/src/System Application/App/Rest Client/src/HttpRequestMessage.Codeunit.al index 825a646117..9bbbf56dcc 100644 --- a/src/System Application/App/Rest Client/src/HttpRequestMessage.Codeunit.al +++ b/src/System Application/App/Rest Client/src/HttpRequestMessage.Codeunit.al @@ -7,6 +7,7 @@ namespace System.RestClient; /// Holder object for the HTTP request data. codeunit 2352 "Http Request Message" { + Access = Public; InherentEntitlements = X; InherentPermissions = X; diff --git a/src/System Application/App/Rest Client/src/HttpResponseMessage.Codeunit.al b/src/System Application/App/Rest Client/src/HttpResponseMessage.Codeunit.al index 0e6532847e..cdb1833173 100644 --- a/src/System Application/App/Rest Client/src/HttpResponseMessage.Codeunit.al +++ b/src/System Application/App/Rest Client/src/HttpResponseMessage.Codeunit.al @@ -7,6 +7,7 @@ namespace System.RestClient; /// Holder object for the HTTP response data. codeunit 2356 "Http Response Message" { + Access = Public; InherentEntitlements = X; InherentPermissions = X; diff --git a/src/System Application/App/Rest Client/src/RestClient.Codeunit.al b/src/System Application/App/Rest Client/src/RestClient.Codeunit.al index 9882413460..5d7f69cb08 100644 --- a/src/System Application/App/Rest Client/src/RestClient.Codeunit.al +++ b/src/System Application/App/Rest Client/src/RestClient.Codeunit.al @@ -7,6 +7,7 @@ namespace System.RestClient; /// Provides functionality to easily work with the HttpClient object. codeunit 2350 "Rest Client" { + Access = Public; InherentEntitlements = X; InherentPermissions = X;