您最多选择25个主题
主题必须以中文或者字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
39 行
715 B
39 行
715 B
using System;
|
|
using Newtonsoft.Json;
|
|
using UnityEngine.Scripting;
|
|
|
|
namespace Unity.Services.Authentication.Models
|
|
{
|
|
class WellKnownKeys
|
|
{
|
|
[Preserve]
|
|
public WellKnownKeys() {}
|
|
|
|
[JsonProperty("keys")]
|
|
public WellKnownKey[] Keys;
|
|
}
|
|
|
|
class WellKnownKey
|
|
{
|
|
[Preserve]
|
|
public WellKnownKey() {}
|
|
|
|
[JsonProperty("use")]
|
|
public string Use;
|
|
|
|
[JsonProperty("kty")]
|
|
public string KeyType;
|
|
|
|
[JsonProperty("kid")]
|
|
public string KeyId;
|
|
|
|
[JsonProperty("alg")]
|
|
public string Algorithm;
|
|
|
|
[JsonProperty("n")]
|
|
public string N;
|
|
|
|
[JsonProperty("e")]
|
|
public string E;
|
|
}
|
|
}
|