oauthP5.apis
Class RenrenApi
java.lang.Object
oauthP5.apis.DefaultApi20
oauthP5.apis.RenrenApi
- All Implemented Interfaces:
- Api
public class RenrenApi
- extends DefaultApi20
Renren(http://www.renren.com/) OAuth 2.0 based api.
RenrenApi
public RenrenApi()
getAccessTokenExtractor
public AccessTokenExtractor getAccessTokenExtractor()
- Description copied from class:
DefaultApi20
- Returns the access token extractor.
- Overrides:
getAccessTokenExtractor
in class DefaultApi20
- Returns:
- access token extractor
getAccessTokenEndpoint
public String getAccessTokenEndpoint()
- Description copied from class:
DefaultApi20
- Returns the URL that receives the access token requests.
- Specified by:
getAccessTokenEndpoint
in class DefaultApi20
- Returns:
- access token URL
getAuthorizationUrl
public String getAuthorizationUrl(OAuthConfig config)
- Description copied from class:
DefaultApi20
- Returns the URL where you should redirect your users to authenticate
your application.
- Specified by:
getAuthorizationUrl
in class DefaultApi20
- Parameters:
config
- OAuth 2.0 configuration param object
- Returns:
- the URL where you should redirect your users
Processing library oauthP5 by New York Times R&D Lab. (c) 2012