| Class | OmniAuth::Strategies::Facebook |
| In: |
lib/omniauth/strategies/oauth2/facebook.rb
|
| Parent: | OmniAuth::Strategies::OAuth2 |
@param [Rack Application] app standard middleware application parameter @param [String] client_id the application id as [registered on Facebook](www.facebook.com/developers/) @param [String] client_secret the application secret as registered on Facebook @option options [String] :scope (‘email,offline_access’) comma-separated extended permissions such as `email` and `manage_pages`
base 64 directly from github.com/facebook/crypto-request-examples/raw/master/sample.rb
Borrowed from koala gem.
Originally provided directly by Facebook, however this has changed as their concept of crypto changed. For historic purposes, this is their proposal: developers.facebook.com/docs/authentication/canvas/encryption_proposal/ Currently see github.com/facebook/php-sdk/blob/master/src/facebook.php#L758 for a more accurate reference implementation strategy.