Wraps `CommonTokenDataStore.clearTokens()` in the existing `refreshMutex`, serializing logout against any in-flight `refreshAccessToken()` call (which already holds the same mutex for its full HTTP duration). Without this, a refresh completing successfully after `clearTokens()` would silently resurrect the just-killed session by writing a fresh token to disk. A private `clearTokensLocked()` helper holds the inner clear logic and is called from inside `refreshAccessToken()` to avoid self-deadlock on the non-reentrant mutex. |
||
|---|---|---|
| .. | ||
| common | ||
| data | ||
| model | ||
| network | ||
| ui | ||