From 6cd454687390947ccc7be02d03d5da008ab2607b Mon Sep 17 00:00:00 2001 From: Henry Jameson Date: Thu, 13 Jun 2019 00:44:25 +0300 Subject: [PATCH] comments --- src/modules/oauth.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/modules/oauth.js b/src/modules/oauth.js index 4b233b211a..332b8db2d1 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: {