Sha256: 5a7e22f25661c2201b9127438b40e658f78e63a299b9a6914eaf0ada659ab4b5

Contents?: true

Size: 1.96 KB

Versions: 10

Compression:

Stored size: 1.96 KB

Contents

# edit this file to contain credentials for the OAuth services you support.
# each entry needs a corresponding token model.
#
# eg. :twitter => TwitterToken, :hour_feed => HourFeedToken etc.
#
# OAUTH_CREDENTIALS={
#   :twitter=>{
#     :key=>"",
#     :secret=>"",
#     :client=>:twitter_gem, # :twitter_gem or :oauth_gem (defaults to :twitter_gem)
#     :expose => false, # expose client at /oauth_consumers/twitter/client see docs
#     :allow_login => true # Use :allow_login => true to allow user to login to account
#   },
#   :google=>{
#     :key=>"",
#     :secret=>"",
#     :expose => false, # expose client at /oauth_consumers/google/client see docs
#     :scope=>"" # see http://code.google.com/apis/gdata/faq.html#AuthScopes
#   },
#   :github=>{
#     :key => "",
#     :secret => "",
#     :expose => false, # expose client at /oauth_consumers/twitter/client see docs
#
#   },
#   :facebook=>{
#     :key => "",
#     :secret => ""
#   },
#   :agree2=>{
#     :key=>"",
#     :secret=>""
#   },
#   :fireeagle=>{
#     :key=>"",
#     :secret=>""
#   },
#   :oauth2_server => {
#      :key=>"",
#      :secret=>"",
#      :oauth_version => 2
#      :options=>{ # OAuth::Consumer options
#        :site=>"http://hourfeed.com" # Remember to add a site for a generic OAuth site
#      }
#   },
#   :hour_feed=>{
#     :key=>"",
#     :secret=>"",
#     :options=>{ # OAuth::Consumer options
#       :site=>"http://hourfeed.com" # Remember to add a site for a generic OAuth site
#     }
#   },
#   :nu_bux=>{
#     :key=>"",
#     :secret=>"",
#     :super_class=>"OpenTransactToken",  # if a OAuth service follows a particular standard
#                                         # with a token implementation you can set the superclass
#                                         # to use
#     :options=>{ # OAuth::Consumer options
#       :site=>"http://nubux.heroku.com"
#     }
#   }
# }
#
OAUTH_CREDENTIALS={
} unless defined? OAUTH_CREDENTIALS

load 'oauth/models/consumers/service_loader.rb'

Version data entries

10 entries across 10 versions & 4 rubygems

Version Path
houston-oauth-plugin-0.5.1 lib/generators/oauth_consumer/templates/oauth_config.rb
oauth_consumer-0.1.3 lib/generators/oauth_consumer/templates/oauth_config.rb
panjiva-oauth-plugin-0.4.1 lib/generators/oauth_consumer/templates/oauth_config.rb
oauth_consumer-0.1.2 lib/generators/oauth_consumer/templates/oauth_config.rb
oauth_consumer-0.1.1 lib/generators/oauth_consumer/templates/oauth_config.rb
oauth_consumer-0.1.0 lib/generators/oauth_consumer/templates/oauth_config.rb
oauth-plugin-0.5.1 lib/generators/oauth_consumer/templates/oauth_config.rb
oauth-plugin-0.5.0 lib/generators/oauth_consumer/templates/oauth_config.rb
oauth-plugin-0.4.1 lib/generators/oauth_consumer/templates/oauth_config.rb
oauth-plugin-0.4.0 lib/generators/oauth_consumer/templates/oauth_config.rb