1
0
mirror of https://github.com/bitwarden/server.git synced 2025-02-17 02:01:53 +01:00

removed ssoConfig request/response models

This commit is contained in:
Matt Portune 2020-06-26 10:03:25 -04:00
parent 9f919bbea9
commit bc5ea25d0b
2 changed files with 0 additions and 39 deletions

View File

@ -1,12 +0,0 @@
using System;
namespace Bit.Core.Models.Api
{
public class SsoConfigRequestModel
{
public long? Id { get; set; }
public bool Enabled { get; set; }
public Guid OrganizationId { get; set; }
public string Data { get; set; }
}
}

View File

@ -1,27 +0,0 @@
using System;
using Bit.Core.Models.Table;
namespace Bit.Core.Models.Api
{
public class SsoConfigResponseModel : ResponseModel
{
public SsoConfigResponseModel(SsoConfig ssoConfig, string obj = "ssoconfig")
: base(obj)
{
if (ssoConfig == null)
{
throw new ArgumentNullException(nameof(ssoConfig));
}
Id = ssoConfig.Id;
Enabled = ssoConfig.Enabled;
OrganizationId = ssoConfig.OrganizationId;
Data = ssoConfig.Data;
}
public long? Id { get; set; }
public bool Enabled { get; set; }
public Guid OrganizationId { get; set; }
public string Data { get; set; }
}
}