oauthP5.apis
Class KaixinApi20
java.lang.Object
oauthP5.apis.DefaultApi20
oauthP5.apis.KaixinApi20
- All Implemented Interfaces:
- Api
public class KaixinApi20
- extends DefaultApi20
Kaixin(http://www.kaixin001.com/) open platform api based on OAuth 2.0.
KaixinApi20
public KaixinApi20()
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