- Sort Score
- Num 10 results
- Language All
Results 1 - 1 of 1 for customTokenAuthenticator (0.64 seconds)
-
okhttp/src/jvmTest/kotlin/okhttp3/URLConnectionTest.kt
.toUrl() .path, ).isEqualTo("/private") assertThat(response.challenges()).isEqualTo(listOf(Challenge("Basic", "protected area"))) } @Test fun customTokenAuthenticator() { server.enqueue( MockResponse( code = 401, headers = headersOf("WWW-Authenticate", "Bearer realm=\"oauthed\""), body = "Please authenticate.", ), )
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 133.3K bytes - Click Count (0)