Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 81 - 90 of 310 for authenticated (0.24 seconds)

  1. tests/test_tutorial/test_authentication_error_status_code/test_tutorial001.py

        assert response.status_code == 200
        assert response.json() == {
            "message": "You are authenticated",
            "token": "secrettoken",
        }
    
    
    def test_get_me_no_credentials(client: TestClient):
        response = client.get("/me")
        assert response.status_code == 403
        assert response.json() == {"detail": "Not authenticated"}
    
    
    def test_openapi_schema(client: TestClient):
        response = client.get("/openapi.json")
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 1.9K bytes
    - Click Count (0)
  2. cmd/bucket-handlers_test.go

    		secretKey  string
    		// expected Response.
    		expectedRespStatus int
    		locationResponse   []byte
    		errorResponse      APIErrorResponse
    		shouldPass         bool
    	}{
    		// Test case - 1.
    		// Tests for authenticated request and proper response.
    		{
    			bucketName:         bucketName,
    			accessKey:          credentials.AccessKey,
    			secretKey:          credentials.SecretKey,
    			expectedRespStatus: http.StatusOK,
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 39.8K bytes
    - Click Count (0)
  3. src/main/java/jcifs/internal/smb1/ServerMessageBlock.java

        /**
         * Additional flags for the SMB message.
         */
        protected int flags2;
        /**
         * Process identifier.
         */
        protected int pid;
        /**
         * User identifier for the authenticated session.
         */
        protected int uid;
        /**
         * Multiplex identifier for correlating requests and responses.
         */
        protected int mid;
        /**
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 38.9K bytes
    - Click Count (0)
  4. docs/tr/docs/advanced/testing-dependencies.md

    ### Kullanım Senaryoları: Harici Servis { #use-cases-external-service }
    
    Örneğin, çağırmanız gereken harici bir authentication provider'ınız olabilir.
    
    Ona bir token gönderirsiniz ve o da authenticated bir user döndürür.
    
    Bu provider request başına ücret alıyor olabilir ve onu çağırmak, testlerde sabit bir mock user kullanmaya kıyasla daha fazla zaman alabilir.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Feb 13 12:41:38 GMT 2026
    - 2.7K bytes
    - Click Count (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/URLConnectionTest.kt

            code = 401,
            headers = headersOf("WWW-Authenticate", "Basic realm=\"protected area\""),
            body = "Please authenticate.",
          ),
        )
        server.enqueue(
          MockResponse(body = "Authenticated!"),
        )
        java.net.Authenticator.setDefault(RecordingAuthenticator())
        client =
          client
            .newBuilder()
            .authenticator(JavaNetAuthenticator())
            .build()
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 133.3K bytes
    - Click Count (0)
  6. docs/uk/docs/tutorial/security/simple-oauth2.md

    {* ../../docs_src/security/tutorial003_an_py310.py hl[58:66,69:74,94] *}
    
    /// info | Інформація
    
    Додатковий заголовок `WWW-Authenticate` зі значенням `Bearer`, який ми тут повертаємо, також є частиною специфікації.
    
    Будь-який HTTP (помилка) зі статус-кодом 401 «UNAUTHORIZED» також має повертати заголовок `WWW-Authenticate`.
    
    У випадку токенів носія (наш випадок) значенням цього заголовка має бути `Bearer`.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:27:41 GMT 2026
    - 15K bytes
    - Click Count (0)
  7. docs/es/docs/tutorial/security/simple-oauth2.md

    /// info | Información
    
    El header adicional `WWW-Authenticate` con el valor `Bearer` que estamos devolviendo aquí también es parte de la especificación.
    
    Cualquier código de estado HTTP (error) 401 "UNAUTHORIZED" se supone que también debe devolver un header `WWW-Authenticate`.
    
    En el caso de tokens bearer (nuestro caso), el valor de ese header debe ser `Bearer`.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 10.2K bytes
    - Click Count (0)
  8. docs/ru/docs/tutorial/security/simple-oauth2.md

    /// info | Дополнительная информация
    Дополнительный HTTP-заголовок `WWW-Authenticate` со значением `Bearer`, который мы здесь возвращаем, также является частью спецификации.
    
    Любой HTTP статус-код 401 "UNAUTHORIZED" должен также возвращать заголовок `WWW-Authenticate`.
    
    В случае с bearer-токенами (наш случай) значение этого заголовка должно быть `Bearer`.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:56:20 GMT 2026
    - 16.2K bytes
    - Click Count (0)
  9. docs/de/docs/tutorial/security/simple-oauth2.md

    {* ../../docs_src/security/tutorial003_an_py310.py hl[58:66,69:74,94] *}
    
    /// info | Info
    
    Der zusätzliche Header `WWW-Authenticate` mit dem Wert `Bearer`, den wir hier zurückgeben, ist ebenfalls Teil der Spezifikation.
    
    Jeder HTTP-(Fehler-)Statuscode 401 „UNAUTHORIZED“ soll auch einen `WWW-Authenticate`-Header zurückgeben.
    
    Im Fall von Bearer-Tokens (in unserem Fall) sollte der Wert dieses Headers `Bearer` lauten.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:58:09 GMT 2026
    - 11.1K bytes
    - Click Count (0)
  10. docs/tr/docs/tutorial/security/simple-oauth2.md

    {* ../../docs_src/security/tutorial003_an_py310.py hl[58:66,69:74,94] *}
    
    /// info | Bilgi
    
    Burada `Bearer` değerine sahip ek `WWW-Authenticate` header’ını döndürmemiz de spesifikasyonun bir parçasıdır.
    
    Herhangi bir HTTP (hata) durum kodu 401 "UNAUTHORIZED", ayrıca `WWW-Authenticate` header’ı da döndürmelidir.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 10.4K bytes
    - Click Count (0)
Back to Top