mirror of
https://github.com/bitwarden/server
synced 2026-02-27 01:43:46 +00:00
18 lines
776 B
C#
18 lines
776 B
C#
using Bit.Core.Dirt.Entities;
|
|
using Bit.Core.Dirt.Enums;
|
|
|
|
namespace Bit.Core.Dirt.Services;
|
|
|
|
public interface IOrganizationIntegrationConfigurationValidator
|
|
{
|
|
/// <summary>
|
|
/// Validates that the configuration is valid for the given integration type. The configuration must
|
|
/// include a Configuration that is valid for the type, valid Filters, and a non-empty Template
|
|
/// to pass validation.
|
|
/// </summary>
|
|
/// <param name="integrationType">The type of integration</param>
|
|
/// <param name="configuration">The OrganizationIntegrationConfiguration to validate</param>
|
|
/// <returns>True if valid, false otherwise</returns>
|
|
bool ValidateConfiguration(IntegrationType integrationType, OrganizationIntegrationConfiguration configuration);
|
|
}
|