invalidateIapCredentials static method

Future<void> invalidateIapCredentials()

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()),
  );
}