@UriParams public class LinkedInConfiguration extends Object
Constructor and Description |
---|
LinkedInConfiguration() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
LinkedInApiName |
getApiName() |
String |
getClientId() |
String |
getClientSecret() |
Map<String,Object> |
getHttpParams() |
String |
getMethodName() |
String |
getRedirectUri() |
org.apache.camel.component.linkedin.api.OAuthScope[] |
getScopes() |
org.apache.camel.component.linkedin.api.OAuthSecureStorage |
getSecureStorage() |
String |
getUserName() |
String |
getUserPassword() |
int |
hashCode() |
boolean |
isLazyAuth() |
void |
setApiName(LinkedInApiName apiName)
What kind of operation to perform
|
void |
setClientId(String clientId)
LinkedIn application client ID
|
void |
setClientSecret(String clientSecret)
LinkedIn application client secret
|
void |
setHttpParams(Map<String,Object> httpParams)
Custom HTTP params, for example proxy host and port, use constants from AllClientPNames
|
void |
setLazyAuth(boolean lazyAuth)
Flag to enable/disable lazy OAuth, default is true.
|
void |
setMethodName(String methodName)
What sub operation to use for the selected operation
|
void |
setRedirectUri(String redirectUri)
Application redirect URI, although the component never redirects to this page to avoid having to have a functioning redirect server.
|
void |
setScopes(org.apache.camel.component.linkedin.api.OAuthScope[] scopes)
List of LinkedIn scopes as specified at https://developer.linkedin.com/documents/authentication#granting
|
void |
setSecureStorage(org.apache.camel.component.linkedin.api.OAuthSecureStorage secureStorage)
Callback interface for providing an OAuth token or to store the token generated by the component.
|
void |
setUserName(String userName)
LinkedIn user account name, MUST be provided
|
void |
setUserPassword(String userPassword)
LinkedIn account password
|
void |
validate() |
public LinkedInApiName getApiName()
public void setApiName(LinkedInApiName apiName)
public String getMethodName()
public void setMethodName(String methodName)
public String getUserName()
public void setUserName(String userName)
public String getUserPassword()
public void setUserPassword(String userPassword)
public org.apache.camel.component.linkedin.api.OAuthSecureStorage getSecureStorage()
public void setSecureStorage(org.apache.camel.component.linkedin.api.OAuthSecureStorage secureStorage)
public String getClientId()
public void setClientId(String clientId)
public String getClientSecret()
public void setClientSecret(String clientSecret)
public org.apache.camel.component.linkedin.api.OAuthScope[] getScopes()
public void setScopes(org.apache.camel.component.linkedin.api.OAuthScope[] scopes)
public String getRedirectUri()
public void setRedirectUri(String redirectUri)
public void setHttpParams(Map<String,Object> httpParams)
public boolean isLazyAuth()
public void setLazyAuth(boolean lazyAuth)
public void validate() throws IllegalArgumentException
IllegalArgumentException
Apache Camel