[Java][apache-httpclient][feign][okhttp-gson] Enable access token refresh (#17086)

* add setter of bearer token supplier

* run generate-samples.sh

* add test of bearer auth
This commit is contained in:
Tomohiko Ozawa
2023-11-18 13:46:18 +09:00
committed by GitHub
parent dc4c72c85c
commit 4bedeef643
57 changed files with 723 additions and 129 deletions

View File

@@ -49,4 +49,20 @@ public class AuthApiTest {
// TODO: test validations
}
/**
* To test HTTP bearer authentication
*
* To test HTTP bearer authentication
*
* @throws ApiException
* if the Api call fails
*/
@Test
public void testAuthHttpBearerTest() throws ApiException {
String response =
api.testAuthHttpBearer();
// TODO: test validations
}
}