Source AL, 80 lines
src/System Application/App/SharePoint Authorization/src/SharePointAuth.Codeunit.allines 11 to 26 of 80, Copyright (c) Microsoft Corporation. MIT
codeunit 9142 "SharePoint Auth."{ Access = Public; InherentEntitlements = X; InherentPermissions = X; /// <summary> /// Creates an authorization mechanism with authentication code. /// </summary> /// <param name="EntraTenantId">Microsoft Entra tenant ID</param> /// <param name="ClientId">The Application (client) ID that the Azure portal - App registrations experience assigned to your app.</param> /// <param name="ClientSecret">The Application (client) secret configured in the "Azure Portal - Certificates & Secrets".</param> /// <param name="Scope">A scope that you want the user to consent to.</param> /// <returns>Codeunit instance implementing authorization interface</returns> procedure CreateAuthorizationCode(EntraTenantId: Text; ClientId: Text; ClientSecret: SecretText; Scope: Text): Interface "SharePoint Authorization"; var
All 80 lines
Public procedures 4 in 29
| CreateAuthorizationCode(EntraTenantId: Text; ClientId: Text; ClientSecret: SecretText; Scope: Text): Interface "SharePoint Authorization" | new in 24 |
| CreateAuthorizationCode(EntraTenantId: Text; ClientId: Text; ClientSecret: SecretText; Scopes: List of [Text]): Interface "SharePoint Authorization" | new in 24 |
| CreateClientCredentials(AadTenantId: Text; ClientId: Text; Certificate: SecretText; CertificatePassword: SecretText; Scope: Text): Interface "SharePoint Authorization" | new in 24 |
| CreateClientCredentials(AadTenantId: Text; ClientId: Text; Certificate: SecretText; CertificatePassword: SecretText; Scopes: List of [Text]): Interface "SharePoint Authorization" | new in 24 |
All 6 procedures in 21-29
Changes 2 in 27
| CreateAuthorizationCode(EntraTenantId: Text; ClientId: Text; ClientSecret: Text; Scope: Text): Interface "SharePoint Authorization" | 21 to 26changed in 23 |
| gone |
| CreateAuthorizationCode(EntraTenantId: Text; ClientId: Text; ClientSecret: Text; Scopes: List of [Text]): Interface "SharePoint Authorization" | 21 to 26changed in 23 |
| gone |
All 10 changes in 21-29