Source AL, 960 lines
src/System Application/App/OAuth2/OAuth2Impl.Codeunit.allines 13 to 28 of 960, Copyright (c) Microsoft Corporation. MIT
codeunit 502 OAuth2Impl{ Access = Internal; InherentEntitlements = X; InherentPermissions = X; var [NonDebuggable] AuthFlow: DotNet ALAzureAdCodeGrantFlow; OAuthLandingPageTxt: Label 'OAuthLanding.htm', Locked = true; Oauth2CategoryLbl: Label 'OAuth2', Locked = true; RedirectUrlTxt: Label 'The defined redirectURL is: %1', Comment = '%1 = The redirect URL', Locked = true; DefaultRedirectUrlTxt: Label 'The default redirectURL is: %1', Comment = '%1 = The redirect URL', Locked = true; AuthRequestUrlTxt: Label 'The authentication request URL %1 has been succesfully retrieved.', Comment = '%1=Authentication request URL'; MissingClientIdRedirectUrlErr: Label 'The authorization request URL for the OAuth2 Grant flow cannot be constructed because of missing ClientId or RedirectUrl', Locked = true; AuthorizationCodeErr: Label 'The OAuth2 authentication code retrieved is empty.', Locked = true;
All 960 lines
Public procedures 67 in 29
All 139 procedures in 17-29
Changes 28 in 28
| AcquireTokenByAuthorizationCodeWithCertificate(ClientId: Text; Certificate: Text; OAuthAuthorityUrl: Text; RedirectURL: Text; ResourceUrl: Text; PromptInteraction: Enum "Prompt Interaction"; var AccessToken: SecretText; var AuthCodeErr: Text): Boolean | 24 to 27 |
| gone |
| AcquireTokenByAuthorizationCodeWithCertificate(ClientId: Text; Certificate: Text; CertificatePassword: SecretText; OAuthAuthorityUrl: Text; RedirectURL: Text; ResourceUrl: Text; PromptInteraction: Enum "Prompt Interaction"; var AccessToken: SecretText; var AuthCodeErr: Text): Boolean | 24 to 27 |
| gone |
| AcquireTokenByAuthorizationCodeWithCertificate(ClientId: Text; Certificate: Text; OAuthAuthorityUrl: Text; RedirectURL: Text; Scopes: List of [Text]; PromptInteraction: Enum "Prompt Interaction"; var AccessToken: SecretText; var AuthCodeErr: Text): Boolean | 24 to 27 |
| gone |
| AcquireTokenByAuthorizationCodeWithCertificate(ClientId: Text; Certificate: Text; CertificatePassword: SecretText; OAuthAuthorityUrl: Text; RedirectURL: Text; Scopes: List of [Text]; PromptInteraction: Enum "Prompt Interaction"; var AccessToken: SecretText; var AuthCodeErr: Text): Boolean | 24 to 27 |
| gone |
| AcquireTokensByAuthorizationCodeWithCertificate(ClientId: Text; Certificate: Text; OAuthAuthorityUrl: Text; RedirectURL: Text; Scopes: List of [Text]; PromptInteraction: Enum "Prompt Interaction"; var AccessToken: SecretText; var IdToken: Text; var AuthCodeErr: Text): Boolean | 24 to 27 |
| gone |
| AcquireTokensByAuthorizationCodeWithCertificate(ClientId: Text; Certificate: Text; CertificatePassword: SecretText; OAuthAuthorityUrl: Text; RedirectURL: Text; Scopes: List of [Text]; PromptInteraction: Enum "Prompt Interaction"; var AccessToken: SecretText; var IdToken: Text; var AuthCodeErr: Text): Boolean | 24 to 27 |
| gone |
All 202 changes in 17-29