codeunitPlatform, DevOps & Performanceofficial - Microsoftderived - from the source, no model text

Codeunit 4516 "OAuth2 SMTP Authentication"

Email - SMTP Connector · System.Email

Across versions

  1. BC23-28not present
  2. BC29-30present

Neighbourhood 7 connected objects and pages

Codeunit 6300 "Azure AD Mgt." (calls, 9 links)Azure AD Mgt.Codeunit 4513 "SMTP Connector Impl." (calls, 2 links)SMTP Connector Impl.Codeunit 4620 "SMTP Authentication" (calls, 2 links)SMTP AuthenticationCodeunit 4110 "Base64 Convert" (calls)Base64 ConvertCodeunit 457 "Environment Information" (calls)Environment InformationCodeunit 501 "OAuth2" (calls)OAuth2Page 4511 "SMTP Account Wizard" (calls)SMTP Account Wizard

Open in the neighbourhood explorer

One hop out, from the extracted relations and call graph. Up to 40 shown; the sections below list them all.

Email - SMTP Connector · System.Email · BC29-30 · source at ea08af5e · facts from BC29

Properties

Property Value
Access Internal

Event subscriptions

  • OnSMTPOAuth2Authenticate subscribes to Codeunit “SMTP Authentication” OnSMTPOAuth2Authenticate

Procedures

  • GetOAuth2Credentials(var UserName: Text; var AccessToken: SecretText) (internal): Provide the credentials to authenticate using OAuth 2.0 for Exchange Online mailboxes.
  • AuthenticateWithOAuth2() (internal): Authenticate the current user. Disregard the token cache and show the authentication dialog.
  • AuthenticateWithOAuth2CustomAppReg(var SMTPAccount: Record "SMTP Account") (internal)
  • CheckOAuth2Authentication() (internal): Verify if the current user is successfully authenticated. If there is token cache, it will be used. Otherwise, the authentication dialog will be shown.
  • GetUserName(AccessToken: SecretText; var UserName: Text) (internal): Get user’s email address by the access token.

Plus 2 local procedures.

Calls

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.

Called by

Recent changes

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: "OAuth2 SMTP Authentication"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.

Evidence 1 sources