mirror of
https://github.com/bitwarden/server.git
synced 2025-07-01 08:02: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:
@ -2,13 +2,18 @@
|
||||
|
||||
namespace Bit.Core.Models.Table
|
||||
{
|
||||
public class SsoConfig
|
||||
public class SsoConfig : ITableObject<long>
|
||||
{
|
||||
public long? Id { get; set; }
|
||||
public long Id { get; set; }
|
||||
public bool Enabled { get; set; } = true;
|
||||
public Guid OrganizationId { get; set; }
|
||||
public string Data { get; set; }
|
||||
public DateTime CreationDate { get; internal set; } = DateTime.UtcNow;
|
||||
public DateTime RevisionDate { get; internal set; } = DateTime.UtcNow;
|
||||
|
||||
public void SetNewId()
|
||||
{
|
||||
// nothing - int will be auto-populated
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user