logout static method

Future<List<Object>> logout(
  1. bool isLocal,
  2. String backendCanisterId
)

Implementation

static Future<List<Object>> logout(
    bool isLocal, String backendCanisterId) async {
  await SecureStore.deleteSecureData("pubKey");
  await SecureStore.deleteSecureData("privKey");
  await SecureStore.deleteSecureData("delegation");

  return AuthLogIn.getDelegations(isLocal, backendCanisterId);
}