Commit 4378062
authored
feat/update state manager (#777)
* feat(TeamStateManager): add support for WASM and Server modes
- Implemented ITeamStateManager interface for managing team states.
- Added registration logic for team state manager in ServiceCollectionExtensions.cs.
- Created ServerTeamStateManager and WasmTeamStateManager to handle team state management in respective environments.
- Updated User.razor to utilize the new team state manager for fetching user team information.
* feat:update WasmTeamStateManager refresh token
* fix:navigate page
* fix(WasmTeamStateManager): update token refresh logging
Updated the log message for token refresh failure and removed the null check for newToken. The logic now directly navigates to the page refresh on token refresh failure, simplifying the code.1 parent b1b923a commit 4378062
File tree
1 file changed
+2
-11
lines changed- src/Masa.Stack.Components/Infrastructure/Identity
1 file changed
+2
-11
lines changedLines changed: 2 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
| 48 | + | |
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| |||
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
| 73 | + | |
83 | 74 | | |
84 | 75 | | |
85 | 76 | | |
| |||
0 commit comments