mirror of
https://github.com/bitwarden/android.git
synced 2024-12-25 02:18:27 +03:00
json property mapping
This commit is contained in:
parent
8c8fa8ae4c
commit
b3c67bab92
1 changed files with 7 additions and 1 deletions
|
@ -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 a new issue