func LinkedIn(conf Config) *Provider { if conf.Endpoint.AuthURL == "" { conf.Endpoint = linkedin.Endpoint } return &Provider{ Name: "linkedin", Config: oauth2.Config(conf)} }
func Google(conf Config) *Provider { if conf.Endpoint.AuthURL == "" { conf.Endpoint = google.Endpoint } return &Provider{ Name: "google", Config: oauth2.Config(conf)} }
func Facebook(conf Config) *Provider { if conf.Endpoint.AuthURL == "" { conf.Endpoint = facebook.Endpoint } return &Provider{ Name: "facebook", Config: oauth2.Config(conf)} }
func Github(conf Config) *Provider { if conf.Endpoint.AuthURL == "" { conf.Endpoint = github.Endpoint } return &Provider{ Name: "github", Config: oauth2.Config(conf)} }