feat: 优化web

This commit is contained in:
2026-04-23 18:58:13 +08:00
commit 544a2f3428
160 changed files with 27327 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
package oauth2
import "errors"
// JSON 登录签发授权码时与 Authorize 对齐校验。
var (
ErrInvalidClient = errors.New("oauth2: invalid client_id")
ErrInvalidRedirectURI = errors.New("oauth2: invalid redirect_uri")
ErrPKCERequired = errors.New("oauth2: invalid code_challenge or code_challenge_method")
)