29 lines
436 B
Go
29 lines
436 B
Go
package main
|
|
|
|
import ()
|
|
|
|
var googleConfigured bool
|
|
var twitterConfigured bool
|
|
var githubConfigured bool
|
|
var gitlabConfigured bool
|
|
|
|
func oauthConfigure() error {
|
|
if err := googleOauthConfigure(); err != nil {
|
|
return err
|
|
}
|
|
|
|
if err := twitterOauthConfigure(); err != nil {
|
|
return err
|
|
}
|
|
|
|
if err := githubOauthConfigure(); err != nil {
|
|
return err
|
|
}
|
|
|
|
if err := gitlabOauthConfigure(); err != nil {
|
|
return err
|
|
}
|
|
|
|
return nil
|
|
}
|