Added authorization URL to the Apis

This commit is contained in:
Pablo Fernandez committed 2011-01-07 13:15:26 -03:00
1 parent c12da16a38
commit 5ac849313d
16 files changed
+121 -20

No files matched your search

@@ -117,6 +117,15 @@ public abstract class DefaultApi10a implements Api
*/
public abstract String getAccessTokenEndpoint();
/**
* Returns the URL where you should redirect your users to authenticate
* your application.
*
* @param requestToken the request token you need to authorize
* @return the URL where you should redirect your users
*/
public abstract String getAuthorizationUrl(Token requestToken);
/**
* Returns the {@link OAuthService} for this Api
*