public class LinkedInTemplate extends org.springframework.social.oauth2.AbstractOAuth2ApiBinding implements LinkedIn
Greenhouse operations require OAuth authentication with the server. Therefore, LinkedInTemplate must be constructed with the minimal information required to sign requests with and OAuth 1 Authorization header.
| Constructor and Description |
|---|
LinkedInTemplate(java.lang.String accessToken)
Creates a new LinkedInTemplate given the minimal amount of information needed to sign requests with OAuth 1 credentials.
|
| Modifier and Type | Method and Description |
|---|---|
CommunicationOperations |
communicationOperations()
API for sending messages and connection requests
|
CompanyOperations |
companyOperations()
API for retrieving and performing operations on companies
|
protected void |
configureRestTemplate(org.springframework.web.client.RestTemplate restTemplate) |
ConnectionOperations |
connectionOperations()
API for retrieving connections
|
GroupOperations |
groupOperations()
API for retrieving details of groups
|
JobOperations |
jobOperations()
API for searching, retrieving and bookmarking jobs
|
NetworkUpdateOperations |
networkUpdateOperations()
API for retrieving and performing operations on network updates
|
ProfileOperations |
profileOperations()
API for retrieving and performing operations on profiles
|
org.springframework.web.client.RestOperations |
restOperations()
Returns the underlying
RestOperations object allowing for consumption of LinkedIn endpoints that may not be otherwise covered by the API binding. |
getByteArrayMessageConverter, getFormMessageConverter, getJsonMessageConverter, getMessageConverters, getOAuth2Version, getRestTemplate, isAuthorized, setRequestFactorypublic LinkedInTemplate(java.lang.String accessToken)
accessToken - an access token acquired through OAuth authentication with LinkedInpublic ConnectionOperations connectionOperations()
LinkedInconnectionOperations in interface LinkedInConnectionOperations for working with connectionspublic NetworkUpdateOperations networkUpdateOperations()
LinkedInnetworkUpdateOperations in interface LinkedInNetworkUpdateOperations for working with network updatespublic ProfileOperations profileOperations()
LinkedInprofileOperations in interface LinkedInProfileOperations for working with profilespublic CompanyOperations companyOperations()
LinkedIncompanyOperations in interface LinkedInCompanyOperations for working with companiespublic CommunicationOperations communicationOperations()
LinkedIncommunicationOperations in interface LinkedInCommunicationOperations for working with communication infopublic JobOperations jobOperations()
LinkedInjobOperations in interface LinkedInJobOperations for working with jobspublic GroupOperations groupOperations()
LinkedIngroupOperations in interface LinkedInGroupOperations for working with groupspublic org.springframework.web.client.RestOperations restOperations()
LinkedInRestOperations object allowing for consumption of LinkedIn endpoints that may not be otherwise covered by the API binding.
The RestOperations object returned is configured to include an OAuth "Authorization" header on all requests.restOperations in interface LinkedInRestOperations for work against the LinkedIn API at a low-level.protected void configureRestTemplate(org.springframework.web.client.RestTemplate restTemplate)
configureRestTemplate in class org.springframework.social.oauth2.AbstractOAuth2ApiBinding