Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for noClientAuth (0.09 sec)

  1. mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/MockWebServer.kt

      fun useHttps(
        sslSocketFactory: SSLSocketFactory,
        tunnelProxy: Boolean,
      ) {
        delegate.useHttps(sslSocketFactory)
      }
    
      fun noClientAuth() {
        delegate.noClientAuth()
      }
    
      fun requestClientAuth() {
        delegate.requestClientAuth()
      }
    
      fun requireClientAuth() {
        delegate.requireClientAuth()
      }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Jan 23 14:31:42 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  2. mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/KotlinSourceModernTest.kt

        mockWebServer.protocols = listOf()
        val protocols: List<Protocol> = mockWebServer.protocols
        mockWebServer.useHttps(SSLSocketFactory.getDefault() as SSLSocketFactory, false)
        mockWebServer.noClientAuth()
        mockWebServer.requestClientAuth()
        mockWebServer.requireClientAuth()
        val request: RecordedRequest = mockWebServer.takeRequest()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/internal/tls/ClientAuthTest.kt

      @Test
      fun clientAuthSkippedForNone() {
        val client = buildClient(clientCert, clientIntermediateCa.certificate)
        val socketFactory = buildServerSslSocketFactory()
        server.useHttps(socketFactory)
        server.noClientAuth()
        server.enqueue(
          MockResponse.Builder()
            .body("abc")
            .build(),
        )
        val call = client.newCall(Request.Builder().url(server.url("/")).build())
        val response = call.execute()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Jan 14 10:20:09 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  4. mockwebserver-deprecated/api/mockwebserver.api

    	public final fun getPort ()I
    	public final fun getProtocolNegotiationEnabled ()Z
    	public final fun getRequestCount ()I
    	public final fun getServerSocketFactory ()Ljavax/net/ServerSocketFactory;
    	public final fun noClientAuth ()V
    	public final fun protocols ()Ljava/util/List;
    	public final fun requestClientAuth ()V
    	public final fun requireClientAuth ()V
    	public final fun setBodyLimit (J)V
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jul 22 12:28:51 UTC 2023
    - 10.2K bytes
    - Viewed (0)
  5. mockwebserver/api/mockwebserver3.api

    	public final fun getProtocols ()Ljava/util/List;
    	public final fun getRequestCount ()I
    	public final fun getServerSocketFactory ()Ljavax/net/ServerSocketFactory;
    	public final fun getStarted ()Z
    	public final fun noClientAuth ()V
    	public final fun requestClientAuth ()V
    	public final fun requireClientAuth ()V
    	public final fun setBodyLimit (J)V
    	public final fun setDispatcher (Lmockwebserver3/Dispatcher;)V
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Jan 03 21:59:45 UTC 2023
    - 12.7K bytes
    - Viewed (0)
  6. mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt

       * authentication to another layer such as in an HTTP cookie or header. This is the default and
       * most common configuration.
       */
      fun noClientAuth() {
        this.clientAuth = CLIENT_AUTH_NONE
      }
    
      /**
       * Configure the server to [want client auth][SSLSocket.setWantClientAuth]. If the
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Mar 31 17:16:15 UTC 2024
    - 37.4K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/KotlinSourceModernTest.kt

        mockWebServer.protocols = listOf()
        val protocols: List<Protocol> = mockWebServer.protocols
        mockWebServer.useHttps(SSLSocketFactory.getDefault() as SSLSocketFactory, false)
        mockWebServer.noClientAuth()
        mockWebServer.requestClientAuth()
        mockWebServer.requireClientAuth()
        val request: RecordedRequest = mockWebServer.takeRequest()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 01 14:21:25 UTC 2024
    - 46.5K bytes
    - Viewed (0)
Back to top