removeCachedAuthToken method
Removes an OAuth2 access token from the Identity API's token cache.
If an access token is discovered to be invalid, it should be passed to
removeCachedAuthToken to remove it from the cache. The app may then
retrieve a fresh token with getAuthToken.
|details| : Token information. |Returns| : Returns a Promise which resolves when the token has been removed from the cache.
Implementation
Future<void> removeCachedAuthToken(InvalidTokenDetails details) async {
await $js.chrome.identity.removeCachedAuthToken(details.toJS).toDart;
}