lib/omniauth/strategies/salesforce.rb in omniauth-salesforce-1.0.2 vs lib/omniauth/strategies/salesforce.rb in omniauth-salesforce-1.0.3

- old
+ new

@@ -69,11 +69,16 @@ end class SalesforceSandbox < OmniAuth::Strategies::Salesforce default_options[:client_options][:site] = 'https://test.salesforce.com' end + class DatabaseDotCom < OmniAuth::Strategies::Salesforce default_options[:client_options][:site] = 'https://login.database.com' + end + + class SalesforcePreRelease < OmniAuth::Strategies::Salesforce + default_options[:client_options][:site] = 'https://prerellogin.pre.salesforce.com/' end end end