wip: 自定义oauth2登录配置

This commit is contained in:
王一之
2023-07-20 20:34:05 +08:00
parent b7450f8869
commit 179b58e557
19 changed files with 409 additions and 9 deletions

View File

@@ -0,0 +1,16 @@
package vo
type OAuth2VO struct {
ClientID string `json:"clientID"`
ClientSecret string `json:"clientSecret"`
AuthorizationURL string `json:"authorizationURL"`
AccessTokenURL string `json:"accessTokenURL"`
ResourceURL string `json:"resourceURL"`
RedirectURL string `json:"redirectURL"`
UserIdentifier string `json:"userIdentifier"`
Scopes string `json:"scopes"`
}
type AuthVO struct {
*OAuth2VO `json:"oauth2"`
}