Codeunit 2361 HttpAuthOAuthClientCredentials

System Application, System.RestClient

Source AL, 131 lines

src/System Application/App/Rest Client/src/Authentication/HttpAuthOAuthClientCredentials.Codeunit.allines 8 to 23 of 131, Copyright (c) Microsoft Corporation. MIT

codeunit 2361 "HttpAuthOAuthClientCredentials" implements "Http Authentication"{    Access = Public;    InherentEntitlements = X;    InherentPermissions = X;    var        BearerTxt: Label 'Bearer %1', Comment = '%1 - Token', Locked = true;        ScopesGlobal: List of [Text];        ClientCredentialsType: Option ClientSecret,Certificate;        CertificateGlobal: SecretText;        CertificatePasswordGlobal: SecretText;        ClientSecretGlobal: SecretText;        ClientIdGlobal: Text;        OAuthAuthorityUrlGlobal: Text;

All 131 lines

Public procedures 4 in 29

Initialize(OAuthAuthorityUrl: Text; ClientId: Text; ClientSecret: SecretText; Scopes: List of [Text])new in 23
IsAuthenticationRequired(): Booleannew in 23
GetAuthorizationHeaders(): Dictionarynew in 23
Initialize(OAuthAuthorityUrl: Text; ClientId: Text; Certificate: SecretText; CertificatePassword: SecretText; Scopes: List of [Text])new in 25

Changes 1 in 25

List17181920212223242526272829
Procedures1
Initialize(OAuthAuthorityUrl: Text; ClientId: Text; Certificate: SecretText; CertificatePassword: SecretText; Scopes: List of [Text])new in 25
added

All 1 changes in 23-29