mirror of
https://github.com/bitwarden/server.git
synced 2025-07-06 10:32:49 -05:00
Additional changes for enterprise portal sso config (#819)
* Additional changes for enterprise portal sso config * Requested changes * rename enum to Saml2 * Limit to one SSO config per org
This commit is contained in:
12
src/Core/Repositories/ISsoConfigRepository.cs
Normal file
12
src/Core/Repositories/ISsoConfigRepository.cs
Normal file
@ -0,0 +1,12 @@
|
||||
using System;
|
||||
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);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user