mirror of
https://github.com/bitwarden/server
synced 2025-12-11 13:53:40 +00:00
22 lines
555 B
C#
22 lines
555 B
C#
using Bit.Core.AdminConsole.Entities;
|
|
using Bit.Core.Models.Api;
|
|
|
|
namespace Bit.Api.AdminConsole.Models.Response.Organizations;
|
|
|
|
public class OrganizationKeysResponseModel : ResponseModel
|
|
{
|
|
public OrganizationKeysResponseModel(Organization org) : base("organizationKeys")
|
|
{
|
|
if (org == null)
|
|
{
|
|
throw new ArgumentNullException(nameof(org));
|
|
}
|
|
|
|
PublicKey = org.PublicKey;
|
|
PrivateKey = org.PrivateKey;
|
|
}
|
|
|
|
public string PublicKey { get; set; }
|
|
public string PrivateKey { get; set; }
|
|
}
|