This repository was archived by the owner on Jan 20, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +3
-11
lines changed
authorize/src/test/java/com/networknt/oauth/authorize/handler
code/src/test/java/com/networknt/oauth/code/handler
key/src/test/java/com/networknt/oauth/key/handler Expand file tree Collapse file tree 4 files changed +3
-11
lines changed Original file line number Diff line number Diff line change 1515
1616import java .net .ConnectException ;
1717
18- import static com .networknt .client .oauth .TokenHelper .encodeCredentials ;
18+ import static com .networknt .client .oauth .OauthHelper .encodeCredentials ;
1919
2020
2121/**
Original file line number Diff line number Diff line change 1515
1616import java .net .ConnectException ;
1717
18- import static com .networknt .client .oauth .TokenHelper .encodeCredentials ;
18+ import static com .networknt .client .oauth .OauthHelper .encodeCredentials ;
1919
2020
2121/**
Original file line number Diff line number Diff line change 11package com .networknt .oauth .code .handler ;
22
3- import com .networknt .client .Client ;
4- import com .networknt .exception .ApiException ;
5- import com .networknt .exception .ClientException ;
63import org .apache .commons .io .IOUtils ;
74import org .apache .http .NameValuePair ;
85import org .apache .http .client .entity .UrlEncodedFormEntity ;
96import org .apache .http .client .methods .CloseableHttpResponse ;
10- import org .apache .http .client .methods .HttpGet ;
117import org .apache .http .client .methods .HttpPost ;
12- import org .apache .http .entity .StringEntity ;
138import org .apache .http .impl .client .CloseableHttpClient ;
149import org .apache .http .impl .client .HttpClients ;
1510import org .apache .http .message .BasicNameValuePair ;
16- import org .junit .Assert ;
1711import org .junit .ClassRule ;
1812import org .junit .Test ;
1913import org .slf4j .Logger ;
2014import org .slf4j .LoggerFactory ;
2115
22- import java .net .ConnectException ;
2316import java .util .ArrayList ;
2417import java .util .Arrays ;
2518import java .util .List ;
2619
27- import static com .networknt .client .oauth .TokenHelper .encodeCredentials ;
2820
2921/**
3022* Generated by swagger-codegen
Original file line number Diff line number Diff line change 1515import org .slf4j .Logger ;
1616import org .slf4j .LoggerFactory ;
1717
18- import static com .networknt .client .oauth .TokenHelper .encodeCredentials ;
18+ import static com .networknt .client .oauth .OauthHelper .encodeCredentials ;
1919
2020/**
2121* Generated by swagger-codegen
You can’t perform that action at this time.
0 commit comments