{"title":"Codeunit 9144 SharePoint Authorization Code, extension points 29","url":"https://jonas-paprotka.de/ref/codeunit/9144-sharepoint-authorization-code/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":9144,"name":"SharePoint Authorization Code","app":"System Application","url":"https://jonas-paprotka.de/ref/codeunit/9144-sharepoint-authorization-code/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/codeunit/9144-sharepoint-authorization-code/source/","path":"src/System Application/App/SharePoint Authorization/src/AuthorizationCode/SharePointAuthorizationCode.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":{"codeunit:501":{"name":"OAuth2","url":"https://jonas-paprotka.de/ref/codeunit/501-oauth2/"}},"procs":[{"name":"Authorize","line":37,"kind":"procedure","params":1,"steps":[[42,"call","GetToken",0]]},{"name":"GetToken","line":45,"kind":"procedure","access":"local","params":0,"steps":[[50,"call","AcquireToken",2]]},{"name":"AcquireToken","line":55,"kind":"procedure","access":"local","params":2,"steps":[[62,"event","OnBeforeGetToken",1],[68,"ext","codeunit",501,"AcquireAuthorizationCodeTokenFromCache",6],[69,"ext","codeunit",501,"AcquireTokenByAuthorizationCode",8]]}]}