Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 34 for challenges (0.19 sec)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttpClient.kt

         */
        fun fastFallback(fastFallback: Boolean) =
          apply {
            this.fastFallback = fastFallback
          }
    
        /**
         * Sets the authenticator used to respond to challenges from origin servers. Use
         * [proxyAuthenticator] to set the authenticator for proxy servers.
         *
         * If unset, the [no authentication will be attempted][Authenticator.NONE].
         */
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 51.7K bytes
    - Viewed (0)
  2. CHANGELOG.md

     *  New: `EventListener.followUpDecision()` is called each time a response is received. It notifies
        your listener if OkHttp has decided to make a follow-up request. Some common follow-ups are
        authentication challenges and redirects.
    
     *  New: Handy constants for `Headers.EMPTY`, `RequestBody.EMPTY`, and `ResponseBody.EMPTY`.
    
     *  New: OkHttp now calls `StrictMode.noteSlowCall()` when initializing TLS on Android. Use
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 07 19:32:33 UTC 2025
    - 31.6K bytes
    - Viewed (1)
  3. okhttp/api/jvm/okhttp.api

    	public final fun body ()Lokhttp3/ResponseBody;
    	public final fun cacheControl ()Lokhttp3/CacheControl;
    	public final fun cacheResponse ()Lokhttp3/Response;
    	public final fun challenges ()Ljava/util/List;
    	public fun close ()V
    	public final fun code ()I
    	public final fun handshake ()Lokhttp3/Handshake;
    	public final fun header (Ljava/lang/String;)Ljava/lang/String;
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 16 09:39:51 UTC 2025
    - 69.4K bytes
    - Viewed (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/URLConnectionTest.kt

        val response = authenticator.onlyResponse()
        assertThat(
          response.request.url
            .toUrl()
            .path,
        ).isEqualTo("/private")
        assertThat(response.challenges()).isEqualTo(listOf(Challenge("Basic", "protected area")))
      }
    
      @Test
      fun customTokenAuthenticator() {
        server.enqueue(
          MockResponse(
            code = 401,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Jun 21 20:36:35 UTC 2025
    - 133.2K bytes
    - Viewed (0)
  5. guava/src/com/google/common/util/concurrent/Monitor.java

      //    - redo the API to be as close to identical to ReentrantLock as possible,
      //      since, after all, this class is also a reentrant mutual exclusion lock!?
    
      /*
       * One of the key challenges of this class is to prevent lost signals, while trying hard to
       * minimize unnecessary signals. One simple and correct algorithm is to signal some other waiter
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 42.8K bytes
    - Viewed (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Challenge.kt

    import java.util.Collections.singletonMap
    import java.util.Locale.US
    import kotlin.text.Charsets.ISO_8859_1
    import okhttp3.internal.unmodifiable
    
    /**
     * An [RFC 7235][rfc_7235] challenge.
     *
     * [rfc_7235]: https://tools.ietf.org/html/rfc7235
     */
    class Challenge(
      /** Returns the authentication scheme, like `Basic`. */
      @get:JvmName("scheme") val scheme: String,
      authParams: Map<String?, String>,
    ) {
      /**
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue May 27 15:01:35 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  7. okhttp/api/android/okhttp.api

    	public final fun body ()Lokhttp3/ResponseBody;
    	public final fun cacheControl ()Lokhttp3/CacheControl;
    	public final fun cacheResponse ()Lokhttp3/Response;
    	public final fun challenges ()Ljava/util/List;
    	public fun close ()V
    	public final fun code ()I
    	public final fun handshake ()Lokhttp3/Handshake;
    	public final fun header (Ljava/lang/String;)Ljava/lang/String;
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 16 09:39:51 UTC 2025
    - 69.4K bytes
    - Viewed (0)
  8. 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)
  9. okhttp/src/jvmTest/kotlin/okhttp3/KotlinDeprecationErrorTest.kt

      }
    
      @Test @Disabled
      fun challenge() {
        val challenge = Challenge("", mapOf("" to ""))
        val scheme: String = challenge.scheme()
        val authParams: Map<String?, String> = challenge.authParams()
        val realm: String? = challenge.realm()
        val charset: Charset = challenge.charset()
      }
    
      @Test @Disabled
      fun cipherSuite() {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/sso/SsoAction.java

         *
         * 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
         */
        @Execute
        public ActionResponse index() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 9.5K bytes
    - Viewed (0)
Back to top