self-review

This commit is contained in:
Henry Jameson 2026-06-26 14:42:01 +03:00
commit 9b53879e70
9 changed files with 8 additions and 29 deletions

View file

@ -4,6 +4,11 @@ import { useOAuthStore } from 'src/stores/oauth.js'
import { fetchOAuthTokens, revokeOAuthToken } from 'src/api/user.js'
/* Just to clear the confusion:
* OAuth Store is responsible for user authentication
* OAuth Tokens Store is responsible for *managing* all of the user's tokens,
* i.e. for current and other clients
*/
export const useOAuthTokensStore = defineStore('oauthTokens', {
state: () => ({
tokens: [],