2020-07-13 15:58:59 -04:00
|
|
|
using System;
|
2020-08-19 13:35:17 -04:00
|
|
|
using System.Collections.Generic;
|
2020-07-13 15:58:59 -04: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 13:35:17 -04:00
|
|
|
Task<ICollection<SsoConfig>> GetManyByRevisionNotBeforeDate(DateTime? notBefore);
|
2020-07-13 15:58:59 -04:00
|
|
|
}
|
|
|
|
|
}
|