Commit 88c0e65
feat(oauth,api): Device Authorization Grant & OAuth for Yggdrasil API
* refactor(oauth,api): rewrite & rearrangement
* ✏️ typo(advanced/api.md): fix typo
* ⚡️ perf(oauth2/authorization-code-grant): optimized
* ✨ feat(oauth2/device-authorization-grant): init file
* feat(oauth2/device-authorization-grant): add doc content
* perf(api): apply suggestions
* perf(oauth/authorization-code-grant): remove unnecessary formatting
* pref(oauth/index): change chapter title: 请求用户授权 -> 获取访问令牌
* fix(oauth/device-authorization-grant): fix typo
* refactor(api): update
* refactor(oauth): move 刷新访问令牌 to authorization-code-grant from index
Yggdralt doesn't support access token refresh currently.
* feat(oauth,api): add note to add Accept header in oauth index and api docs
* feat(oauth): add description for error response when access token or scope is invalid
* fix(oauth): fix link to LittleSkin API
* feat(api): add APIs for Yggdrasil
* feat(oauth): add info about player selection when authorize and ID Token
* feat(feature): oauth-for-yggdrasil
* fix(oauth/device-authorize-grant): fix link for contact for whitelist
* perf(oauth): set outline level
* fix(oauth/device-authorization-grant): remove refresh token in token response
Yggdralt doesn't support access token refresh currently.
* feat(oauth/device-authorization-grant): add note for refresh token is not supported
Yggdralt doesn't support access token refresh currently.
* ⚡ pref(advanced/api): add ref name
* 🐛 fix(feature/oauth-for-yggdrasil): two urls
* ⚡️ perf(oauth): optimized a lot
* Apply suggestions from code review
Co-authored-by: Steven Qiu <[email protected]>
* format(oauth-for-yggdrasil): remove line break
* fix(api): fix api endpoint
* feat(device-authorization-grant): require openid permission to get ID Token
* feat(device-authorization-grant): Yggdrasil permissions now require whitelists
* feat(device-authorization-grant): add contact info
* feat(api): update descriptions
* ✨ feat(openapi): add 2 APIs
- Get all Yggdrasil Profiles
- Create Minecraft token
* feat(device-authorization-grant): add tip for JWT sig alg
---------
Co-authored-by: SerinaNya <[email protected]>
Co-authored-by: XieXiLin <[email protected]>1 parent aba0fe6 commit 88c0e65
File tree
9 files changed
+800
-243
lines changed- docs
- .vitepress
- advanced
- oauth2
- feature
- public
9 files changed
+800
-243
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
172 | 172 | | |
173 | 173 | | |
174 | 174 | | |
| 175 | + | |
175 | 176 | | |
176 | 177 | | |
177 | 178 | | |
| |||
202 | 203 | | |
203 | 204 | | |
204 | 205 | | |
205 | | - | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
206 | 214 | | |
207 | 215 | | |
208 | 216 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
20 | 28 | | |
21 | | - | |
22 | | - | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
23 | 35 | | |
24 | 36 | | |
25 | 37 | | |
| |||
30 | 42 | | |
31 | 43 | | |
32 | 44 | | |
33 | | - | |
| 45 | + | |
34 | 46 | | |
35 | 47 | | |
36 | | - | |
| 48 | + | |
| 49 | + | |
37 | 50 | | |
38 | 51 | | |
39 | 52 | | |
40 | 53 | | |
41 | 54 | | |
42 | 55 | | |
43 | | - | |
| 56 | + | |
44 | 57 | | |
45 | 58 | | |
46 | 59 | | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
57 | 63 | | |
58 | | - | |
59 | 64 | | |
60 | 65 | | |
61 | 66 | | |
| |||
70 | 75 | | |
71 | 76 | | |
72 | 77 | | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
73 | 89 | | |
74 | 90 | | |
75 | | - | |
| 91 | + | |
76 | 92 | | |
77 | 93 | | |
78 | | - | |
| 94 | + | |
| 95 | + | |
79 | 96 | | |
80 | 97 | | |
81 | 98 | | |
82 | 99 | | |
83 | | - | |
| 100 | + | |
84 | 101 | | |
85 | | - | |
| 102 | + | |
86 | 103 | | |
87 | 104 | | |
88 | 105 | | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
89 | 117 | | |
90 | 118 | | |
91 | 119 | | |
92 | 120 | | |
93 | 121 | | |
94 | 122 | | |
95 | | - | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
96 | 175 | | |
97 | | - | |
98 | | - | |
99 | | - | |
| 176 | + | |
100 | 177 | | |
101 | 178 | | |
102 | 179 | | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
103 | 218 | | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | | - | |
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
0 commit comments