]> git.openstreetmap.org Git - rails.git/blob - lib/auth.rb
6361739288aee738b1e874234969b518197edb91
[rails.git] / lib / auth.rb
1 module Auth
2   PROVIDERS = { "None" => "", "OpenID" => "openid" }
3   PROVIDERS["Google"] = "google" if defined?(GOOGLE_AUTH_ID)
4   PROVIDERS["Facebook"] = "facebook" if defined?(FACEBOOK_AUTH_ID)
5   PROVIDERS["Windows Live"] = "windowslive" if defined?(WINDOWSLIVE_AUTH_ID)
6 end