Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 99 for authenticators (0.05 sec)

  1. okhttp/api/jvm/okhttp.api

    	public static final field JAVA_NET_AUTHENTICATOR Lokhttp3/Authenticator;
    	public static final field NONE Lokhttp3/Authenticator;
    	public abstract fun authenticate (Lokhttp3/Route;Lokhttp3/Response;)Lokhttp3/Request;
    }
    
    public final class okhttp3/Authenticator$Companion {
    }
    
    public final class okhttp3/Cache : java/io/Closeable, java/io/Flushable {
    	public static final field Companion Lokhttp3/Cache$Companion;
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 16 09:39:51 UTC 2025
    - 69.4K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/JAASAuthenticatorTest.java

            auth.refresh();
            Subject afterRefresh = auth.getSubject();
            // After refresh, may succeed or fail depending on JAAS configuration
            // Just verify that refresh doesn't break the authenticator
            assertNotNull(auth, "Authenticator should remain usable after refresh");
        }
    
        @Test
        @DisplayName("handle: sets NameCallback and PasswordCallback on happy path")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/internal/RecordingAuthenticator.kt

     * limitations under the License.
     */
    package okhttp3.internal
    
    import java.net.Authenticator
    import java.net.PasswordAuthentication
    
    class RecordingAuthenticator(
      private val authentication: PasswordAuthentication? =
        PasswordAuthentication(
          "username",
          "password".toCharArray(),
        ),
    ) : Authenticator() {
      val calls = mutableListOf<String>()
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/NtlmAuthenticator.java

        private void reset() {
            url = null;
            sae = null;
        }
    
        /**
         * Set the default <code>NtlmAuthenticator</code>. Once the default authenticator is set it cannot be changed. Calling this metho again will have no effect.
         * @param a the authenticator to set as default
         */
    
        public synchronized static void setDefault(final NtlmAuthenticator a) {
            if (auth != null) {
                return;
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  5. docs/features/calls.md

    If the response issues an authorization challenge, OkHttp will ask the [`Authenticator`](https://square.github.io/okhttp/4.x/okhttp/okhttp3/-authenticator/) (if one is configured) to satisfy the challenge. If the authenticator supplies a credential, the request is retried with that credential included.
    
    ## Retrying Requests
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 3.9K bytes
    - Viewed (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/URLConnectionTest.kt

          MockResponse(body = "c"),
        )
        val authenticator =
          RecordingOkAuthenticator(
            basic("jesse", "peanutbutter"),
            "Basic",
          )
        client =
          client
            .newBuilder()
            .authenticator(authenticator)
            .build()
        assertContent("c", getResponse(newRequest("/a")))
        val challengeResponse = authenticator.responses[0]
        assertThat(
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Jun 21 20:36:35 UTC 2025
    - 133.2K bytes
    - Viewed (0)
  7. okhttp-urlconnection/README.md

    OkHttp URLConnection
    ====================
    
    This module integrates OkHttp with `Authenticator` and `CookieHandler` from `java.net`.
    
    This module is obsolete; prefer `okhttp-java-net-cookiejar`.
    
    ### Download
    
    ```kotlin
    testImplementation("com.squareup.okhttp3:okhttp-urlconnection:5.1.0")
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 07 19:32:33 UTC 2025
    - 292 bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/sso/oic/OpenIdConnectAuthenticatorTest.java

            // Setup
            OpenIdConnectAuthenticator authenticator = new OpenIdConnectAuthenticator();
            final Map<String, Object> attributes = new HashMap<>();
            String jwtClaim =
                    "{\"email\":\"******@****.***\",\"sub\":\"1234567890\",\"name\":\"John Doe\",\"groups\":[\"group1\",\"group2\"]}";
    
            // Execute
            authenticator.parseJwtClaim(jwtClaim, attributes);
    
            // Verify
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 2K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/sso/SsoAuthenticator.java

    import org.lastaflute.web.response.ActionResponse;
    
    /**
     * Interface for SSO (Single Sign-On) authenticator implementations.
     *
     * This interface defines the contract for SSO authentication providers that can be
     * integrated with Fess. Implementations handle specific SSO protocols like SAML,
     * OAuth, SPNEGO, or other authentication mechanisms. Each authenticator is responsible
     * for obtaining login credentials, resolving user information, and managing SSO
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.2K bytes
    - Viewed (1)
  10. src/main/java/jcifs/smb/NtlmPasswordAuthenticator.java

            cloneInternal(cloned, this);
            return cloned;
        }
    
        /**
         * Clone internal fields from one authenticator to another.
         *
         * @param cloned the target authenticator to copy to
         * @param toClone the source authenticator to copy from
         */
        protected static void cloneInternal(NtlmPasswordAuthenticator cloned, NtlmPasswordAuthenticator toClone) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 30.3K bytes
    - Viewed (0)
Back to top