summaryrefslogtreecommitdiff
path: root/session.h
diff options
context:
space:
mode:
authorꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2022-09-14 18:19:14 +0800
committerꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2022-09-14 18:19:14 +0800
commit306cf74eb0101a12b51549866a4d60296618ee0b (patch)
tree89fe13b234f40f97de84cdb6610bcd11e1d47a88 /session.h
OAuth part
The minimum to pass all authentications and arrive at the embedded app index. This library is to be used with shopify-app-template-c for now, as it assumes the existence of shopify.app.toml in the parent directory, and index.html in the frontend directory.
Diffstat (limited to 'session.h')
-rw-r--r--session.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/session.h b/session.h
new file mode 100644
index 0000000..9c850bf
--- /dev/null
+++ b/session.h
@@ -0,0 +1,6 @@
+static struct session {
+ char *shop;
+ char *nonce;
+ char *token;
+ char *scope;
+} *sessions;