Class KaixinApi20

  • All Implemented Interfaces:
    Api

    public class KaixinApi20
    extends DefaultApi20
    Kaixin(http://www.kaixin001.com/) open platform api based on OAuth 2.0.
    • Constructor Detail

      • KaixinApi20

        public KaixinApi20()
    • Method Detail

      • getAccessTokenEndpoint

        public java.lang.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 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 class DefaultApi20
        Parameters:
        config - OAuth 2.0 configuration param object
        Returns:
        the URL where you should redirect your users