123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110 |
- using System.Collections;
- using System.Collections.Generic;
- using UnityEngine;
- using System;
- using Newtonsoft.Json;
- namespace DataTools
- {
- [Serializable]
- public class ProfileData
- {
- [SerializeField]
- [JsonProperty]
- private string kind;
- [SerializeField]
- [JsonProperty]
- private string localId;
- [SerializeField]
- [JsonProperty]
- private string email;
- [SerializeField]
- [JsonProperty]
- private string displayName;
- [SerializeField]
- [JsonProperty]
- private string idToken;
- [SerializeField]
- [JsonProperty]
- private bool registered;
- [SerializeField]
- [JsonProperty]
- private string refreshToken;
- [SerializeField]
- [JsonProperty]
- private int expiresIn;
- public string Kind
- {
- get
- {
- return kind;
- }
- }
- public string LocalId
- {
- get
- {
- return localId;
- }
- set
- {
- localId = value;
- }
- }
- public string Email
- {
- get
- {
- return email;
- }
- }
- public string DisplayName
- {
- get
- {
- return displayName;
- }
- set
- {
- displayName = value;
- }
- }
- public string IdToken
- {
- get
- {
- return idToken;
- }
- }
- public bool Registered
- {
- get
- {
- return registered;
- }
- }
- public string RefreshToken
- {
- get
- {
- return refreshToken;
- }
- }
- public int ExpiresIn
- {
- get
- {
- return expiresIn;
- }
- }
- }
- }
|