invalidateIapCredentials static method
Invalidate all IAP credentials. This will launch a logout workflow in the system browser. The returned Future completes when the logout process is finished.
Implementation
static Future<void> invalidateIapCredentials() async {
await Future.wait(
ArcGISEnvironment.authenticationManager.arcGISCredentialStore
.getCredentials()
.whereType<IapCredential>()
.map((credential) => credential.invalidate()),
);
}