您最多选择25个主题
主题必须以中文或者字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
29 行
778 B
29 行
778 B
using System;
|
|
using Newtonsoft.Json;
|
|
using UnityEngine.Scripting;
|
|
|
|
namespace Unity.Services.Authentication.Models
|
|
{
|
|
/// <summary>
|
|
/// The model for error response from authentication server.
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// There is another field "details" in the error response. It provides additional details
|
|
/// to the error. It's ignored in this deserialized class since it's not needed by the client SDK.
|
|
/// </remarks>
|
|
[Serializable]
|
|
class AuthenticationErrorResponse
|
|
{
|
|
[Preserve]
|
|
public AuthenticationErrorResponse() {}
|
|
|
|
[JsonProperty("title")]
|
|
public string Title;
|
|
|
|
[JsonProperty("detail")]
|
|
public string Detail;
|
|
|
|
[JsonProperty("status")]
|
|
public int Status;
|
|
}
|
|
}
|