✨ add qq oauth2 login
This commit is contained in:
@@ -4,6 +4,7 @@ package config
|
||||
type OAuth struct {
|
||||
Github Github `yaml:"github"`
|
||||
Gitee Gitee `yaml:"gitee"`
|
||||
QQ QQ `yaml:"qq"`
|
||||
}
|
||||
|
||||
// Github and GiteeConfig are the configuration of Github and Gitee OAuth.
|
||||
@@ -19,3 +20,10 @@ type Gitee struct {
|
||||
ClientSecret string `yaml:"client-secret"`
|
||||
RedirectURI string `yaml:"redirect-uri"`
|
||||
}
|
||||
|
||||
// QQ is the configuration of QQ OAuth.
|
||||
type QQ struct {
|
||||
ClientID string `yaml:"client-id"`
|
||||
ClientSecret string `yaml:"client-secret"`
|
||||
RedirectURI string `yaml:"redirect-uri"`
|
||||
}
|
||||
|
Reference in New Issue
Block a user