Sha256: bd4153bc96d92f59719ab00bdf991fcbf5405677f474b296a579543cc701e178

Contents?: true

Size: 973 Bytes

Versions: 41

Compression:

Stored size: 973 Bytes

Contents

###############
# # OAuth2 Config File
# # ==================
# # 
# # Here you can sets the OAuth2 variables and require the OAuth2 Plezi controller.
# # (if the variables aren't set BEFORE the inclution, automatic setup will NOT take place)
# #
# # First set the variables:
# #
# ENV["FB_APP_ID"] ||= "app id"
# ENV["FB_APP_SECRET"] ||= "secret"
# ENV['GOOGLE_APP_ID'] = "app id"
# ENV['GOOGLE_APP_SECRET'] = "secret"
# #
# # Then, require the actual OAuth2 controller class (Plezi::OAuth2Ctrl).
# #
# require 'plezi/oauth'
# #
# # Last, but not least, remember to add the authentication route in the 'routes.rb' (remember path priority placement):
# create_auth_shared_route do |service_name, auth_token, remote_user_id, remote_user_email, remote_response|
#         # ...callback for authentication.
#         # This callback should return the app user object or false
#         # This callback has access to the magic controller methods (request, cookies, etc')
# end

Version data entries

41 entries across 41 versions & 1 rubygems

Version Path
plezi-0.12.22 resources/oauth_config.rb
plezi-0.12.21 resources/oauth_config.rb
plezi-0.12.20 resources/oauth_config.rb
plezi-0.12.19 resources/oauth_config.rb
plezi-0.12.18 resources/oauth_config.rb
plezi-0.12.17 resources/oauth_config.rb
plezi-0.12.16 resources/oauth_config.rb
plezi-0.12.15 resources/oauth_config.rb
plezi-0.12.14 resources/oauth_config.rb
plezi-0.12.13 resources/oauth_config.rb
plezi-0.12.11 resources/oauth_config.rb
plezi-0.12.10 resources/oauth_config.rb
plezi-0.12.9 resources/oauth_config.rb
plezi-0.12.8 resources/oauth_config.rb
plezi-0.12.7 resources/oauth_config.rb
plezi-0.12.6 resources/oauth_config.rb
plezi-0.12.5 resources/oauth_config.rb
plezi-0.12.4 resources/oauth_config.rb
plezi-0.12.3 resources/oauth_config.rb
plezi-0.12.2 resources/oauth_config.rb