{"title":"Codeunit 6303 Azure AD Auth Flow, extension points 29","url":"https://jonas-paprotka.de/ref/codeunit/6303-azure-ad-auth-flow/points/","author":"JOP-AL","license":"Metadata from Microsoft's symbol packages. AL source MIT, Copyright (c) Microsoft Corporation. Selection and wording © 2026 JOP-AL. https://jonas-paprotka.de/licenses/","subject":"Microsoft Dynamics 365 Business Central","checked":"2026-11-20","changed":"2026-10-05","object":{"type":"codeunit","id":6303,"name":"Azure AD Auth Flow","app":"Base Application","url":"https://jonas-paprotka.de/ref/codeunit/6303-azure-ad-auth-flow/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/codeunit/6303-azure-ad-auth-flow/source/","path":"src/Layers/W1/BaseApp/Modules/System/AzureADAuthentication/AzureADAuthFlow.Codeunit.al","commit":"4303e5e584d3aa5d9e98cbc615525a5396ad6ed7","lines":"a line is <source url>#L<line>"},"steps":{"event":"[line, \"event\", name, handled]: raises an event of this object; handled 1 when it has an IsHandled parameter","call":"[line, \"call\", name, arguments]: calls a procedure of this object","ext":"[line, \"ext\", type, id, name, arguments]: calls a procedure of another object, through a variable declared with that type","write":"[line, \"write\", table id, method, 1 when called with true]: Insert, Modify, ModifyAll, Delete, DeleteAll or Rename","validate":"[line, \"validate\", table id, field name]","run":"[line, \"run\", type, id]: Codeunit.Run, Page.Run, Report.Run and their kin"},"objects":{},"procs":[{"name":"Initialize","line":41,"kind":"procedure","params":1,"steps":[[48,"call","CanHandle",0],[51,"event","OnInitialize",0]]},{"name":"AcquireTokenByAuthorizationCodeAsSecretText","line":56,"kind":"procedure","params":2,"steps":[[60,"call","CheckProvider",0],[61,"call","CanHandle",0],[64,"event","OnAcquireTokenByAuthorizationCode",0]]},{"name":"AcquireTokenByAuthorizationCodeWithCredentialsAsSecretText","line":71,"kind":"procedure","params":4,"steps":[[75,"call","CheckProvider",0],[76,"call","CanHandle",0],[79,"event","OnAcquireTokenByAuthorizationCodeWithCredentials",0]]},{"name":"AcquireTokenFromCacheAsSecretText","line":85,"kind":"procedure","params":1,"steps":[[90,"call","CheckProvider",0],[91,"call","CanHandle",0],[94,"event","OnAcquireTokenFromCache",0]]},{"name":"AcquireTokenFromCacheState","line":101,"kind":"procedure","params":4,"steps":[[103,"call","CheckProvider",0],[104,"call","CanHandle",0],[107,"event","OnAcquireTokenFromCacheState",0]]},{"name":"AcquireGuestToken","line":112,"kind":"procedure","params":2,"steps":[[114,"call","CheckProvider",0],[115,"call","CanHandle",0],[118,"event","OnAcquireGuestToken",0]]},{"name":"AcquireOnBehalfOfTokenAsSecretText","line":122,"kind":"procedure","params":1,"steps":[[127,"call","CheckProvider",0],[128,"call","CanHandle",0],[131,"event","OnAcquireAcquireOnBehalfOfToken",0]]},{"name":"AcquireOnBehalfOfTokenAndTokenCacheState","line":138,"kind":"procedure","params":2,"steps":[[140,"call","CheckProvider",0],[141,"call","CanHandle",0],[144,"event","OnAcquireOnBehalfOfTokenAndTokenCacheState",0]]},{"name":"AcquireTokenFromCacheWithCredentialsAsSecretText","line":149,"kind":"procedure","params":3,"steps":[[153,"call","CheckProvider",0],[154,"call","CanHandle",0],[157,"event","OnAcquireTokenFromCacheWithCredentials",0]]},{"name":"AcquireApplicationToken","line":164,"kind":"procedure","params":4,"steps":[[166,"call","CheckProvider",0]]},{"name":"GetSaasClientId","line":172,"kind":"procedure","params":0,"steps":[[174,"call","CheckProvider",0],[175,"call","CanHandle",0],[178,"event","OnGetSaasClientId",0]]},{"name":"GetInitialTenantDomainName","line":182,"kind":"procedure","params":0,"steps":[[184,"call","CheckProvider",0],[185,"call","CanHandle",0]]},{"name":"CreateExchangeServiceWrapperWithToken","line":191,"kind":"procedure","params":2,"steps":[[195,"call","CanHandle",0],[198,"event","OnCreateExchangeServiceWrapperWithToken",0]]},{"name":"CheckProvider","line":209,"kind":"procedure","access":"local","params":0,"steps":[[213,"call","CanHandle",0],[216,"event","OnCheckProvider",0]]}]}