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: {