public interface

LinkedInOAuthService

implements LinkedInCommunicationClient
com.google.code.linkedinapi.client.oauth.LinkedInOAuthService

Class Overview

The Interface LinkedInOAuthService.

Summary

Public Methods
abstract LinkedInAccessToken getOAuthAccessToken(LinkedInRequestToken requestToken, String oauthVerifier)
Gets the o auth access token.
abstract LinkedInRequestToken getOAuthRequestToken(String callBackUrl)
Gets the o auth request token.
abstract LinkedInRequestToken getOAuthRequestToken()
Gets the o auth request token.
abstract void invalidateAccessToken(LinkedInAccessToken accessToken)
Invalidate Token.
abstract void signRequestWithToken(HttpURLConnection request, LinkedInAccessToken accessToken)
Sign request with token.
[Expand]
Inherited Methods
From interface com.google.code.linkedinapi.client.LinkedInCommunicationClient

Public Methods

public abstract LinkedInAccessToken getOAuthAccessToken (LinkedInRequestToken requestToken, String oauthVerifier)

Gets the o auth access token.

Parameters
requestToken The request token
oauthVerifier The oauthVerifier
Returns
  • the o auth access token

public abstract LinkedInRequestToken getOAuthRequestToken (String callBackUrl)

Gets the o auth request token.

Parameters
callBackUrl The callback url.
Returns
  • the o auth request token

public abstract LinkedInRequestToken getOAuthRequestToken ()

Gets the o auth request token.

Returns
  • the o auth request token

public abstract void invalidateAccessToken (LinkedInAccessToken accessToken)

Invalidate Token.

Parameters
accessToken The access token

public abstract void signRequestWithToken (HttpURLConnection request, LinkedInAccessToken accessToken)

Sign request with token.

Parameters
request The request
accessToken The access token