mirror of
https://github.com/bitwarden/server.git
synced 2025-04-23 05:55:13 -05:00
20 lines
431 B
C#
20 lines
431 B
C#
using System;
|
|
using Bit.Core.Models.Table;
|
|
using Bit.Core.Enums;
|
|
|
|
namespace Bit.Core.Models.Api
|
|
{
|
|
public class UserKeyResponseModel : ResponseModel
|
|
{
|
|
public UserKeyResponseModel(Guid id, string key)
|
|
: base("userKey")
|
|
{
|
|
UserId = id.ToString();
|
|
PublicKey = key;
|
|
}
|
|
|
|
public string UserId { get; set; }
|
|
public string PublicKey { get; set; }
|
|
}
|
|
}
|