Passing the redirect uri to the oauth factory class. There are some services that require this to verify against the one defined in the registration.
Enumerator with all the oauth services implemented in this application. It's useful for the creation of the list of available services the user can connect to.
Button to get inside the application when user is logged in.
Classes for the representation of resources obtained from an OAuth service provider. These resources are grouped by service name.
Exchanging the authorization code for an access token. Getting the id of the user through the call to the /me endpoint.
New OAuth interface method to get the list of audio and video resources.
Creating the connectTo list based on the values of the app/controllers/enums/OAUTH_SERVICE_PROVIDERS.java enumerator. Creation of the containers used to hold the resources and the playing list.
Adding resources to play list. Binding an event handler to the click JavaScript of each resource item.
Overriding the toString method of the enumerator instead of creating a new one.
Using the session object to store the authentication provider used to authenticate in the application instead of passing it as a query param.
Receiving the access token as a parameter to be able make authenticated calls.
Using the Strategy pattern in the OAuth classes. The strategy is used to parse the responses of requests made to protected resources of OAuth services. Using data binding to parse an input stream. Created implementation for json responses.
Passing the parsing strategy to the soundcloud class. Using the singleton pattern for the parser object.
These classes are used for data binding when parsing responses of requests made to protected resources of OAuth services.
Implementation of the getResources method. Just getting songs from soundcloud user playlists. Using strategy pattern to parse responses.
Correction of compilation errors: using session to store openid provider and passing oauthToken to getResources method.
Empty implementation of the getResources abstract method.
New internationalized messages.