Class LinkedInApi

  • All Implemented Interfaces:
    Api

    public class LinkedInApi
    extends DefaultApi10a
    • Constructor Detail

      • LinkedInApi

        public LinkedInApi()
      • LinkedInApi

        public LinkedInApi​(java.util.Set<java.lang.String> scopes)
    • Method Detail

      • getAccessTokenEndpoint

        public java.lang.String getAccessTokenEndpoint()
        Description copied from class: DefaultApi10a
        Returns the URL that receives the access token requests.
        Specified by:
        getAccessTokenEndpoint in class DefaultApi10a
        Returns:
        access token URL
      • getRequestTokenEndpoint

        public java.lang.String getRequestTokenEndpoint()
        Description copied from class: DefaultApi10a
        Returns the URL that receives the request token requests.
        Specified by:
        getRequestTokenEndpoint in class DefaultApi10a
        Returns:
        request token URL
      • getAuthorizationUrl

        public java.lang.String getAuthorizationUrl​(Token requestToken)
        Description copied from class: DefaultApi10a
        Returns the URL where you should redirect your users to authenticate your application.
        Specified by:
        getAuthorizationUrl in class DefaultApi10a
        Parameters:
        requestToken - the request token you need to authorize
        Returns:
        the URL where you should redirect your users
      • withScopes

        public static LinkedInApi withScopes​(java.lang.String... scopes)