@@ -70,34 +70,11 @@ public ClientAuthentication getClientAuthentication() {
7070 return RequestBodyAuthenticationScheme .instance ();
7171 }
7272
73- /**
74- * @param apiKey apiKey
75- * @param apiSecret apiSecret
76- * @param callback callback
77- * @param scope scope
78- * @param debugStream debugStream
79- * @param state state
80- * @param responseType responseType
81- * @param userAgent userAgent
82- * @param httpClientConfig httpClientConfig
83- * @param httpClient httpClient
84- * @return return
85- * @deprecated use one of getAuthorizationUrl method in {@link com.github.scribejava.core.oauth.OAuth20Service}
86- */
87- @ Deprecated
88- @ Override
89- public FacebookService createService (String apiKey , String apiSecret , String callback , String scope ,
90- OutputStream debugStream , String state , String responseType , String userAgent ,
91- HttpClientConfig httpClientConfig , HttpClient httpClient ) {
92- return new FacebookService (this , apiKey , apiSecret , callback , scope , state , responseType , userAgent ,
93- httpClientConfig , httpClient );
94- }
95-
9673 @ Override
9774 public FacebookService createService (String apiKey , String apiSecret , String callback , String scope ,
9875 OutputStream debugStream , String responseType , String userAgent , HttpClientConfig httpClientConfig ,
9976 HttpClient httpClient ) {
100- return createService ( apiKey , apiSecret , callback , scope , debugStream , null , responseType , userAgent ,
101- httpClientConfig , httpClient );
77+ return new FacebookService ( this , apiKey , apiSecret , callback , scope , responseType , userAgent , httpClientConfig ,
78+ httpClient );
10279 }
10380}
0 commit comments