Source AL, 211 lines
src/System Application/App/Azure Storage Services Authorization/src/SharedKey/StorServAuthSharedKey.Codeunit.allines 15 to 30 of 211, Copyright (c) Microsoft Corporation. MIT
codeunit 9064 "Stor. Serv. Auth. Shared Key" implements "Storage Service Authorization"{ Access = Internal; InherentEntitlements = X; InherentPermissions = X; procedure Authorize(var HttpRequest: HttpRequestMessage; StorageAccount: Text) var Headers: HttpHeaders; begin HttpRequest.GetHeaders(Headers); if Headers.Contains('Authorization') then Headers.Remove('Authorization'); Headers.Add('Authorization', GetSharedKeySignature(HttpRequest, StorageAccount)); end;
All 211 lines
Public procedures 3 in 29
| Authorize(var HttpRequest: HttpRequestMessage; StorageAccount: Text) | new in 19 |
| SetApiVersion(NewApiVersion: Enum "Storage Service API Version") | new in 19 |
| SetSharedKey(SharedKey: SecretText) | new in 24 |
All 4 procedures in 19-29
Changes 2 in 24
| List | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 |
|---|
| Procedures | | | | | | | | 2 | | | | | |
|---|
All 2 changes in 19-29