b00df09d0d20099de29f46d5588ec3fdc06d7b31
[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