Codeunit 9356 Graph Authorization - Impl., source in 24
Source242526272829metadata in 24
src/System Application/App/MicrosoftGraph/src/Authorization/GraphAuthorizationImpl.Codeunit.al20 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.Graph.Authorization;
codeunit 9356 "Graph Authorization - Impl."
{
Access = Internal;
InherentEntitlements = X;
InherentPermissions = X;
procedure CreateAuthorizationWithClientCredentials(AadTenantId: Text; ClientId: Text; ClientSecret: SecretText; Scopes: List of [Text]): Interface "Graph Authorization";
var
GraphAuthClientCredentials: Codeunit "Graph Auth. Client Credentials";
begin
GraphAuthClientCredentials.SetParameters(AadTenantId, ClientId, ClientSecret, Scopes);
exit(GraphAuthClientCredentials);
end;
}