Source AL, 86 lines
src/System Application/App/SharePoint Authorization/src/AuthorizationCode/SharePointAuthorizationCode.Codeunit.allines 10 to 25 of 86, Copyright (c) Microsoft Corporation. MIT
codeunit 9144 "SharePoint Authorization Code" implements "SharePoint Authorization"{ Access = Internal; InherentEntitlements = X; InherentPermissions = X; var [NonDebuggable] ClientId: Text; ClientSecret: SecretText; [NonDebuggable] AuthCodeErr: Text; [NonDebuggable] EntraTenantId: Text; [NonDebuggable] Scopes: List of [Text];
All 86 lines
Events 1 in 29
| [InternalEvent] OnBeforeGetToken(var IsHandled: Boolean; var IsSuccess: Boolean; var ErrorText: Text; var AccessToken: Text) | new in 21 |
Public procedures 2 in 29
| Authorize(var HttpRequestMessage: HttpRequestMessage) | new in 21 |
| SetParameters(NewEntraTenantId: Text; NewClientId: Text; NewClientSecret: SecretText; NewScopes: List of [Text]) | new in 24 |
All 3 procedures in 21-29
Changes 2 in 24
| List | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 |
|---|
| Procedures | | | | | | | 1 | 2 | | | | | |
|---|
| SetParameters(NewEntraTenantId: Text; NewClientId: Text; NewClientSecret: Text; NewScopes: List of [Text]) | 21 to 23changed in 23 |
| gone |
| SetParameters(NewEntraTenantId: Text; NewClientId: Text; NewClientSecret: SecretText; NewScopes: List of [Text]) | new in 24 |
| added |
All 3 changes in 21-29