Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for stanleyjobsox (0.07 sec)

  1. docs/pt/docs/advanced/security/http-basic-auth.md

    Então os invasores vão tentar com o usuário `stanleyjobsox` e a senha `love123`.
    
    E a sua aplicação faz algo como:
    
    ```Python
    if "stanleyjobsox" == "stanleyjobson" and "love123" == "swordfish":
        ...
    ```
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Nov 12 16:23:57 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  2. docs/es/docs/advanced/security/http-basic-auth.md

    Pero luego los atacantes prueban con el nombre de usuario `stanleyjobsox` y contraseña `love123`.
    
    Y el código de tu aplicación hace algo así como:
    
    ```Python
    if "stanleyjobsox" == "stanleyjobson" and "love123" == "swordfish":
        ...
    ```
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Dec 16 16:33:45 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  3. docs/ru/docs/advanced/security/http-basic-auth.md

    Затем злоумышленники попробуют имя пользователя `stanleyjobsox` и пароль `love123`.
    
    И ваш код сделает что-то вроде:
    
    ```Python
    if "stanleyjobsox" == "stanleyjobson" and "love123" == "swordfish":
        ...
    ```
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Sep 30 11:37:11 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  4. tests/test_tutorial/test_security/test_tutorial007.py

        return TestClient(mod.app)
    
    
    def test_security_http_basic(client: TestClient):
        response = client.get("/users/me", auth=("stanleyjobson", "swordfish"))
        assert response.status_code == 200, response.text
        assert response.json() == {"username": "stanleyjobson"}
    
    
    def test_security_http_basic_no_credentials(client: TestClient):
        response = client.get("/users/me")
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 10:43:02 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  5. docs_src/security/tutorial007_py39.py

    app = FastAPI()
    
    security = HTTPBasic()
    
    
    def get_current_username(credentials: HTTPBasicCredentials = Depends(security)):
        current_username_bytes = credentials.username.encode("utf8")
        correct_username_bytes = b"stanleyjobson"
        is_correct_username = secrets.compare_digest(
            current_username_bytes, correct_username_bytes
        )
        current_password_bytes = credentials.password.encode("utf8")
        correct_password_bytes = b"swordfish"
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 1.1K bytes
    - Viewed (0)
Back to top