OAuth 2.0 API adapter for LinkedIn authentication and access token retrieval.
// Source: https://github.com/scribejava/scribejava | License: MIT | Copyright 2010 Pablo Fernandez
// Provided via justclaw.it.com; keep this notice with the code.
package com.github.scribejava.apis;
import com.github.scribejava.core.builder.api.DefaultApi20;
import com.github.scribejava.core.oauth2.clientauthentication.ClientAuthentication;
import com.github.scribejava.core.oauth2.clientauthentication.RequestBodyAuthenticationScheme;
public class LinkedInApi20 extends DefaultApi20 {
protected LinkedInApi20() {
}
private static class InstanceHolder {
private static final LinkedInApi20 INSTANCE = new LinkedInApi20();
}
public static LinkedInApi20 instance() {
return InstanceHolder.INSTANCE;
}
@Override
public String getAccessTokenEndpoi
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key