Sha256: 7dfbb86f8180d7d5156975ab8150e6b87c9c1174f1cd500919e0b47858424f3f

Contents?: true

Size: 1.63 KB

Versions: 4

Compression:

Stored size: 1.63 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=>"",
#     :allow_login => true # Use :allow_login => true to allow user to login to account
#   },
#   :google=>{
#     :key=>"",
#     :secret=>"",
#     :scope=>"" # see http://code.google.com/apis/gdata/faq.html#AuthScopes
#   },
#   :github=>{
#     :key => "",
#     :secret => ""
#   },
#   :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

4 entries across 2 versions & 1 rubygems

Version Path
insrc-oauth-plugin-0.4.0.pre6 generators/oauth_consumer/templates/oauth_config.rb
insrc-oauth-plugin-0.4.0.pre6 lib/generators/oauth_consumer/templates/oauth_config.rb
insrc-oauth-plugin-0.4.0.pre5 generators/oauth_consumer/templates/oauth_config.rb
insrc-oauth-plugin-0.4.0.pre5 lib/generators/oauth_consumer/templates/oauth_config.rb