Commit d219faf
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 7f29c7e commit d219faf
3 files changed
Lines changed: 441 additions & 347 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