1
0
mirror of https://github.com/bitwarden/mobile.git synced 2024-12-17 15:27:43 +01:00

json property mapping

This commit is contained in:
Kyle Spearrin 2019-04-19 09:25:15 -04:00
parent 8c8fa8ae4c
commit b3c67bab92

View File

@ -1,10 +1,16 @@
namespace Bit.Core.Models.Response
using Newtonsoft.Json;
namespace Bit.Core.Models.Response
{
public class IdentityTokenResponse
{
[JsonProperty("access_token")]
public string AccessToken { get; set; }
[JsonProperty("expires_in")]
public string ExpiresIn { get; set; }
[JsonProperty("refresh_token")]
public string RefreshToken { get; set; }
[JsonProperty("token_type")]
public string TokenType { get; set; }
public string PrivateKey { get; set; }
public string Key { get; set; }