Function share_ciphers_bulk

Source
async fn share_ciphers_bulk(
    api_client: &dyn CiphersApi,
    repository: &dyn Repository<Cipher>,
    encrypted_ciphers: Vec<EncryptionContext>,
    collection_ids: Vec<CollectionId>,
) -> Result<Vec<Cipher>, CipherError>
Expand description

Standalone function that shares multiple ciphers to an organization via API call. This function is extracted to allow for easier testing with mocked dependencies.