mirror of
https://github.com/bitwarden/mobile
synced 2025-12-25 20:53:25 +00:00
* Model & service support for policies * Formatting * Changes to match existing service and model patterns
17 lines
414 B
C#
17 lines
414 B
C#
using System.Collections.Generic;
|
|
using System.Threading.Tasks;
|
|
using Bit.Core.Enums;
|
|
using Bit.Core.Models.Data;
|
|
using Bit.Core.Models.Domain;
|
|
|
|
namespace Bit.Core.Abstractions
|
|
{
|
|
public interface IPolicyService
|
|
{
|
|
void ClearCache();
|
|
Task<IEnumerable<Policy>> GetAll(PolicyType? type);
|
|
Task Replace(Dictionary<string, PolicyData> policies);
|
|
Task Clear(string userId);
|
|
}
|
|
}
|