Logs the current user out. In OAuth mode this revokes the OAuth tokens
instead of calling the legacy /auth/logout endpoint; revocation is
best-effort, so the OAuth path resolves even if the revoke request fails,
whereas the legacy path rejects when /auth/logout fails. Local state and
storage are cleared in both cases.
Logs the current user out. In OAuth mode this revokes the OAuth tokens instead of calling the legacy
/auth/logoutendpoint; revocation is best-effort, so the OAuth path resolves even if the revoke request fails, whereas the legacy path rejects when/auth/logoutfails. Local state and storage are cleared in both cases.