mirror of
https://github.com/bitwarden/server.git
synced 2025-07-02 00:22:50 -05:00
20 lines
464 B
C#
20 lines
464 B
C#
using Bit.Core.Entities;
|
|
using Bit.Core.Models.Api;
|
|
|
|
namespace Bit.Api.Models.Response.Organizations;
|
|
|
|
public class OrganizationPublicKeyResponseModel : ResponseModel
|
|
{
|
|
public OrganizationPublicKeyResponseModel(Organization org) : base("organizationPublicKey")
|
|
{
|
|
if (org == null)
|
|
{
|
|
throw new ArgumentNullException(nameof(org));
|
|
}
|
|
|
|
PublicKey = org.PublicKey;
|
|
}
|
|
|
|
public string PublicKey { get; set; }
|
|
}
|