Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 179 for incorrectos (0.05 sec)

  1. tests/test_tutorial/test_security/test_tutorial003.py

    
    def test_login_incorrect_password(client: TestClient):
        response = client.post(
            "/token", data={"username": "johndoe", "password": "incorrect"}
        )
        assert response.status_code == 400, response.text
        assert response.json() == {"detail": "Incorrect username or password"}
    
    
    def test_login_incorrect_username(client: TestClient):
        response = client.post("/token", data={"username": "foo", "password": "secret"})
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  2. tests/test_tutorial/test_security/test_tutorial007.py

        assert response.json() == {"detail": "Incorrect username or password"}
        assert response.headers["WWW-Authenticate"] == "Basic"
    
    
    def test_security_http_basic_invalid_password(client: TestClient):
        response = client.get("/users/me", auth=("stanleyjobson", "wrongpassword"))
        assert response.status_code == 401, response.text
        assert response.json() == {"detail": "Incorrect username or password"}
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 10:43:02 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  3. docs_src/security/tutorial003_py310.py

        if not user_dict:
            raise HTTPException(status_code=400, detail="Incorrect username or password")
        user = UserInDB(**user_dict)
        hashed_password = fake_hash_password(form_data.password)
        if not hashed_password == user.hashed_password:
            raise HTTPException(status_code=400, detail="Incorrect username or password")
    
        return {"access_token": user.username, "token_type": "bearer"}
    
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 24 19:03:06 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  4. compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t10/ProjectInheritanceTest.java

            assertTrue(a.getScope().equals("test"), "Incorrect scope for " + a.getDependencyConflictId());
    
            // transitive dep, overridden b depMgmt
            assertTrue(b.getScope().equals("runtime"), "Incorrect scope for " + b.getDependencyConflictId());
    
            // direct dep, overrides depMgmt
            assertTrue(c.getScope().equals("runtime"), "Incorrect scope for " + c.getDependencyConflictId());
        }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jul 23 17:27:08 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  5. docs/de/docs/advanced/security/http-basic-auth.md

    #### Die Zeit zum Antworten hilft den Angreifern { #the-time-to-answer-helps-the-attackers }
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Sep 20 15:10:09 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  6. docs/en/docs/advanced/security/http-basic-auth.md

    #### The time to answer helps the attackers { #the-time-to-answer-helps-the-attackers }
    
    At that point, by noticing that the server took some microseconds longer to send the "Incorrect username or password" response, the attackers will know that they got _something_ right, some of the initial letters were right.
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 5K bytes
    - Viewed (0)
  7. docs_src/security/tutorial003_an_py310.py

        if not user_dict:
            raise HTTPException(status_code=400, detail="Incorrect username or password")
        user = UserInDB(**user_dict)
        hashed_password = fake_hash_password(form_data.password)
        if not hashed_password == user.hashed_password:
            raise HTTPException(status_code=400, detail="Incorrect username or password")
    
        return {"access_token": user.username, "token_type": "bearer"}
    
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 24 19:03:06 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/NtStatus.java

                "A device attached to the system is not functioning.", "Incorrect function.", "The parameter is incorrect.",
                "Invalid access to memory location.", "The handle is invalid.", "The parameter is incorrect.",
                "The system cannot find the file specified.", "The system cannot find the file specified.", "End of file",
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 14.9K bytes
    - Viewed (0)
  9. docs/es/docs/tutorial/body.md

    * Leer el body del request como JSON.
    * Convertir los tipos correspondientes (si es necesario).
    * Validar los datos.
        * Si los datos son inválidos, devolverá un error claro e indicado, señalando exactamente dónde y qué fue lo incorrecto.
    * Proporcionar los datos recibidos en el parámetro `item`.
        * Como lo declaraste en la función como de tipo `Item`, también tendrás todo el soporte del editor (autocompletado, etc.) para todos los atributos y sus tipos.
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/NtStatus.java

         */
        String[] NT_STATUS_MESSAGES = { "The operation completed successfully.", "A device attached to the system is not functioning.",
                "Incorrect function.", "The parameter is incorrect.", "Invalid access to memory location.", "The handle is invalid.",
                "The parameter is incorrect.", "The system cannot find the file specified.", "The system cannot find the file specified.",
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 13.2K bytes
    - Viewed (0)
Back to top