1
0
mirror of https://github.com/bitwarden/mobile.git synced 2024-06-25 10:26:02 +02:00
bitwarden-mobile/src/Core/Abstractions/IExportService.cs
Matt Portune 33df456cfd
In-app vault export support (#729)
* First pass at vault export UI

* Password validation via cryptoService

* Export service framework

* support for constructing json export data

* Support for constructing csv export data

* Cleanup and simplification

* Completion of vault export feature

* Formatting and simplification

* Use dialog instead of toast for invalid master password entry
2020-02-14 16:10:58 -05:00

12 lines
336 B
C#

using System.Threading.Tasks;
namespace Bit.Core.Abstractions
{
public interface IExportService
{
Task<string> GetExport(string format = "csv");
Task<string> GetOrganizationExport(string organizationId, string format = "csv");
string GetFileName(string prefix = null, string extension = "csv");
}
}