Firefox equivalent API to chrome.identity.clearAllCachedAuthTokens(..)

Hello all!

I’ve been having trouble logging out of my extension. I use the identity WebAuthFlow for OAuth but then it seems to cache my access tokens.

I’ve tried clearing the sync storage but all that does is log me out temporarily, as soon as I launch webAuthFlow again it uses whatever credentials were already there and does not show the login page.

Chrome has a function called clearAllCachedAuthTokens on their identity API, is there anything equivalent to that on Firefox?

What the call to the Firefox API does is just make a call to the URL you provide. Most oAuth providers will have a flag you can add to the URL to force the user to login again. There is also the interactive to force Firefox to show the page, even if it will just redirect again.
https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/identity/launchWebAuthFlow