Class SinaWeiboApi20

  • All Implemented Interfaces:
    Api

    public class SinaWeiboApi20
    extends DefaultApi20
    SinaWeibo OAuth 2.0 api.
    • Constructor Detail

      • SinaWeiboApi20

        public SinaWeiboApi20()
    • Method Detail

      • getAccessTokenVerb

        public Verb getAccessTokenVerb()
        Description copied from class: DefaultApi20
        Returns the verb for the access token endpoint (defaults to GET)
        Overrides:
        getAccessTokenVerb in class DefaultApi20
        Returns:
        access token endpoint verb
      • 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