Codeunit 9143 SharePoint Auth. - Impl. in 24

App
System Application
Namespace
System.Integration.Sharepoint

Procedures, 2

Versions171819202122232425262728latest

Source242526272829

Source in 24

src/System Application/App/SharePoint Authorization/src/SharePointAuthImpl.Codeunit.al29 lines, Copyright (c) Microsoft Corporation. MIT

// ------------------------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
// ------------------------------------------------------------------------------------------------

namespace System.Integration.Sharepoint;

codeunit 9143 "SharePoint Auth. - Impl."
{
    Access = Internal;
    InherentEntitlements = X;
    InherentPermissions = X;

    procedure CreateAuthorizationCode(EntraTenantId: Text; ClientId: Text; ClientSecret: SecretText; Scopes: List of [Text]): Interface "SharePoint Authorization";
    var
        SharePointAuthorizationCode: Codeunit "SharePoint Authorization Code";
    begin
        SharePointAuthorizationCode.SetParameters(EntraTenantId, ClientId, ClientSecret, Scopes);
        exit(SharePointAuthorizationCode);
    end;

    procedure CreateClientCredentials(AadTenantId: Text; ClientId: Text; Certificate: SecretText; CertificatePassword: SecretText; Scopes: List of [Text]): Interface "SharePoint Authorization";
    var
        SharePointClientCredentials: Codeunit "SharePoint Client Credentials";
    begin
        SharePointClientCredentials.SetParameters(AadTenantId, ClientId, Certificate, CertificatePassword, Scopes);
        exit(SharePointClientCredentials);
    end;
}

Procedures, 2

NameParametersReturnsAccessObsolete
CreateAuthorizationCode(Text, Text, SecretText, List)Interface SharePoint Authorizationpublic-
CreateClientCredentials(Text, Text, SecretText, SecretText, List)Interface SharePoint Authorizationpublic-