Codeunit 30199 Shpfy Authentication Mgt.

Shopify Connector, Microsoft.Integration.Shopify

Source AL, 647 lines

src/Apps/W1/Shopify/App/src/Integration/Codeunits/ShpfyAuthenticationMgt.Codeunit.allines 17 to 32 of 647, Copyright (c) Microsoft Corporation. MIT

codeunit 30199 "Shpfy Authentication Mgt."{    Access = Internal;    var        // https://shopify.dev/api/usage/access-scopes        ScopeTxt: Label 'write_orders,read_all_orders,write_assigned_fulfillment_orders,read_checkouts,write_customers,read_discounts,write_files,write_merchant_managed_fulfillment_orders,write_fulfillments,write_inventory,read_locations,write_products,write_shipping,read_shopify_payments_disputes,read_shopify_payments_payouts,write_returns,write_translations,write_third_party_fulfillment_orders,write_order_edits,write_publications,write_payment_terms,write_draft_orders,read_locales,read_shopify_payments_accounts,read_users,read_markets', Locked = true;        ShopifyAPIKeyAKVSecretNameLbl: Label 'ShopifyApiKey', Locked = true;        ShopifyAPISecretAKVSecretNameLbl: Label 'ShopifyApiSecret', Locked = true;        MissingAPIKeyTelemetryTxt: Label 'The api key has not been initialized.', Locked = true;        MissingAPISecretTelemetryTxt: Label 'The api secret has not been initialized.', Locked = true;        CategoryTok: Label 'Shopify Integration', Locked = true;        NoCallbackErr: Label 'No callback was received from Shopify. Make sure that you haven''t closed the page that says "Waiting for a response - do not close this page", and then try again.';        HttpRequestBlockedErr: Label 'Shopify connector is not allowed to make HTTP requests when running in a non-production environment.';        EnableHttpRequestActionLbl: Label 'Allow HTTP requests';        InvalidShopUrlErr: Label 'The URL must refer to the internal shop location at myshopify.com. It must not be the public URL that customers use, such as myshop.com.';

All 647 lines

Public procedures 2 in 29

IsValidHostName(Hostname: Text): Booleannew in 20
CorrectShopUrl(var ShopUrl: Text[250])new in 26

All 16 procedures in 20-29

Changes 5 in 29

List17181920212223242526272829
Procedures121425
internal EnsureValidAccessToken(Store: Text)new in 29
added
internal ForceTokenRefresh(Store: Text): Booleannew in 29
added
internal IsRefreshTokenExpired(Store: Text): Booleannew in 29
added
internal ReconnectFromNotification(ReconnectNotification: Notification)new in 29
added
internal ReconnectFromError(ErrorInfo: ErrorInfo)new in 29
added

All 15 changes in 20-29