mirror of https://github.com/synctv-org/synctv
Opt: oauth2 plugins config
parent
e3c92fb7b4
commit
7b4c40c265
@ -1,12 +1,10 @@
|
||||
package conf
|
||||
|
||||
type OAuth2Config []Oauth2Plugin
|
||||
|
||||
type Oauth2Plugin struct {
|
||||
type Oauth2Plugins []struct {
|
||||
PluginFile string `yaml:"plugin_file"`
|
||||
Args []string `yaml:"args"`
|
||||
}
|
||||
|
||||
func DefaultOAuth2Config() OAuth2Config {
|
||||
func DefaultOauth2Plugins() Oauth2Plugins {
|
||||
return nil
|
||||
}
|
||||
|
Loading…
Reference in New Issue