Codeunit 2359 Http Authentication Basic

System Application, System.RestClient

Source AL, 69 lines

src/System Application/App/Rest Client/src/Authentication/HttpAuthenticationBasic.Codeunit.allines 10 to 25 of 69, Copyright (c) Microsoft Corporation. MIT

codeunit 2359 "Http Authentication Basic" implements "Http Authentication"{    Access = Public;    InherentEntitlements = X;    InherentPermissions = X;    var        GlobalUsername: Text;        GlobalPassword: SecretText;        UsernameDomainTxt: Label '%1\%2', Locked = true;    /// <summary>Initializes the authentication object with the given username and password</summary>    /// <param name="Username">The username to use for authentication</param>    /// <param name="Password">The password to use for authentication</param>    [NonDebuggable]    procedure Initialize(Username: Text; Password: SecretText)

All 69 lines

Public procedures 4 in 29

Initialize(Username: Text; Password: SecretText)new in 23
Initialize(Username: Text; Domain: Text; Password: SecretText)new in 23
IsAuthenticationRequired(): Booleannew in 23
GetAuthorizationHeaders(): Dictionarynew in 23