Codeunit 502 OAuth2Impl

System Application, System.Security.Authentication

src/System Application/App/OAuth2/OAuth2Impl.Codeunit.al50 procedures and triggers, in source order. Copyright (c) Microsoft Corporation. MIT

GetAuthRequestUrl line 34

  1. 50callsAppendPromptParameter

GetAuthRequestUrl line 61

  1. 91callsAppendPromptParameter
  2. 93callsAppendAudienceParameter

GetOAuthProperties line 124

  1. 134callsGetPropertyFromCode
  2. 135callsGetPropertyFromCode
  3. 136callsGetPropertyFromCode

GetDefaultRedirectUrl line 139

  1. 150callsCodeunit 457 Environment Information IsSaaSInfrastructure
  2. 151callsGetBaseUrl

RequestClientCredentialsAdminPermissions line 172

  1. 179callsGetDefaultRedirectUrl
  2. 183callsPage 502 OAuth2ControlAddIn SetOAuth2Properties
  3. 186callsPage 502 OAuth2ControlAddIn GetGrantConsentSuccess
  4. 187callsPage 502 OAuth2ControlAddIn GetAuthError

AcquireTokenByAuthorizationCode line 191

  1. 197callsInitialize
  2. 199callsGetAuthRequestUrl
  3. 201callsSetPropertiesBasedOnAuthRequestUrlAndRunOAuth2ControlAddIn
  4. 209callsAcquireTokenByAuthorizationCodeWithCredentials

AcquireTokenByAuthorizationCodeWithCertificate line 221

  1. 227callsInitialize
  2. 229callsGetAuthRequestUrl
  3. 231callsSetPropertiesBasedOnAuthRequestUrlAndRunOAuth2ControlAddIn

AcquireTokenByAuthorizationCode line 240

  1. 246callsInitialize
  2. 248callsGetAuthRequestUrl
  3. 250callsSetPropertiesBasedOnAuthRequestUrlAndRunOAuth2ControlAddIn
  4. 258callsAcquireTokenByAuthorizationCodeWithCredentials

AcquireTokenByAuthorizationCodeWithCertificate line 270

  1. 276callsInitialize
  2. 278callsGetAuthRequestUrl
  3. 280callsSetPropertiesBasedOnAuthRequestUrlAndRunOAuth2ControlAddIn

AcquireTokensByAuthorizationCode line 289

  1. 295callsInitialize
  2. 297callsGetAuthRequestUrl
  3. 299callsSetPropertiesBasedOnAuthRequestUrlAndRunOAuth2ControlAddIn
  4. 304callsAcquireTokensByAuthorizationCodeWithCredentials

AcquireTokensByAuthorizationCodeWithCertificate line 316

  1. 322callsInitialize
  2. 324callsGetAuthRequestUrl
  3. 326callsSetPropertiesBasedOnAuthRequestUrlAndRunOAuth2ControlAddIn

AcquireTokenAndTokenCacheByAuthorizationCode line 335

  1. 341callsInitialize
  2. 343callsGetAuthRequestUrl
  3. 345callsSetPropertiesBasedOnAuthRequestUrlAndRunOAuth2ControlAddIn
  4. 350callsAcquireTokenAndTokenCacheByAuthorizationCodeWithCredentials

AcquireTokenAndTokenCacheByAuthorizationCodeWithCertificate line 362

  1. 368callsInitialize
  2. 370callsGetAuthRequestUrl
  3. 372callsSetPropertiesBasedOnAuthRequestUrlAndRunOAuth2ControlAddIn

AcquireTokensAndTokenCacheByAuthorizationCode line 381

  1. 387callsInitialize
  2. 389callsGetAuthRequestUrl
  3. 391callsSetPropertiesBasedOnAuthRequestUrlAndRunOAuth2ControlAddIn
  4. 396callsAcquireTokensAndTokenCacheByAuthorizationCodeWithCredentials

AcquireTokensAndTokenCacheByAuthorizationCodeWithCertificate line 408

  1. 414callsInitialize
  2. 416callsGetAuthRequestUrl
  3. 418callsSetPropertiesBasedOnAuthRequestUrlAndRunOAuth2ControlAddIn

SetPropertiesBasedOnAuthRequestUrlAndRunOAuth2ControlAddIn line 427

  1. 436callsPage 502 OAuth2ControlAddIn SetOAuth2Properties
  2. 439callsPage 502 OAuth2ControlAddIn GetAuthCode
  3. 440callsPage 502 OAuth2ControlAddIn GetAuthError

AcquireOnBehalfOfToken line 444

  1. 446callsInitialize

AcquireOnBehalfOfToken line 451

  1. 455callsFillScopesArray
  2. 456callsInitialize

AcquireOnBehalfOfTokens line 461

  1. 466callsFillScopesArray
  2. 467callsInitialize

AcquireOnBehalfAccessTokenAndTokenCache line 473

  1. 475callsInitialize

AcquireOnBehalfAccessTokenAndTokenCache line 479

  1. 483callsFillScopesArray
  2. 484callsInitialize

AcquireOnBehalfTokensAndTokenCache line 488

  1. 493callsFillScopesArray
  2. 494callsInitialize

AcquireOnBehalfOfTokenByTokenCache line 500

  1. 502callsInitialize

AcquireOnBehalfOfTokenByTokenCache line 506

  1. 510callsFillScopesArray
  2. 511callsInitialize

AcquireOnBehalfOfTokensByTokenCache line 515

  1. 520callsFillScopesArray
  2. 521callsInitialize

AcquireOnBehalfOfTokenByTokenCache line 527

  1. 531callsFillScopesArray
  2. 532callsInitialize

AcquireOnBehalfOfTokensByTokenCache line 536

  1. 541callsFillScopesArray
  2. 542callsInitialize

AcquireTokenFromCache line 549

  1. 551callsInitialize

AcquireTokenFromCacheWithCertificate line 564

  1. 566callsInitialize

AcquireTokenFromCache line 571

  1. 575callsFillScopesArray
  2. 576callsInitialize

AcquireTokenFromCacheWithCertificate line 589

  1. 593callsFillScopesArray
  2. 594callsInitialize

AcquireTokensFromCache line 599

  1. 604callsFillScopesArray
  2. 605callsInitialize

AcquireTokensFromCacheWithCertificate line 620

  1. 625callsFillScopesArray
  2. 626callsInitialize

AcquireTokensWithCertificate line 643

  1. 648callsFillScopesArray
  2. 649callsInitialize

AcquireTokenWithClientCredentials line 656

  1. 658callsInitialize

AcquireTokenWithClientCredentials line 665

  1. 669callsFillScopesArray
  2. 670callsInitialize

AcquireTokenByAuthorizationCodeWithCredentials line 697

  1. 701callsFillScopesArray

AcquireTokenByAuthorizationCodeWithCertificate line 714

  1. 718callsFillScopesArray

AcquireTokensByAuthorizationCodeWithCredentials line 723

  1. 728callsFillScopesArray

AcquireTokensByAuthorizationCodeWithCertificate line 743

  1. 748callsFillScopesArray

AcquireTokenAndTokenCacheByAuthorizationCodeWithCredentials line 755

  1. 759callsFillScopesArray

AcquireTokenAndTokenCacheByAuthorizationCodeWithCertificate line 772

  1. 776callsFillScopesArray

AcquireTokensAndTokenCacheByAuthorizationCodeWithCredentials line 781

  1. 786callsFillScopesArray

AcquireTokensAndTokenCacheByAuthorizationCodeWithCertificate line 801

  1. 806callsFillScopesArray

AcquireTokensWithUserCredentials line 813

  1. 821callsInitialize
  2. 822callsFillScopesArray

AcquireTokensWithUserCredentials line 831

  1. 837callsInitialize
  2. 838callsFillScopesArray

AcquireAuthorizationCode line 845

  1. 850callsInitialize
  2. 852callsGetAuthRequestUrl
  3. 854callsSetPropertiesBasedOnAuthRequestUrlAndRunOAuth2ControlAddIn

GetClaims line 861

  1. 876callsCodeunit 4110 Base64 Convert FromBase64

Initialize line 884, local

  1. 889callsGetDefaultRedirectUrl

Initialize line 896, local

  1. 901callsGetDefaultRedirectUrl