File tree Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -60,12 +60,27 @@ var Google = &Provider{
60
60
Scope : "openid email profile" ,
61
61
}
62
62
63
+ // Yahoo provider
63
64
var Yahoo = & Provider {
64
65
Name : "yahoo" ,
65
66
URL : "https://login.yahoo.com" ,
66
67
Scope : "openid openid2 email profile" ,
67
68
}
68
69
70
+ // Paypal live provider
71
+ var Paypal = & Provider {
72
+ Name : "paypal" ,
73
+ URL : "https://www.paypalobjects.com" ,
74
+ Scope : "openid email profile" ,
75
+ }
76
+
77
+ // PaypalSandbox provider
78
+ var PaypalSandbox = & Provider {
79
+ Name : "paypal_sb" ,
80
+ URL : "https://www.paypalobjects.com" ,
81
+ Scope : "openid email profile" ,
82
+ }
83
+
69
84
// WithCredential sets client id and secret for a Provider
70
85
func (p * Provider ) WithCredential (id , secret string ) * Provider {
71
86
if id == "" || secret == "" {
You can’t perform that action at this time.
0 commit comments