Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 20 for Authenticator (0.19 seconds)

  1. src/test/java/org/codelibs/fess/sso/SsoManagerTest.java

            ssoManager.register(authenticator3);
    
            SsoAuthenticator[] authenticators = ssoManager.getAuthenticators();
            assertEquals(3, authenticators.length);
            assertEquals(authenticator1, authenticators[0]);
            assertEquals(authenticator2, authenticators[1]);
            assertEquals(authenticator3, authenticators[2]);
        }
    
        @Test
        public void test_getAuthenticators_withNoRegisteredAuthenticators() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 16.5K bytes
    - Click Count (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/InterceptorOverridesTest.kt

        }
    
        object AuthenticatorOverride : Override<Authenticator> {
          override fun Interceptor.Chain.value(): Authenticator = authenticator
    
          override fun Interceptor.Chain.withOverride(value: Authenticator): Interceptor.Chain = withAuthenticator(value)
    
          override fun OkHttpClient.Builder.withOverride(value: Authenticator): OkHttpClient.Builder = authenticator(value)
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 11 02:37:00 GMT 2026
    - 28.8K bytes
    - Click Count (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Interceptor.kt

        /**
         * Returns the [Authenticator] for the OkHttpClient, or an override from the Call.Chain.
         */
        val authenticator: Authenticator
    
        /**
         * Override the [Authenticator] for the Call.Chain.
         *
         * @throws IllegalStateException if this is a Network Interceptor, since the override is too late.
         */
        fun withAuthenticator(authenticator: Authenticator): Chain
    
        /**
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Mar 10 21:47:20 GMT 2026
    - 8.9K bytes
    - Click Count (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/RealInterceptorChain.kt

        return copy(retryOnConnectionFailure = retryOnConnectionFailure)
      }
    
      override fun withAuthenticator(authenticator: Authenticator): Interceptor.Chain {
        check(exchange == null) { "authenticator can't be adjusted in a network interceptor" }
    
        return copy(authenticator = authenticator)
      }
    
      override fun withCookieJar(cookieJar: CookieJar): Interceptor.Chain {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Mar 10 21:47:20 GMT 2026
    - 12.8K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/sso/spnego/SpnegoAuthenticator.java

        /** The underlying SPNEGO authenticator instance. */
        protected org.codelibs.spnego.SpnegoAuthenticator authenticator = null;
    
        /**
         * Constructs a new SPNEGO authenticator.
         */
        public SpnegoAuthenticator() {
            // do nothing
        }
    
        /**
         * Initializes the SPNEGO authenticator and registers it with the SSO manager.
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Mar 15 08:18:23 GMT 2026
    - 18.2K bytes
    - Click Count (3)
  6. okhttp/src/jvmTest/kotlin/okhttp3/KotlinSourceModernTest.kt

        val hostnameVerifier: HostnameVerifier? = address.hostnameVerifier
        val certificatePinner: CertificatePinner? = address.certificatePinner
      }
    
      @Test
      fun authenticator() {
        var authenticator: Authenticator = Authenticator { route, response -> TODO() }
      }
    
      @Test
      fun cache() {
        val cache = Cache(File("/cache/"), Integer.MAX_VALUE.toLong())
        cache.initialize()
        cache.delete()
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Mar 10 21:47:20 GMT 2026
    - 49.7K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/sso/SsoAuthenticatorTest.java

            // Execute
            authenticator.resolveCredential(resolver);
    
            // Verify
            assertTrue(authenticator.isResolverCalled());
            assertNotNull(authenticator.getLastResolver());
        }
    
        @Test
        public void test_resolveCredential_withNullResolver() {
            // Execute
            authenticator.resolveCredential(null);
    
            // Verify
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 11.2K bytes
    - Click Count (1)
  8. docs/features/calls.md

    If the response issues an authorization challenge, OkHttp will ask the [`Authenticator`](https://square.github.io/okhttp/5.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
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Mar 15 09:01:42 GMT 2026
    - 3.9K bytes
    - Click Count (0)
  9. 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;
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Mar 10 21:47:20 GMT 2026
    - 72.3K bytes
    - Click Count (0)
  10. docs/features/connections.md

     * When making an HTTPS connection through an HTTP proxy, the proxy may issue an authentication challenge. OkHttp will call the proxy [authenticator](https://square.github.io/okhttp/5.x/okhttp/okhttp3/-authenticator/) and try again.
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Mar 15 09:01:42 GMT 2026
    - 5.4K bytes
    - Click Count (0)
Back to Top