mirror of
https://github.com/bitwarden/mobile.git
synced 2024-11-27 12:26:31 +01:00
json property mapping
This commit is contained in:
parent
8c8fa8ae4c
commit
b3c67bab92
@ -1,10 +1,16 @@
|
|||||||
namespace Bit.Core.Models.Response
|
using Newtonsoft.Json;
|
||||||
|
|
||||||
|
namespace Bit.Core.Models.Response
|
||||||
{
|
{
|
||||||
public class IdentityTokenResponse
|
public class IdentityTokenResponse
|
||||||
{
|
{
|
||||||
|
[JsonProperty("access_token")]
|
||||||
public string AccessToken { get; set; }
|
public string AccessToken { get; set; }
|
||||||
|
[JsonProperty("expires_in")]
|
||||||
public string ExpiresIn { get; set; }
|
public string ExpiresIn { get; set; }
|
||||||
|
[JsonProperty("refresh_token")]
|
||||||
public string RefreshToken { get; set; }
|
public string RefreshToken { get; set; }
|
||||||
|
[JsonProperty("token_type")]
|
||||||
public string TokenType { get; set; }
|
public string TokenType { get; set; }
|
||||||
public string PrivateKey { get; set; }
|
public string PrivateKey { get; set; }
|
||||||
public string Key { get; set; }
|
public string Key { get; set; }
|
||||||
|
Loading…
Reference in New Issue
Block a user