Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
274 commits
Select commit Hold shift + click to select a range
1d9553f
send missed headers in async version (as in sync)
s-gromov Mar 11, 2016
f0c92a3
removal of dead code
Mar 11, 2016
705ccb3
Merge branch 'resource-owner-password-credentials-grant' of https://g…
s-gromov Mar 14, 2016
9a12c76
Merge branch 'maksimlikharev-resource-owner-password-credentials-grant'
s-gromov Mar 14, 2016
5e1827e
support 'password' grant_type for OAuth 2.0
s-gromov Mar 14, 2016
802a80e
prepare 2.4.0 release
s-gromov Mar 14, 2016
afc1e35
[maven-release-plugin] prepare release scribejava-2.4.0
s-gromov Mar 14, 2016
1393131
[maven-release-plugin] prepare for next development iteration
s-gromov Mar 14, 2016
22f5c38
service builder more generic
andretietz Mar 18, 2016
9c1bd23
add Google Async Example
s-gromov Mar 21, 2016
a2691d1
Merge pull request #643 from andretietz/master
kullfar Mar 21, 2016
67972a3
fix coding standards
s-gromov Mar 21, 2016
1dc3923
add OSGI manifest metadata
s-gromov Mar 22, 2016
62959e6
fix javadoc issue
s-gromov Mar 22, 2016
c328d5d
apiSecret is not mandatory parameter in config (to use on client side…
s-gromov Mar 22, 2016
aedc589
implement OAuth2 Authorization Response parsing
s-gromov Mar 28, 2016
9dfb671
update changelog
s-gromov Mar 28, 2016
fbe4ffe
update ok.ru API urls
s-gromov Mar 28, 2016
6b978a6
[maven-release-plugin] prepare release scribejava-2.5.0
s-gromov Mar 28, 2016
7c1f00a
[maven-release-plugin] prepare for next development iteration
s-gromov Mar 28, 2016
826be08
Revert "[maven-release-plugin] prepare for next development iteration"
s-gromov Mar 28, 2016
852bc7e
Revert "[maven-release-plugin] prepare release scribejava-2.5.0"
s-gromov Mar 28, 2016
b73c42d
prepare 2.5.2 release
s-gromov Mar 28, 2016
af97361
[maven-release-plugin] prepare release scribejava-2.5.2
s-gromov Mar 28, 2016
3125799
[maven-release-plugin] prepare for next development iteration
s-gromov Mar 28, 2016
f8d3237
Odnoklassniki Example improvements
Mar 31, 2016
3a5f503
fix
Mar 31, 2016
e221da7
Merge branch 'thefilin-ok_example_improvements'
s-gromov Mar 31, 2016
f2b1185
do not set Content-Type twice
s-gromov Apr 13, 2016
8753b67
prepare 2.5.3 release
s-gromov Apr 15, 2016
d5f0dce
[maven-release-plugin] prepare release scribejava-2.5.3
s-gromov Apr 15, 2016
a74e9a7
[maven-release-plugin] prepare for next development iteration
s-gromov Apr 15, 2016
fe5f0f3
update ning and checkstyle
s-gromov Apr 15, 2016
2751f52
simplify async/sync usages
s-gromov May 16, 2016
c6d5548
add optional "User-Agent" config option to use while making http calls
s-gromov May 16, 2016
53fbad0
refactor usage of grant_type [authorization_code|refresh_token|passwo…
s-gromov May 16, 2016
338406d
add Genius.com API authentication (OAuth2)
tomekhotdog Apr 9, 2016
ca335ad
update maven dependencies
s-gromov May 23, 2016
8af489a
fix GitHubAPI
s-gromov May 23, 2016
4e2a9a1
standardize authorization url generation for OAuth2
s-gromov May 23, 2016
a6e1cb9
update Facebook to v2.6
s-gromov May 23, 2016
b7001c2
cleanup: drop old APIs without exmaples
s-gromov May 23, 2016
1e21fd1
remove old APIs with outdated domains
s-gromov May 23, 2016
b279cf6
update list of APIs in the Readme (on the main github page)
s-gromov May 23, 2016
abc4b5b
send client credentials in grant_type=password optionally (in case th…
s-gromov May 23, 2016
ceb06d1
prepare 2.6.0 release
s-gromov May 23, 2016
3ca5c9f
[maven-release-plugin] prepare release scribejava-2.6.0
s-gromov May 23, 2016
9a83b6c
[maven-release-plugin] prepare for next development iteration
s-gromov May 23, 2016
010b37a
make http async client implementation be more pluggable
s-gromov May 25, 2016
34b33ec
add async-http-client 2.0 support (thanks to Sai Chandrasekharan http…
s-gromov May 25, 2016
d5582f2
Add Misfit API
May 30, 2016
dd300b1
Update indenting on the MisfitExample
May 30, 2016
d014b52
MisfitApi - Implement getAuthorizationBaseUrl
May 31, 2016
3e3e6c7
add Misfit (http://misfit.com/) API
s-gromov Jun 6, 2016
545f2d5
implement async version getting Request Token for OAuth 1.0a
s-gromov Jun 6, 2016
2a1671c
prepare 2.7.0 release
s-gromov Jun 6, 2016
9ab3986
[maven-release-plugin] prepare release scribejava-2.7.0
s-gromov Jun 6, 2016
832ebd3
[maven-release-plugin] prepare for next development iteration
s-gromov Jun 6, 2016
1f6d1da
do not hide checked IOException in unchecked IllegalArgumentException
s-gromov Jun 8, 2016
36dc0f6
update some dependencies
s-gromov Jun 8, 2016
86d59c2
prepare 2.7.1 release
s-gromov Jun 8, 2016
de5fef3
[maven-release-plugin] prepare release scribejava-2.7.1
s-gromov Jun 8, 2016
42deb8d
[maven-release-plugin] prepare for next development iteration
s-gromov Jun 8, 2016
d34c3b0
ScribeJava shouldn't require any async http client provider to be on …
s-gromov Jun 8, 2016
f04b458
prepare 2.7.2 release
s-gromov Jun 8, 2016
7b7aedf
[maven-release-plugin] prepare release scribejava-2.7.2
s-gromov Jun 8, 2016
11b76c4
[maven-release-plugin] prepare for next development iteration
s-gromov Jun 8, 2016
96217e5
FIX: ScribeJava shouldn't require all async http client provider to b…
s-gromov Jun 9, 2016
7830bad
prepare 2.7.3 release
s-gromov Jun 9, 2016
d9554a6
[maven-release-plugin] prepare release scribejava-2.7.3
s-gromov Jun 9, 2016
8865ea1
[maven-release-plugin] prepare for next development iteration
s-gromov Jun 9, 2016
36940c4
Addes API provider for Salesforce
muenzpraeger Jun 10, 2016
d27b48e
Changed variable calls to getters
muenzpraeger Jun 14, 2016
e173b64
Throws new exception / removed tabs
muenzpraeger Jun 14, 2016
bdca896
Set required TLS protocol to TLS v1.2
muenzpraeger Jun 14, 2016
97c8ea4
Removed not needed imports
muenzpraeger Jun 14, 2016
7b60d77
Added example of Async Salesforce usage
muenzpraeger Jun 14, 2016
0383fe4
Addes Salesforce to API provider list
muenzpraeger Jun 14, 2016
2316641
Applied checkstyle rules
muenzpraeger Jun 15, 2016
cbc9923
Merge remote-tracking branch 'upstream/master'
muenzpraeger Jun 15, 2016
7a445e1
Changed examples to conform with current master
muenzpraeger Jun 15, 2016
821bc7c
Add Salesforce API
muenzpraeger Jun 10, 2016
efd4153
Merge pull request #667 from muenzpraeger/master
kullfar Jun 16, 2016
8dc38d9
Revert "Adds API provider for Salesforce"
kullfar Jun 16, 2016
aa35829
Merge pull request #671 from scribejava/revert-667-master
kullfar Jun 16, 2016
03be7c6
Merge pull request #670 from scribejava/salesforce
kullfar Jun 16, 2016
8aa7913
Fixed shouldExtractStandardHeader to not rely on the unguaranteed ord…
alexgyori Jun 20, 2016
a0ea48f
the string should start with oauth
alexgyori Jun 20, 2016
85e9a9e
Merge branch 'alexgyori-headerTest'
s-gromov Jun 21, 2016
b4aa3c4
fixed test to not rely on HashMap's internal ordering
alexgyori Jun 21, 2016
58ff303
Merge pull request #676 from alexgyori/master
kullfar Jun 22, 2016
f4cf304
small performance boost in MapUtils
s-gromov Jun 22, 2016
9b7751a
update LinkedIn API
s-gromov Jun 22, 2016
f3feb93
prepare 2.8.0 release
s-gromov Jun 23, 2016
8b9365c
[maven-release-plugin] prepare release scribejava-2.8.0
s-gromov Jun 23, 2016
9d93c5b
[maven-release-plugin] prepare for next development iteration
s-gromov Jun 23, 2016
4bc60b0
improve comment verbosity a bit for SalesForce and TLS (java7 vs java8)
s-gromov Jun 29, 2016
2a94b58
Added Salesforce Sandbox support
muenzpraeger Jul 1, 2016
b1ccc51
update POM dependency versions and remove unused wagon webdav extension
s-gromov Jul 4, 2016
3e4f2ea
prepare 2.8.1 release
s-gromov Jul 4, 2016
7783dc8
[maven-release-plugin] prepare release scribejava-2.8.1
s-gromov Jul 4, 2016
ce8bc70
[maven-release-plugin] prepare for next development iteration
s-gromov Jul 4, 2016
fd63209
drop unused Jabber contact
s-gromov Jul 5, 2016
c9464fa
Fix #683 - Extract HTTP client logic into providers
Jul 12, 2016
8c2f85b
improve some small issues in prev. commit
s-gromov Jul 13, 2016
12d7a0d
fix README (info about artifacts not released to the maven central yet)
s-gromov Jul 13, 2016
7ece09d
remove changing global JVM property http.keepAlive, deprecate control…
s-gromov Jul 22, 2016
6b19f7b
update AHC http client
s-gromov Jul 22, 2016
eea1942
prepare to release 3.0.0
s-gromov Jul 22, 2016
81b6852
[maven-release-plugin] prepare release scribejava-3.0.0
s-gromov Jul 22, 2016
196ef1d
[maven-release-plugin] prepare for next development iteration
s-gromov Jul 22, 2016
c5885c4
fix google url in the README
s-gromov Jul 25, 2016
15d4bf3
make ScribeJava compilable under jdk7 (checkstyle downgraded for jdk …
s-gromov Aug 12, 2016
74ce585
update maven deps
s-gromov Aug 12, 2016
7a24f82
add travis CI (check [oracle|open]jdk7 oraclejdk8)
s-gromov Aug 12, 2016
5175a41
Merge pull request #694 from scribejava/travis
kullfar Aug 12, 2016
5aea733
update async-http-client
s-gromov Aug 26, 2016
33deb8d
improve main README
s-gromov Aug 26, 2016
5602952
do not misuse abstract keyword
s-gromov Aug 26, 2016
1433630
add posibility to use externally created http client
s-gromov Aug 26, 2016
33cf3f5
fix OdnoklassnikiServiceImpl signature, params for hash must be sorte…
Aug 22, 2016
623b0ec
prepare to release 3.1.0
s-gromov Aug 26, 2016
efca28b
[maven-release-plugin] prepare release scribejava-3.1.0
s-gromov Aug 26, 2016
96c1ea7
[maven-release-plugin] prepare for next development iteration
s-gromov Aug 26, 2016
1fcff0e
Add Naver API (#701)
Sep 8, 2016
9fd62ea
Add Naver API
Sep 8, 2016
e01064d
Manage OAuth2 error response for access token request (#696)
juherr Sep 8, 2016
aa4e618
some fixes
s-gromov Sep 8, 2016
018398a
update AHC http client
s-gromov Sep 8, 2016
ef01716
prepare to release 3.2.0
s-gromov Sep 8, 2016
4cd60c1
[maven-release-plugin] prepare release scribejava-3.2.0
s-gromov Sep 8, 2016
c9ac863
[maven-release-plugin] prepare for next development iteration
s-gromov Sep 8, 2016
aef1632
Ensure consistent Content-Encoding header name in Response
depsypher Oct 1, 2016
d5ce425
update maven deps, cleanup redundant 'final'
s-gromov Oct 6, 2016
d9c8a0f
update Facebook v2.6 -> v2.8
s-gromov Oct 12, 2016
e6f305d
Added API and tests for The Things Network.
jpmeijers Nov 2, 2016
4eee5ff
Fix style errors from tests.
jpmeijers Nov 2, 2016
53ebea1
Remove trailing white space.
jpmeijers Nov 2, 2016
6bff3a4
Added an Api for Box.com
MclaughlinSteve Nov 2, 2016
edeecaa
Changed Whitespace to tabs
MclaughlinSteve Nov 3, 2016
6e6c550
Whitespace fixes
MclaughlinSteve Nov 3, 2016
cee1ed3
Fixed typo
MclaughlinSteve Nov 3, 2016
a47689c
Fixed test
MclaughlinSteve Nov 3, 2016
6405e8b
Updated test
MclaughlinSteve Nov 3, 2016
5ffd3ab
update dependencies
kullfar Nov 8, 2016
94ff0d7
Merge branch 'master' of https://github.com/jpmeijers/scribejava into…
kullfar Nov 8, 2016
315cb13
minor fixes and additionals for TheThingsNetwork
kullfar Nov 8, 2016
1e7db4f
Merge branch 'jpmeijers-master'
kullfar Nov 8, 2016
1e8af79
Merge branch 'master' of https://github.com/MclaughlinSteve/scribejav…
kullfar Nov 8, 2016
0533226
fix Box20Example API protected URL
kullfar Nov 8, 2016
878f29c
Merge branch 'MclaughlinSteve-master'
kullfar Nov 8, 2016
6d4bf7d
add Box API
kullfar Nov 8, 2016
e9ec58f
issue #722
vivin Nov 16, 2016
2ec0701
fix: OAuth20Service::refreshAccessToken should use RefreshTokenEndpoi…
kullfar Nov 17, 2016
1736a9d
Generify OAuthService with access token type
apomelov Nov 17, 2016
7ae74c3
move signRequest method to OAuthService (common for OAuth1 and OAuth2…
kullfar Nov 18, 2016
1cfd31a
update async-http-client
kullfar Nov 18, 2016
4f59e5e
drop deprecated setConnectionKeepAlive method, add javadoc
kullfar Nov 18, 2016
feff31f
prepare to release 3.3.0
kullfar Nov 18, 2016
d9cf350
make releasing a bit easier
kullfar Nov 18, 2016
f62ca3d
[maven-release-plugin] prepare release scribejava-3.3.0
kullfar Nov 18, 2016
d304226
[maven-release-plugin] prepare for next development iteration
kullfar Nov 18, 2016
feca5d4
Revert "[maven-release-plugin] prepare for next development iteration"
kullfar Nov 18, 2016
195e1eb
Revert "[maven-release-plugin] prepare release scribejava-3.3.0"
kullfar Nov 18, 2016
0e85a49
[maven-release-plugin] prepare release scribejava-3.3.0
kullfar Nov 18, 2016
ab828cf
[maven-release-plugin] prepare for next development iteration
kullfar Nov 18, 2016
40c4809
Support for okhttp #689
arcao Nov 28, 2016
e74c194
Fixed Checkstyle errors
arcao Nov 28, 2016
3a8d4f6
Minor change in pom artifact name
arcao Nov 28, 2016
6f21f15
Support for more HTTP methods
arcao Nov 29, 2016
9787c7d
Added tests, fixed empty body error
arcao Nov 29, 2016
9bc1ff8
Fixed not working Response.getStream method
arcao Nov 29, 2016
fa96ffb
Fixed Checkstyle errors
arcao Nov 29, 2016
36c33b6
uncouple OAuthRequest and Service
kullfar Dec 7, 2016
b7d0c6d
add support for byte[] and File (async only) payload in OAuth Request…
kullfar Dec 7, 2016
43ea452
add support for HTTP verbs (thanks to https://github.com/keijohyttinen)
kullfar Dec 7, 2016
d4e9733
Merge branch 'async-okhttp' of https://github.com/arcao/scribejava in…
kullfar Dec 7, 2016
5e560cc
fixes and refactorings to OkHttp support
kullfar Dec 8, 2016
65761bb
add default HTTP client configs (to use like 'new ServiceBuilder().ht…
kullfar Dec 8, 2016
d598182
Using interface instead of impl in AhcHttpClient.
ggbt Dec 6, 2016
cab6954
update changelog
kullfar Dec 8, 2016
18aa97b
update checkstyle and OkHttp
kullfar Dec 8, 2016
5a64f30
prepare to release 3.4.0
kullfar Dec 8, 2016
c47e787
[maven-release-plugin] prepare release scribejava-3.4.0
kullfar Dec 8, 2016
13d67a7
[maven-release-plugin] prepare for next development iteration
kullfar Dec 8, 2016
83930b3
drop deprecated methods
kullfar Dec 13, 2016
1f9087c
Move doktornarabote.ru urls to https
ezibrov Dec 14, 2016
4722632
update changelog
kullfar Dec 14, 2016
5f96006
prepare 3.4.1 release
kullfar Dec 14, 2016
731f722
[maven-release-plugin] prepare release scribejava-3.4.1
kullfar Dec 14, 2016
548da8f
[maven-release-plugin] prepare for next development iteration
kullfar Dec 14, 2016
840dbeb
deprecate ScribeJavaConfig and ForceTypeOfHttpRequest
kullfar Dec 26, 2016
7450a60
make Response do not know abouth HttpUrlConnection (or any other HTTP…
kullfar Dec 26, 2016
a1cb90a
prepare to move HTTP communications logic from OAuthRequest to separa…
kullfar Dec 26, 2016
c09bfce
add possibility to execute requests in sync manner for OkHttp, AHC an…
kullfar Dec 26, 2016
dae4fe6
unify requests sending (async and sync variants). Allways use service…
kullfar Jan 9, 2017
8dc7883
move JDK HTTP client specific config (connectTimeout and readTimeout)…
kullfar Jan 9, 2017
a75a695
move JDK HTTP client specific config (followRedirects) from OAuthRequ…
kullfar Jan 10, 2017
a69f9de
introduce JDKHttpClient (default).
kullfar Jan 11, 2017
3c72408
make JDKHttpClient implement sync execute methods from HttpClient
kullfar Jan 11, 2017
c9bb1a1
implement async HTTPClient methods in JDKHttpClient (it's complete now)
kullfar Jan 11, 2017
bfa0109
Remove OAuthRequestAsync, just OAuthRequest. Request should not know …
kullfar Jan 11, 2017
a013e33
update checkstyle, fix some violations, update changelog
kullfar Jan 11, 2017
78cb95c
introduce SignatureType for OAuth2.0 to implement Bearer signing for …
kullfar Jan 11, 2017
3d4e165
fix after new signing enum in OAuth2.0
kullfar Jan 12, 2017
a8f1e32
switch Google, GitHub, Facebook OAuth2.0 oauth requests signing to mo…
kullfar Jan 12, 2017
bdb25f3
fix OAuth20Service::extractAuthorization when redirectLocation contai…
kullfar Jan 12, 2017
caf7230
introduce custom nonstandard Facebook AccessTokenErrorResponse
kullfar Jan 13, 2017
b6cb1dc
precompile regexp Patterns (microoptimizations)
kullfar Jan 13, 2017
8aeb9d8
prepare 4.0.0 release
kullfar Jan 13, 2017
c362f0c
[maven-release-plugin] prepare release scribejava-4.0.0
kullfar Jan 13, 2017
1c9d5e3
[maven-release-plugin] prepare for next development iteration
kullfar Jan 13, 2017
9ee53d2
remove deprecated methods and class after release
kullfar Jan 13, 2017
ad79556
simplify async examples to reflect use of new OAuthService unified me…
kullfar Jan 13, 2017
bd9a430
add body for PATCH HTTP method
kullfar Feb 1, 2017
4cd5830
move OAuth1 SignatureType to ServiceBuilder to API
kullfar Apr 4, 2017
ac8ff60
make client_secret optional in OAuth2 while requesting AccessToken (i…
kullfar Apr 4, 2017
a2887dd
issue #753
vivin Mar 29, 2017
cad7e9a
refactor example a bit
kullfar Apr 10, 2017
04f42bb
update maven deps
kullfar Apr 10, 2017
33d45e1
Merge branch 'issue-753-additional-parameters-request-token' of https…
kullfar Apr 18, 2017
6548aab
add changelog entry
kullfar Apr 18, 2017
3d10eca
fix typo in changelog
kullfar Apr 18, 2017
32be73a
prepare 4.1.0 release
kullfar Apr 18, 2017
08afa0d
[maven-release-plugin] prepare release scribejava-4.1.0
kullfar Apr 18, 2017
c090469
[maven-release-plugin] prepare for next development iteration
kullfar Apr 18, 2017
2b0dce2
remove deprecated code
kullfar Apr 19, 2017
97c03a0
Only add secret key if set
Apr 23, 2017
4fcfe67
add javadoc for JDKHttpFuture
kullfar Apr 24, 2017
99359df
add more javadoc for JDKHttpFuture
kullfar Apr 24, 2017
4ebafd5
Allow perms to be specified in Flickr Api (read, write, or delete)
rogerhu Apr 24, 2017
a85af76
In POST request body params does not calculated in signature
May 2, 2017
9536792
Merge branch 'master' of https://github.com/KungfuPancake/scribejava …
kullfar May 15, 2017
c1d9a54
omit the client_secret parameter if it is an empty string while refre…
kullfar May 15, 2017
d1812c4
Merge branch 'flickr_api' of https://github.com/rogerhu/scribejava in…
kullfar May 15, 2017
00b9d73
allow perms to be specified in Flickr Api (read, write, or delete) (t…
kullfar May 15, 2017
04f6967
use instance method for FlickrApi instead of constructor
kullfar May 15, 2017
6e3d2a2
improve LinkedInApi interface
kullfar May 15, 2017
17e9220
do not open OutputStream for output while sending empty body in HTTP …
kullfar May 15, 2017
12fea9e
Merge branch 'master' of https://github.com/MrNeuronix/scribejava int…
kullfar May 15, 2017
85e8e62
OdnoklassnikiService should consider params in a body while signing t…
kullfar May 15, 2017
51725d3
Merge branch 'MrNeuronix-master'
kullfar May 15, 2017
9b08834
update dependencies
kullfar May 15, 2017
87bce80
prepare 4.1.1 release
kullfar May 16, 2017
2bbc8b0
[maven-release-plugin] prepare release scribejava-4.1.1
kullfar May 16, 2017
6c5b9b3
[maven-release-plugin] prepare for next development iteration
kullfar May 16, 2017
9640a74
drop deprecated methods
kullfar May 16, 2017
f889a1d
fix LinkedIn Example
kullfar May 16, 2017
30824b3
LinkedIn use Header to sign OAuth2 requests
kullfar May 29, 2017
d242f45
upgrade ServiceBuilder to check apiKey preconditions compile-tim (not…
kullfar Jun 2, 2017
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
language: java
script: mvn clean package
jdk:
- oraclejdk8
- oraclejdk7
- openjdk7
os:
- linux
92 changes: 56 additions & 36 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
# Welcome to the home of ScribeJava, the simple OAuth Java lib!
# Welcome to the home of ScribeJava, the simple OAuth client Java lib!

[![Build Status](https://travis-ci.org/scribejava/scribejava.svg?branch=master)](https://travis-ci.org/scribejava/scribejava)
[![Maven Central](https://maven-badges.herokuapp.com/maven-central/com.github.scribejava/scribejava/badge.svg)](https://maven-badges.herokuapp.com/maven-central/com.github.scribejava/scribejava)


# Why use ScribeJava?

Expand All @@ -15,45 +19,63 @@ OAuthService service = new ServiceBuilder()

That **single line** (added newlines for readability) is the only thing you need to configure ScribeJava with LinkedIn's OAuth API for example.

Working runnable examples are [here](https://github.com/scribejava/scribejava/tree/master/scribejava-apis/src/test/java/com/github/scribejava/apis/examples)

### Threadsafe

Hit ScribeJava as hard and with many threads as you like.

### Async
### Async and other HTTP clients

You can user ning async http client out-of-box, just use ServiceBuilderAsync
ScribeJava support out-of-box several HTTP clients:
* ning async http client 1.9.x (maven module scribejava-httpclient-ning)
* asynchttpclient 2.x (maven module scribejava-httpclient-ahc)
* OkHttp (maven module scribejava-httpclient-okhttp)

just add corresponding maven modules to your pom

### Supports all major 1.0a and 2.0 OAuth APIs out-of-the-box

* Google

* Facebook

* Yahoo

* LinkedIn

* Twitter

* Foursquare

* Evernote

* Vimeo

* Windows Live

* Odnoklassniki

* Mail.ru

* LinkedIn2.0

* Google2.0

* GitHub

* and many more! check the [examples folder](https://github.com/scribejava/scribejava/tree/master/scribejava-apis/src/test/java/com/github/scribejava/apis/examples)
* AWeber (http://www.aweber.com/)
* Box (https://www.box.com/)
* Digg (http://digg.com/)
* Доктор на работе (https://www.doktornarabote.ru/)
* Facebook (https://www.facebook.com/)
* Flickr (https://www.flickr.com/)
* Foursquare (https://foursquare.com/)
* Freelancer (https://www.freelancer.com/)
* Genius (http://genius.com/)
* GitHub (https://github.com/)
* Google (https://www.google.com/)
* HeadHunter ХэдХантер (https://hh.ru/)
* Imgur (http://imgur.com/)
* Kaixin 开心网 (http://www.kaixin001.com/)
* LinkedIn (https://www.linkedin.com/)
* Microsoft Live (https://login.live.com/)
* Mail.Ru (https://mail.ru/)
* Meetup (http://www.meetup.com/)
* NAVER (http://www.naver.com/)
* NetEase (http://www.163.com/)
* Odnoklassniki Одноклассники (http://ok.ru/)
* Pinterest (https://www.pinterest.com/)
* 500px (https://500px.com/)
* Renren (http://renren.com/)
* Salesforce (https://www.salesforce.com/)
* Sina (http://www.sina.com.cn/ http://weibo.com/login.php)
* Skyrock (http://skyrock.com/)
* sohu 搜狐 (http://www.sohu.com/)
* StackExchange (http://stackexchange.com/)
* The Things Network (v1-staging and v2-preview) (https://www.thethingsnetwork.org/)
* Trello (https://trello.com/)
* Tumblr (https://www.tumblr.com/)
* TUT.BY (http://www.tut.by/)
* Twitter (https://twitter.com/)
* Viadeo (http://viadeo.com/)
* VK ВКонтакте (http://vk.com/)
* XING (https://www.xing.com/)
* Yahoo (https://www.yahoo.com/)
* Misfit (http://misfit.com/)
* check the [examples folder](https://github.com/scribejava/scribejava/tree/master/scribejava-apis/src/test/java/com/github/scribejava/apis/examples)

### Small and modular

Expand All @@ -78,7 +100,7 @@ You can pull ScribeJava from the central maven repository, just add these to you
<dependency>
<groupId>com.github.scribejava</groupId>
<artifactId>scribejava-apis</artifactId>
<version>2.2.2</version>
<version>4.1.1</version>
</dependency>
```

Expand All @@ -87,7 +109,7 @@ And in case you need just core classes (that's it, without any external API (FB,
<dependency>
<groupId>com.github.scribejava</groupId>
<artifactId>scribejava-core</artifactId>
<version>2.2.2</version>
<version>4.1.1</version>
</dependency>
```

Expand All @@ -103,6 +125,4 @@ Feel free to drop us an email or create issue right here on github.com

## Forks

Looking for a ScribeJava variation? check the [Fork List](https://github.com/scribejava/scribejava/wiki/Forks)

If you have a useful fork that should be listed there please contact us
113 changes: 113 additions & 0 deletions changelog
Original file line number Diff line number Diff line change
@@ -1,7 +1,120 @@
[SNAPSHOT]
* LinkedIn use Header to sign OAuth2 requests
* upgrade ServiceBuilder to check apiKey preconditions compile-tim (not run-time)

[4.1.1]
* omit the client_secret parameter if it is an empty string while refreshing token (thanks to https://github.com/KungfuPancake)
* allow perms to be specified in Flickr Api (read, write, or delete) (thanks to https://github.com/rogerhu)
* OdnoklassnikiService should consider params in a body while signing the request (thanks to https://github.com/MrNeuronix)
* do not open OutputStream for output while sending empty body in HTTP requests in the default JDK Http client

[4.1.0]
* make client_secret optional in OAuth2 while requesting AccessToken (if set to null, it's not required by OAuth2 specs)
* move OAuth1 SignatureType from ServiceBuilder to API
* add body for PATCH HTTP method
* make addOAuthParams appendSignature methods protected in OAuth10aService (to override them in case of need) (thanks to https://github.com/vivin)

[4.0.0]
* Remove OAuthRequestAsync, just OAuthRequest. Request should know about sync vs async. Move default Http engine to JDKHttpClient.
* introduce SignatureType for OAuth2.0 to implement Bearer signing for the requests
* switch Google, GitHub, Facebook OAuth2.0 oauth requests signing to more secured recommended variant (GET-param -> header Bearer)
* introduce custom nonstandard Facebook AccessTokenErrorResponse

[3.4.1]
* Drop deprecated methods
* Move doktornarabote.ru urls to https (thanks to https://github.com/ezibrov)

[3.4.0]
* uncouple OAuthRequest and Service. OAuthRequest shouldn't know anything about OAuthservice.
You don't need OAuthService to create OAuthRequest anymore. Async request should be sent via OAuthService method.
* add support for byte[] and File (async only) payload in OAuth Requests (thanks to https://github.com/keijohyttinen)
* add support for HTTP verbs (thanks to https://github.com/keijohyttinen)
* add OkHttp http client support (thanks to https://github.com/arcao)
* add default HTTP client configs (to use like 'new ServiceBuilder().httpClientConfig(OkHttpHttpClientConfig.defaultConfig())')
* you can use your own impl of AsyncHttpClient

[3.3.0]
* update Facebook v2.6 -> v2.8
* add The Things Network API (v1-staging and v2-preview) (thanks to https://github.com/jpmeijers)
* add Box (thanks to https://github.com/MclaughlinSteve)
* fix: OAuth20Service::refreshAccessToken should use RefreshTokenEndpoint, not AccessTokenEndpoint (thanks to https://github.com/vivin)
* move signRequest method to OAuthService (common for OAuth1 and OAuth2) (thanks to https://github.com/apomelov)
* drop deprecated setConnectionKeepAlive method

[3.2.0]
* Add Naver API (thanks to chooco)
* handle OAuth2 error response for Issuing an Access Token (thanks to juherr)

[3.1.0]
* fix OdnoklassnikiServiceImpl signature, params for hash must be sorted in lexicographic order, see http://new.apiok.ru/dev/methods/
* add posibility to use externally created http client
* make ScribeJava compilable under jdk7 (checkstyle downgraded for jdk 1.7)
* add travis CI (check [oracle|open]jdk7 oraclejdk8)

[3.0.0]
* create abstract HTTP Client layer to support different HTTP clients as plugins (AHC and Ning support becames maven submodules)
* remove changing global JVM property http.keepAlive, deprecate controlling this property inside of ScribeJava (thanks to wldaunfr and rockihack)

[2.8.1]
* add Salesforce sandbox API support

[2.8.0]
* add Salesforce API
* update Linked In API

[2.7.3]
* FIX: ScribeJava shouldn't require all async http client provider to be on the classpath if using only one of them

[2.7.2]
* FIX: ScribeJava shouldn't require any async http client provider to be on the classpath (neither ning neither AHC)

[2.7.1]
* do not hide checked IOException in unchecked IllegalArgumentException

[2.7.0]
* make http async client implementation be more pluggable
* add async-http-client 2.0 support (thanks to Sai Chandrasekharan https://github.com/saichand)
* add Misfit (http://misfit.com/) API
* implement async version getting Request Token for OAuth 1.0a

[2.6.0]
* simplify async/sync usages
* add optional "User-Agent" config option to use while making http calls
* refactor usage of grant_type [authorization_code|refresh_token|password|etc]
* add Genius.com API authentication (OAuth2)
* fix GitHub API
* standardize authorization url generation for OAuth2
* update Facebook to v2.6
* cleanup: drop old APIs without Examples and with outdated domains

[2.5.3]
* fix - do not send two Content-Type header in async requests
* improve OK example

[2.5.2]
* add Google Async Exmaple (with bugfix for it to work)
* add OSGI manifest metadata
* apiSecret is not mandatory parameter in config (to use on client sides and other flows without need of the API secret)
* implement OAuth2 Authorization Response parsing in the OAuth20Service (to extract code and state from url, useful for Android)
* update ok.ru API urls, add 'state' support, add refresh token to the example

[2.4.0]
* APIs 2.0 can define different endpoints for access token and for refresh token (the same urls by default)
* mark Facebook doesn't support refresh token by throwing UnsupportedOperationException
* make JSON Access Token Extractor be the default for OAuth 2.0 (according to RFC 6749)
* drop Google OAuth 1.0 support (OAuth 1.0 was officially deprecated by Google)
* add response_type parameter to the ServiceBuilder/OAuthConfig to use not only "code" for authorization code
* remove Verifier object, we just need Strings, 'code' for OAuth2 and 'oauthVerifier' for OAuth1
* default HTTP verb for OAuth 2.0 Access Token EndPoint is POST (http://tools.ietf.org/html/rfc6749#section-3.2)
* send missed headers in async version (as in sync)
* support 'password' grant_type for OAuth 2.0

[2.3.0]
* Stack Exchange authentication via OAuth 2.0 (stackoverflow.com, askubuntu.com, etc.).
* Support response in gzip.
* differentiate OAuth1 Access token, OAuth 1 Request Token and OAuth 2 Access token, make them conforms RFCs
* OAuth 1 APIs can choose whether to pass empty oauth_token param in requests
* Support refresh tokens for OAuth2 (very thanks to P. Daniel Tyreus https://github.com/pdtyreus)

[2.2.2]
* make all APIs to be extentable (have protected constructors, useful for testing)
Expand Down
Loading