clearCredentials static method

Future<void> clearCredentials()

Clear all credentials from the credential store.

Implementation

static Future<void> clearCredentials() async {
  ArcGISEnvironment.authenticationManager.arcGISCredentialStore.removeAll();
  await ArcGISEnvironment.authenticationManager.networkCredentialStore
      .removeAll();
}