Commit 91a8850
committed
fix: fetch token using
When a new token needs to be fetched we should use the function from the
library which automatically also sets the new token on the current
context (global state).
It also handles calling the on-token-update events.
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>@nextcloud/auth which updates the token on context1 parent 2d7a46d commit 91a8850
3 files changed
Lines changed: 455 additions & 358 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
35 | | - | |
| 34 | + | |
36 | 35 | | |
37 | 36 | | |
38 | 37 | | |
| |||
0 commit comments