Codeunit 6303 "Azure AD Auth Flow"
Base Application · System.Azure.Identity
Across versions
- BC23-24present
- BC256 procedures changed, 6 procedures added
- BC26-27unchanged
- BC286 procedures removed
- BC29-30unchanged
Neighbourhood 2 connected objects and pages
Base Application · System.Azure.Identity · BC23-30 · source at ea08af5e · facts from BC29
Events published
OnInitialize(RedirectUri: Text; var AzureADAuthFlow: DotNet ALAzureAdCodeGrantFlow)(integration)OnAcquireTokenByAuthorizationCode(AuthorizationCode: Text; ResourceName: Text; var AccessToken: Text)(integration)OnAcquireTokenByAuthorizationCodeWithCredentials(AuthorizationCode: Text; ClientID: Text; ApplicationKey: Text; ResourceName: Text; var AccessToken: Text)(integration)OnAcquireTokenFromCache(ResourceName: Text; var AccessToken: Text)(integration)OnAcquireTokenFromCacheState(ResourceName: Text; AadUserId: Text; TokenCacheState: Text; var NewTokenCacheState: Text; var AccessToken: Text)(integration)OnAcquireGuestToken(ResourceName: Text; GuestTenantId: Text; var AccessToken: Text)(integration)OnAcquireAcquireOnBehalfOfToken(ResourceName: Text; var AccessToken: Text)(integration)OnAcquireOnBehalfOfTokenAndTokenCacheState(ResourceName: Text; var AccessToken: Text; var TokenCacheState: Text)(integration)OnAcquireTokenFromCacheWithCredentials(ClientID: Text; AppKey: Text; ResourceName: Text; var AccessToken: Text)(integration)OnGetSaasClientId(var ClientID: Text)(integration)OnCreateExchangeServiceWrapperWithToken(Token: Text; var Service: DotNet ExchangeServiceWrapper)(integration)OnCheckProvider(var Result: Boolean)(integration)
Procedures
CanHandle(): BooleanInitialize(RedirectUri: Text)AcquireTokenByAuthorizationCodeAsSecretText(AuthorizationCode: SecretText; ResourceName: Text): SecretText+ BC25AcquireTokenByAuthorizationCodeWithCredentialsAsSecretText(AuthorizationCode: SecretText; ClientID: Text; ApplicationKey: SecretText; ResourceName: Text): SecretText+ BC25AcquireTokenFromCacheAsSecretText(ResourceName: Text): SecretText+ BC25AcquireTokenFromCacheState(ResourceName: Text; AadUserId: Text; TokenCacheState: Text; var NewTokenCacheState: Text): TextAcquireGuestToken(ResourceName: Text; GuestTenantId: Text): TextAcquireOnBehalfOfTokenAsSecretText(ResourceName: Text): SecretText+ BC25AcquireOnBehalfOfTokenAndTokenCacheState(ResourceName: Text; var TokenCacheState: Text): TextAcquireTokenFromCacheWithCredentialsAsSecretText(ClientID: Text; AppKey: SecretText; ResourceName: Text): SecretText+ BC25AcquireApplicationToken(ClientID: Text; ClientSecret: Text; Authority: Text; ResourceUri: Text): TextGetSaasClientId(): TextGetInitialTenantDomainName(): TextCreateExchangeServiceWrapperWithToken(Token: SecretText; var Service: DotNet ExchangeServiceWrapper)Δ BC25 + BC25 − BC28GetLastErrorMessage(): Text
Plus 1 local procedures.
Triggers
OnRun
Called by
From the extracted call graph of BC29 (graphify-al on the snapshot checkout): calls whose target is known from a declared type or an Object::"Name" argument. Interface dispatch and calls through events are not counted, so the list is not complete.
- Codeunit 6300 “Azure AD Mgt.” (20 calls:
AcquireGuestToken → AcquireGuestToken,AcquireGuestToken → Initialize,AcquireToken → AcquireTokenFromCacheAsSecretText, …) - Codeunit 5321 “Exchange Web Services Server” (1 call:
ValidCredentials → CanHandle)
Ask your agent
Procedure bodies are not stored here (D10). The call sections above are our own, per object, from the BC29 call graph. For a procedure body or the calls of one procedure, ask bc-code-atlas (external, by Stefan Maron, MIT; default corpus w1-28), which the bc-observatory plugin connects: bcatlas_resolve_node(object_type: "codeunit", object_name: "Azure AD Auth Flow"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.