1
0
mirror of https://github.com/bitwarden/server.git synced 2025-07-04 09:32:48 -05:00
Files
bitwarden/src/Api/Models/Response/UserKeyResponseModel.cs
Daniel García 4f87e4e1a4 [PM-2196] Improvements to the Swagger generator (#2914)
* Swagger fixes

Co-Authored-By: Oscar Hinton <Hinton@users.noreply.github.com>

* Make Response Models return Guids instead of strings

* Change strings into guids in ScimApplicationFactory

---------

Co-authored-by: Oscar Hinton <Hinton@users.noreply.github.com>
2023-07-14 17:18:26 +02:00

17 lines
338 B
C#

using Bit.Core.Models.Api;
namespace Bit.Api.Models.Response;
public class UserKeyResponseModel : ResponseModel
{
public UserKeyResponseModel(Guid id, string key)
: base("userKey")
{
UserId = id;
PublicKey = key;
}
public Guid UserId { get; set; }
public string PublicKey { get; set; }
}