]> git.openstreetmap.org Git - rails.git/blob - lib/auth.rb
Update to iD v1.9.1
[rails.git] / lib / auth.rb
1 module Auth
2   PROVIDERS = { "None" => "", "OpenID" => "openid" }.tap do |providers|
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.freeze
7 end