1
0
mirror of https://github.com/bitwarden/server.git synced 2025-07-01 08:02:49 -05:00

Merge pull request #796 from bitwarden/sso-dal

Additional SSO & Org Identifier work
This commit is contained in:
Matt Portune
2020-06-26 10:47:17 -04:00
committed by GitHub
12 changed files with 372 additions and 2 deletions

View File

@ -12,6 +12,7 @@ namespace Bit.Core.Models.Table
private Dictionary<TwoFactorProviderType, TwoFactorProvider> _twoFactorProviders;
public Guid Id { get; set; }
public string Identifier { get; set; }
public string Name { get; set; }
public string BusinessName { get; set; }
public string BusinessAddress1 { get; set; }

View File

@ -0,0 +1,14 @@
using System;
namespace Bit.Core.Models.Table
{
public class SsoConfig
{
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;
}
}