Package org.scribe.builder.api
Class KaixinApi20
- java.lang.Object
-
- org.scribe.builder.api.DefaultApi20
-
- org.scribe.builder.api.KaixinApi20
-
- All Implemented Interfaces:
Api
public class KaixinApi20 extends DefaultApi20
Kaixin(http://www.kaixin001.com/) open platform api based on OAuth 2.0.
-
-
Constructor Summary
Constructors Constructor Description KaixinApi20()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getAccessTokenEndpoint()
Returns the URL that receives the access token requests.AccessTokenExtractor
getAccessTokenExtractor()
Returns the access token extractor.java.lang.String
getAuthorizationUrl(OAuthConfig config)
Returns the URL where you should redirect your users to authenticate your application.-
Methods inherited from class org.scribe.builder.api.DefaultApi20
createService, getAccessTokenVerb
-
-
-
-
Method Detail
-
getAccessTokenExtractor
public AccessTokenExtractor getAccessTokenExtractor()
Description copied from class:DefaultApi20
Returns the access token extractor.- Overrides:
getAccessTokenExtractor
in classDefaultApi20
- Returns:
- access token extractor
-
getAccessTokenEndpoint
public java.lang.String getAccessTokenEndpoint()
Description copied from class:DefaultApi20
Returns the URL that receives the access token requests.- Specified by:
getAccessTokenEndpoint
in classDefaultApi20
- Returns:
- access token URL
-
getAuthorizationUrl
public java.lang.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 classDefaultApi20
- Parameters:
config
- OAuth 2.0 configuration param object- Returns:
- the URL where you should redirect your users
-
-