Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 163 for CONNECT (0.64 sec)

  1. docs/zh/docs/tutorial/security/index.md

        在有关**部署**的章节中,你将了解如何使用 Traefik 和 Let's Encrypt 免费设置 HTTPS。
    
    
    ## OpenID Connect
    
    OpenID Connect 是另一个基于 **OAuth2** 的规范。
    
    它只是扩展了 OAuth2,并明确了一些在 OAuth2 中相对模糊的内容,以尝试使其更具互操作性。
    
    例如,Google 登录使用 OpenID Connect(底层使用OAuth2)。
    
    但是 Facebook 登录不支持 OpenID Connect。它具有自己的 OAuth2 风格。
    
    ### OpenID(非「OpenID Connect」)
    
    还有一个「OpenID」规范。它试图解决与 **OpenID Connect** 相同的问题,但它不是基于 OAuth2。
    
    因此,它是一个完整的附加系统。
    
    如今它已经不是很流行,没有被广泛使用了。
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Jun 24 14:47:15 GMT 2023
    - 4.2K bytes
    - Viewed (0)
  2. tests/test_tutorial/test_websockets/test_tutorial002_an.py

        with pytest.raises(WebSocketDisconnect):
            with client.websocket_connect("/items/foo/ws"):
                pytest.fail(
                    "did not raise WebSocketDisconnect on __enter__"
                )  # pragma: no cover
    
    
    def test_websocket_invalid_data():
        client = TestClient(app)
        with pytest.raises(WebSocketDisconnect):
            with client.websocket_connect("/items/foo/ws?q=bar&token=some-token"):
                pytest.fail(
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Mar 18 12:29:59 GMT 2023
    - 3.6K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/curl/Curl.java

            return new CurlRequest(Method.OPTIONS, url);
        }
    
        public static CurlRequest connect(final String url) {
            return new CurlRequest(Method.CONNECT, url);
        }
    
        public enum Method {
            GET, POST, PUT, DELETE, HEAD, OPTIONS, TRACE, CONNECT;
        }
    
    Java
    - Registered: Thu May 09 15:34:10 GMT 2024
    - Last Modified: Mon Nov 14 21:05:19 GMT 2022
    - 1.7K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/http/ExchangeCodec.kt

       * That may happen later by the connection pool thread.
       */
      fun cancel()
    
      /**
       * Carries an exchange. This is usually a connection, but it could also be a connect plan for
       * CONNECT tunnels. Note that CONNECT tunnels are significantly less capable than connections.
       */
      interface Carrier {
        val route: Route
    
        fun trackFailure(
          call: RealCall,
          e: IOException?,
        )
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3K bytes
    - Viewed (0)
  5. tests/test_ws_dependencies.py

    )
    
    
    def test_index():
        client = TestClient(app)
        with client.websocket_connect("/") as websocket:
            data = json.loads(websocket.receive_text())
            assert data == ["app", "index"]
    
    
    def test_routerindex():
        client = TestClient(app)
        with client.websocket_connect("/router") as websocket:
            data = json.loads(websocket.receive_text())
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sun Jun 11 20:35:39 GMT 2023
    - 2.1K bytes
    - Viewed (0)
  6. tests/test_tutorial/test_websockets/test_tutorial003.py

    client = TestClient(app)
    
    
    def test_get():
        response = client.get("/")
        assert response.text == html
    
    
    def test_websocket_handle_disconnection():
        with client.websocket_connect("/ws/1234") as connection, client.websocket_connect(
            "/ws/5678"
        ) as connection_two:
            connection.send_text("Hello from 1234")
            data1 = connection.receive_text()
            assert data1 == "You wrote: Hello from 1234"
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Jul 29 09:26:07 GMT 2021
    - 872 bytes
    - Viewed (0)
  7. docs/en/docs/tutorial/security/index.md

    
    ## OpenID Connect
    
    OpenID Connect is another specification, based on **OAuth2**.
    
    It just extends OAuth2 specifying some things that are relatively ambiguous in OAuth2, to try to make it more interoperable.
    
    For example, Google login uses OpenID Connect (which underneath uses OAuth2).
    
    But Facebook login doesn't support OpenID Connect. It has its own flavor of OAuth2.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Jun 24 14:47:15 GMT 2023
    - 4.3K bytes
    - Viewed (0)
  8. docs/pt/docs/tutorial/security/index.md

    
    ## OpenID Connect
    
    OpenID Connect é outra especificação, baseada em **OAuth2**.
    
    Ela é apenas uma extensão do OAuth2 especificando algumas coisas que são relativamente ambíguas no OAuth2, para tentar torná-lo mais interoperável.
    
    Por exemplo, o login do Google usa OpenID Connect (que por baixo dos panos usa OAuth2).
    
    Mas o login do Facebook não tem suporte para OpenID Connect. Ele tem a própria implementação do OAuth2.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Jun 24 14:47:15 GMT 2023
    - 4.8K bytes
    - Viewed (0)
  9. mockwebserver-junit4/src/test/java/mockwebserver3/junit4/MockWebServerRuleTest.kt

              override fun evaluate() {
                called.set(true)
                rule.server.url("/").toUrl().openConnection().connect()
              }
            },
            Description.EMPTY,
          )
        statement.evaluate()
        assertThat(called.get()).isTrue()
        try {
          rule.server.url("/").toUrl().openConnection().connect()
          fail()
        } catch (expected: ConnectException) {
        }
      }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 1.5K bytes
    - Viewed (1)
  10. docs_src/websockets/tutorial002_an_py310.py

                <button onclick="connect(event)">Connect</button>
                <hr>
                <label>Message: <input type="text" id="messageText" autocomplete="off"/></label>
                <button>Send</button>
            </form>
            <ul id='messages'>
            </ul>
            <script>
            var ws = null;
                function connect(event) {
                    var itemId = document.getElementById("itemId")
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 18 12:29:59 GMT 2023
    - 2.8K bytes
    - Viewed (0)
Back to top