self-review
This commit is contained in:
parent
8dae81e29d
commit
9b53879e70
9 changed files with 8 additions and 29 deletions
|
|
@ -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: [],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue