pub(crate) async fn delete_identity_account(
mstore: &Arc<Store>,
identity_store: &Arc<Store>,
broker: &Arc<Broker>,
id: &str,
require_revoke: bool,
) -> Result<DeleteIdentityAccountResult, String>Expand description
Revokes the account’s grant at its provider, removes its credential material and rows, and
announces it. With require_revoke a revoke that failed keeps the account (deleted: false),
so the delete can be retried while the grant can still be ended.