codeunitAL Developmentofficial - Microsoftderived - from the source, no model text

Codeunit 10538 "MTD OAuth 2.0 Mgt" (GB)

GB country layer

Across versions

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

GB country layer · BC29-30 · source at ea08af5e · facts from BC29

An object of the GB localization, not part of W1.

Event subscriptions

  • OnBeforeDeleteEvent subscribes to Table “OAuth 2.0 Setup” OnBeforeDeleteEvent
  • OnRegisterServiceConnection subscribes to Table “Service Connection” OnRegisterServiceConnection
  • OnBeforeRequestAuthoizationCode subscribes to Table “OAuth 2.0 Setup” OnBeforeRequestAuthoizationCode
  • OnBeforeRequestAccessToken subscribes to Table “OAuth 2.0 Setup” OnBeforeRequestAccessToken
  • OnAfterRequestAccessToken subscribes to Table “OAuth 2.0 Setup” OnAfterRequestAccessToken
  • OnBeforeRefreshAccessToken subscribes to Table “OAuth 2.0 Setup” OnBeforeRefreshAccessToken
  • OnBeforeInvokeRequest subscribes to Table “OAuth 2.0 Setup” OnBeforeInvokeRequest
  • OnBeforeRefreshAccessTokenFromPage subscribes to Page “OAuth 2.0 Setup” OnBeforeActionEvent (RefreshAccessToken)

Procedures

  • GetOAuthPRODSetupCode(): Code[20] (internal)
  • GetOAuthSandboxSetupCode(): Code[20] (internal)
  • InitOAuthSetup(var OAuth20Setup: Record "OAuth 2.0 Setup"; OAuthSetupCode: Code[20]) (internal)
  • RefreshAccessToken(var OAuth20Setup: Record "OAuth 2.0 Setup"; var MessageText: Text): Boolean (internal)
  • InvokeRequest(var OAuth20Setup: Record "OAuth 2.0 Setup"; RequestJSON: Text; var ResponseJSON: Text; var HttpError: Text; RetryOnCredentialsFailure: Boolean): Boolean (internal)
  • SetToken(var TokenKey: Guid; TokenValue: SecretText; TokenDataScope: DataScope): Boolean (internal)
  • GetToken(TokenKey: Guid; TokenDataScope: DataScope): SecretText (internal)
  • IsMTDOAuthSetup(OAuth20Setup: Record "OAuth 2.0 Setup"): Boolean (internal)

Plus 7 local procedures.

Triggers

OnRun

Ask your agent

Procedure bodies are not stored here (D10). 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: "MTD OAuth 2.0 Mgt"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.

A GB country object, not part of W1: the default corpus does not have it; bcatlas_list_countries shows which countries the atlas has.

Evidence 1 sources