aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/modules/oauth.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/modules/oauth.js b/src/modules/oauth.js
index 4b233b21..332b8db2 100644
--- a/src/modules/oauth.js
+++ b/src/modules/oauth.js
@@ -2,7 +2,14 @@ const oauth = {
state: {
clientId: false,
clientSecret: false,
+ /* App token is authentication for app without any user, used mostly for
+ * MastoAPI's registration of new users, stored so that we can fall back to
+ * it on logout
+ */
appToken: false,
+ /* User token is authentication for app with user, this is for every calls
+ * that need authorized user to be successful (i.e. posting, liking etc)
+ */
userToken: false
},
mutations: {