您最多选择25个主题
主题必须以中文或者字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
31 行
657 B
31 行
657 B
using System;
|
|
using Newtonsoft.Json;
|
|
using UnityEngine.Scripting;
|
|
|
|
namespace Unity.Services.Authentication.Models
|
|
{
|
|
[Serializable]
|
|
class OAuthTokenResponse
|
|
{
|
|
[Preserve]
|
|
public OAuthTokenResponse() {}
|
|
|
|
[JsonProperty("access_token")]
|
|
public string AccessToken;
|
|
|
|
[JsonProperty("id_token")]
|
|
public string IdToken;
|
|
|
|
[JsonProperty("refresh_token")]
|
|
public string RefreshToken;
|
|
|
|
[JsonProperty("scope")]
|
|
public string Scope;
|
|
|
|
[JsonProperty("token_type")]
|
|
public string TokenType;
|
|
|
|
[JsonProperty("expires_in")]
|
|
public long ExpiresIn;
|
|
}
|
|
}
|