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. |