Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for authParams (0.27 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/-ChallengeCommon.kt

      return other is Challenge &&
        other.scheme == scheme &&
        other.authParams == authParams
    }
    
    fun Challenge.commonHashCode(): Int {
      var result = 29
      result = 31 * result + scheme.hashCode()
      result = 31 * result + authParams.hashCode()
      return result
    }
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 1.1K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/Challenge.kt

        for ((key, value) in authParams) {
          val newKey = key?.lowercase(US)
          newAuthParams[newKey] = value
        }
        this.authParams = unmodifiableMap<String?, String>(newAuthParams)
      }
    
      /** Returns a copy of this charset that expects a credential encoded with [charset]. */
      fun withCharset(charset: Charset): Challenge {
        val authParams = this.authParams.toMutableMap()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3.5K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/HeadersChallengesTest.kt

        expectedAuthParams["nonce"] = "fjalskdflwejrlaskdfjlaskdjflaksjdflkasdf"
        expectedAuthParams["qop"] = "auth"
        expectedAuthParams["stale"] = "FALSE"
        assertThat(challenges[0].authParams).isEqualTo(expectedAuthParams)
      }
    
      @Test fun testDigestChallengeWithDifferentlyOrderedAuthParams() {
        val headers =
          Headers.Builder()
            .add(
              "WWW-Authenticate",
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 16.6K bytes
    - Viewed (0)
  4. docs/sts/assume-role.md

    | Params     | Value    |
    | :--        | :--      |
    | *Type*     | *String* |
    | *Required* | *Yes*    |
    
    ### AUTHPARAMS
    
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Sep 29 04:28:45 GMT 2022
    - 7.1K bytes
    - Viewed (0)
  5. okhttp/src/test/java/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() {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 13.3K bytes
    - Viewed (0)
  6. docs/changelogs/upgrading_to_okhttp_4.md

     * **Cache**: directory
     * **CacheControl**: immutable, maxAgeSeconds, maxStaleSeconds, minFreshSeconds, mustRevalidate,
       noCache, noStore, noTransform, onlyIfCached, sMaxAgeSeconds
     * **Challenge**: authParams, charset, realm, scheme
     * **CipherSuite**: javaName
     * **ConnectionSpec**: cipherSuites, supportsTlsExtensions, tlsVersions
     * **Cookie**: domain, expiresAt, hostOnly, httpOnly, name, path, persistent, value
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Feb 06 16:58:16 GMT 2022
    - 10.9K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/KotlinSourceModernTest.kt

      }
    
      @Test
      fun challenge() {
        var challenge = Challenge("", mapOf("" to ""))
        challenge = Challenge("", "")
        val scheme: String = challenge.scheme
        val authParams: Map<String?, String> = challenge.authParams
        val realm: String? = challenge.realm
        val charset: Charset = challenge.charset
        val utf8: Challenge = challenge.withCharset(Charsets.UTF_8)
      }
    
      @Test
      fun cipherSuite() {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 01 14:21:25 GMT 2024
    - 46.5K bytes
    - Viewed (4)
  8. okhttp/api/okhttp.api

    	public final fun -deprecated_authParams ()Ljava/util/Map;
    	public final fun -deprecated_charset ()Ljava/nio/charset/Charset;
    	public final fun -deprecated_realm ()Ljava/lang/String;
    	public final fun -deprecated_scheme ()Ljava/lang/String;
    	public fun <init> (Ljava/lang/String;Ljava/lang/String;)V
    	public fun <init> (Ljava/lang/String;Ljava/util/Map;)V
    	public final fun authParams ()Ljava/util/Map;
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 15 13:41:01 GMT 2024
    - 70.2K bytes
    - Viewed (0)
Back to top