Skip to content
This repository was archived by the owner on Apr 11, 2024. It is now read-only.

Latest commit

 

History

History
13 lines (10 loc) · 1.48 KB

File metadata and controls

13 lines (10 loc) · 1.48 KB

shopify.session

This object contains functions used to authenticate apps, and redirect users to Shopify.

Property Description
customAppSession Creates a Session object suitable for use with shopify.clients and REST resources in a custom store app.
getCurrentId Extracts a Shopify session id for the current request when there is user interaction with the app.
getOfflineId Builds the session id for the given shop, for background tasks that don't involve user interaction.
decodeSessionToken Extracts and validates the session token JWT from App Bridge requests.
getJwtSessionId Builds the session ID for the given shop and user. Use for getting online tokens.

Back to shopifyApi