File tree Expand file tree Collapse file tree 4 files changed +15
-0
lines changed
scribejava-core/src/main/java/com/github/scribejava/core/builder Expand file tree Collapse file tree 4 files changed +15
-0
lines changed Original file line number Diff line number Diff line change 11[SNAPSHOT]
22 * make Response implements Closeable (thanks to https://github.com/omaric)
3+ * fix Type resolution for builder pattern in ServiceBuilderOAuth10a (thanks to https://github.com/mgyucht)
34
45[6.8.0]
56 * Add debug output to OAuth2Service (thanks to https://github.com/rbarbey)
Original file line number Diff line number Diff line change 33import com .github .scribejava .core .httpclient .HttpClient ;
44import com .github .scribejava .core .httpclient .HttpClientConfig ;
55import com .github .scribejava .core .oauth .OAuthService ;
6+ import java .io .OutputStream ;
67
78/**
89 * Implementation of the Builder pattern, with a fluent interface that creates a {@link OAuthService}
@@ -45,4 +46,8 @@ public interface ServiceBuilderCommon {
4546 ServiceBuilderCommon httpClient (HttpClient httpClient );
4647
4748 ServiceBuilderCommon userAgent (String userAgent );
49+
50+ ServiceBuilderCommon debugStream (OutputStream debugStream );
51+
52+ ServiceBuilderCommon debug ();
4853}
Original file line number Diff line number Diff line change @@ -26,8 +26,10 @@ public interface ServiceBuilderOAuth10a extends ServiceBuilderCommon {
2626 @ Override
2727 ServiceBuilderOAuth10a userAgent (String userAgent );
2828
29+ @ Override
2930 ServiceBuilderOAuth10a debugStream (OutputStream debugStream );
3031
32+ @ Override
3133 ServiceBuilderOAuth10a debug ();
3234
3335 /**
Original file line number Diff line number Diff line change 44import com .github .scribejava .core .httpclient .HttpClient ;
55import com .github .scribejava .core .httpclient .HttpClientConfig ;
66import com .github .scribejava .core .oauth .OAuth20Service ;
7+ import java .io .OutputStream ;
78
89public interface ServiceBuilderOAuth20 extends ServiceBuilderCommon {
910
@@ -25,6 +26,12 @@ public interface ServiceBuilderOAuth20 extends ServiceBuilderCommon {
2526 @ Override
2627 ServiceBuilderOAuth20 userAgent (String userAgent );
2728
29+ @ Override
30+ ServiceBuilderOAuth20 debugStream (OutputStream debugStream );
31+
32+ @ Override
33+ ServiceBuilderOAuth20 debug ();
34+
2835 ServiceBuilderOAuth20 responseType (String responseType );
2936
3037 /**
You can’t perform that action at this time.
0 commit comments