2020-07-13 21:58:59 +02:00
|
|
|
|
using System;
|
2020-08-19 19:35:17 +02:00
|
|
|
|
using System.Collections.Generic;
|
2020-07-13 21:58:59 +02:00
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
using Bit.Core.Models.Table;
|
|
|
|
|
|
|
|
|
|
namespace Bit.Core.Repositories
|
|
|
|
|
{
|
|
|
|
|
public interface ISsoConfigRepository : IRepository<SsoConfig, long>
|
|
|
|
|
{
|
|
|
|
|
Task<SsoConfig> GetByOrganizationIdAsync(Guid organizationId);
|
|
|
|
|
Task<SsoConfig> GetByIdentifierAsync(string identifier);
|
2020-08-19 19:35:17 +02:00
|
|
|
|
Task<ICollection<SsoConfig>> GetManyByRevisionNotBeforeDate(DateTime? notBefore);
|
2020-07-13 21:58:59 +02:00
|
|
|
|
}
|
|
|
|
|
}
|