- Sort Score
- Num 10 results
- Language All
Results 51 - 60 of 608 for authenticator (0.07 seconds)
-
cmd/jwt_test.go
claims.SetExpiry(UTCNow().Add(defaultJWTExpiry)) claims.SetAccessKey(accessKey) token := jwtgo.NewWithClaims(jwtgo.SigningMethodHS512, claims) return token.SignedString([]byte(secretKey)) } // Tests web request authenticator. func TestWebRequestAuthenticate(t *testing.T) { ctx, cancel := context.WithCancel(t.Context()) defer cancel() obj, fsDir, err := prepareFS(ctx) if err != nil { t.Fatal(err) }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 4.4K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/sso/SsoAction.java
/** * Main SSO authentication endpoint. * * This method handles the primary SSO authentication flow. It checks if a user * is already logged in, attempts SSO authentication, and handles various * authentication scenarios including success, failure, and challenge responses. * * @return ActionResponse directing to the appropriate page based on authentication result */ @ExecuteCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 9.5K bytes - Click Count (0) -
docs/changelogs/changelog_2x.md
* **HttpResponseCache has been renamed to Cache.** Install it with `OkHttpClient.setCache(...)` instead of `OkHttpClient.setResponseCache(...)`. * **OkAuthenticator has been replaced with Authenticator.** This new authenticator has access to the full incoming response and can respond with whichever followup request is appropriate. The `Challenge` class is now aCreated: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Feb 06 02:19:09 GMT 2022 - 26.6K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/RequestBody.kt
* has since been closed by the server. * * A client timeout (HTTP 408). * * A authorization challenge (HTTP 401 and 407) that is satisfied by the [Authenticator]. * * A retryable server failure (HTTP 503 with a `Retry-After: 0` response header). * * A misdirected request (HTTP 421) on a coalesced connection. */ open fun isOneShot(): Boolean = false /**
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Oct 07 14:16:29 GMT 2025 - 9.3K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/SMB1SigningDigest.java
this.signSequence = initialSequence; } /** * Constructs a signing digest from transport and authentication information * * @param transport * The SMB transport containing server encryption key * @param auth * The NTLM password authenticator containing user credentials * @throws SmbException * If there is an error setting up the signing digestCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 11.9K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt
client .newBuilder() .authenticator(authenticator) .build() executeSynchronously("/") .assertCode(401) assertThat(authenticator.onlyRoute()).isNotNull() } @Test fun delete() { server.enqueue(MockResponse(body = "abc")) val request = Request .Builder() .url(server.url("/")) .delete() .build()Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Mar 15 09:02:18 GMT 2026 - 146.5K bytes - Click Count (0) -
okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourceHttpTest.kt
ResponseBodyEnd::class, ConnectionReleased::class, CallEnd::class, ) } @Test fun sseReauths() { client = client .newBuilder() .authenticator { route, response -> response.request .newBuilder() .header("Authorization", "XYZ") .build() }.build() server.enqueue( MockResponse(Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Nov 04 19:13:52 GMT 2025 - 8.8K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HttpOverHttp2Test.kt
assertThat(response.body.string()).isEqualTo("ABCABCABC") } @Test fun authenticate() { server.enqueue( MockResponse( code = HttpURLConnection.HTTP_UNAUTHORIZED, headers = headersOf("www-authenticate", "Basic realm=\"protected area\""), body = "Please authenticate.", ), ) server.enqueue( MockResponse(body = "Successful auth!"), )
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 67.5K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/sso/entraid/EntraIdAuthenticator.java
} catch (final Exception e) { throw new SsoLoginException("Failed to parse an authentication response.", e); } } /** * Validates the nonce in the authentication result. * @param stateData The stored state data containing the expected nonce. * @param authData The authentication result containing the actual nonce. */
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Mar 15 08:03:27 GMT 2026 - 56.8K bytes - Click Count (0) -
docs/changelogs/changelog_4x.md
} } ``` * New: `MediaType.parameter()` gets a parameter like `boundary` from a media type like `multipart/mixed; boundary="abc"`. * New: `Authenticator.JAVA_NET_AUTHENTICATOR` forwards authentication requests to `java.net.Authenticator`. This obsoletes `JavaNetAuthenticator` in the `okhttp-urlconnection` module. * New: `CertificatePinner` now offers an API for inspecting the configured pins.Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Apr 17 13:25:31 GMT 2024 - 25.2K bytes - Click Count (0)