Initial commit
The code to load and initialize the JavaScript SDK with a simple test to verify the client-side authentication process.
Loading Facebookjssdk with jQuery.
Customized Facebook login button with LESS css.
Index template does not receive any parameter.
New action method to receive the authorization code and exchange it with an access token.
Using the JavaScript SDK to generate the authentication and authorization dialog and to get the user info to pass to the server, including the authorization code and email address.
Using the HTTP asynchronous programming model provided by the Play framework.
Using Global to capture exceptions and answer to requests with exception message in JSON format.
Unnecessary dependencies.
New controller to handle user authenticated actions.
Classes to handle OAuth2 authentication and authorization.
Data objects used in the OAuth2 authentication and authorization operations.
Exceptions occurred in the OAuth2 authentication and authorization operations.
Classes used to parse responses obtained from OAuth2 providers.
Classes used to carry data obtained from the HTTP requests.
README file.
Property used to verify the validity of the user access token.
Inspecting the access token involves the is_valid, app_id and user_id parameters. The user_id method parameter can be null when using pure server-side login.
Return the id of the authenticated user after the inspection of the access token.