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