File tree Expand file tree Collapse file tree
src/main/java/org/scribe/builder/api Expand file tree Collapse file tree Original file line number Diff line number Diff line change 66 * @author Arieh "Vainolo" Bibliowicz
77 * @see http://apidocs.mendeley.com/home/authentication
88 */
9- public class MendeleyApi extends DefaultApi10a {
9+ public class MendeleyApi extends DefaultApi10a
10+ {
1011
1112 private static final String AUTHORIZATION_URL = "http://api.mendeley.com/oauth/authorize?oauth_token=%s" ;
1213
1314 @ Override
14- public String getRequestTokenEndpoint () {
15+ public String getRequestTokenEndpoint ()
16+ {
1517 return "http://api.mendeley.com/oauth/request_token/" ;
1618 }
1719
1820 @ Override
19- public String getAccessTokenEndpoint () {
21+ public String getAccessTokenEndpoint ()
22+ {
2023 return "http://api.mendeley.com/oauth/access_token/" ;
2124 }
2225
2326 @ Override
24- public String getAuthorizationUrl (Token requestToken ) {
27+ public String getAuthorizationUrl (Token requestToken )
28+ {
2529 return String .format (AUTHORIZATION_URL , requestToken .getToken ());
2630 }
2731
2832 @ Override
29- public Verb getAccessTokenVerb () {
33+ public Verb getAccessTokenVerb ()
34+ {
3035 return Verb .GET ;
3136 }
3237
3338 @ Override
34- public Verb getRequestTokenVerb () {
39+ public Verb getRequestTokenVerb ()
40+ {
3541 return Verb .GET ;
3642 }
3743}
You can’t perform that action at this time.
0 commit comments