A fluent builder used to configure and instantiate OAuth 1.0a and OAuth 2.0 services with custom HTTP clients and debugging options.
// 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.core.builder;
import com.github.scribejava.core.builder.api.DefaultApi10a;
import com.github.scribejava.core.builder.api.DefaultApi20;
import com.github.scribejava.core.httpclient.HttpClient;
import com.github.scribejava.core.httpclient.HttpClientConfig;
import com.github.scribejava.core.oauth.OAuth10aService;
import com.github.scribejava.core.oauth.OAuth20Service;
import com.github.scribejava.core.oauth.OAuthService;
import com.github.scribejava.core.utils.Preconditions;
import java.io.OutputStream;
/**
* Implementation of the Builder pattern, with a fluent interface that creates a {@link OAut
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key