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:
parent
9f919bbea9
commit
bc5ea25d0b
@ -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; }
|
||||
}
|
||||
}
|
@ -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; }
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user