deleteAsync

abstract suspend fun deleteAsync(): ERROR CLASS: Symbol not found for Result<kotlin/Unit>

Deletes this credential from storage.

On success the credential is removed from persistent storage and the default credential is cleared if this credential was the default.

Return

Result.success with Unit if deleted, or Result.failure with:

  • IllegalStateException if this credential has already been deleted.

  • Other exceptions if the underlying storage operation fails.