-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtoken.json
46 lines (43 loc) · 1.66 KB
/
token.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
{
"littleskin.cn":{
"device_authorization":{
"endpoint":"https://open.littleskin.cn/oauth/device_code",
"scope":"offline_access openid Yggdrasil.PlayerProfiles.Select Yggdrasil.MinecraftToken.Create",
"data":"client_id={client_id}&scope={scope}"
},
"token":{
"endpoint":"https://open.littleskin.cn/oauth/token",
"condition":{
"login":{
"data":"client_id={client_id}&grant_type=urn:ietf:params:oauth:grant-type:device_code&device_code={device_code}"
},
"refresh":{
"data":"grant_type=refresh_token&refresh_token={refresh_token}&client_id={client_id}"
}
}
},
"MinecraftToken":{
"endpoint":"https://littleskin.cn/api/yggdrasil/authserver/oauth",
"data":{
"uuid":"${uuid}"
}
}
},
"ely.by":{
"device_authorization":{
"endpoint":"https://accounts.ely.by/api/oauth2/v1/devicecode",
"scope":"account_info minecraft_server_session"
},
"token":{
"endpoint":"https://accounts.ely.by/api/oauth2/v1/token",
"condition":{
"login":{
"data":"client_id={client_id}&grant_type=urn:ietf:params:oauth:grant-type:device_code&device_code={device_code}"
},
"refresh":{
"data":"grant_type=refresh_token&refresh_token={refresh_token}&client_id={client_id}"
}
}
}
}
}