mirror of
https://github.com/bitwarden/server
synced 2026-01-08 19:43:34 +00:00
share login with attachments
This commit is contained in:
@@ -1,11 +1,16 @@
|
||||
using System.IO;
|
||||
using System;
|
||||
using System.IO;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Bit.Core.Services
|
||||
{
|
||||
public interface IAttachmentStorageService
|
||||
{
|
||||
Task UploadAttachmentAsync(Stream stream, string name);
|
||||
Task DeleteAttachmentAsync(string name);
|
||||
Task UploadNewAttachmentAsync(Stream stream, Guid cipherId, string attachmentId);
|
||||
Task UploadShareAttachmentAsync(Stream stream, Guid cipherId, Guid organizationId, string attachmentId);
|
||||
Task StartShareAttachmentAsync(Guid cipherId, Guid organizationId, string attachmentId);
|
||||
Task CommitShareAttachmentAsync(Guid cipherId, Guid organizationId, string attachmentId);
|
||||
Task RollbackShareAttachmentAsync(Guid cipherId, Guid organizationId, string attachmentId);
|
||||
Task DeleteAttachmentAsync(Guid cipherId, string attachmentId);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user