Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 141 - 150 of 399 for secret2 (0.1 seconds)

  1. tests/test_tutorial/test_bigger_applications/test_main.py

            "/items?token=jessica", headers={"X-Token": "fake-super-secret-token"}
        )
        assert response.status_code == 200
        assert response.json() == {
            "plumbus": {"name": "Plumbus"},
            "gun": {"name": "Portal Gun"},
        }
    
    
    def test_items_with_no_token_jessica(client: TestClient):
        response = client.get("/items", headers={"X-Token": "fake-super-secret-token"})
        assert response.status_code == 422
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 21.3K bytes
    - Click Count (0)
  2. docs/de/docs/advanced/security/http-basic-auth.md

    Verwenden Sie eine Abhängigkeit, um zu überprüfen, ob Benutzername und Passwort korrekt sind.
    
    Verwenden Sie dazu das Python-Standardmodul <a href="https://docs.python.org/3/library/secrets.html" class="external-link" target="_blank">`secrets`</a>, um den Benutzernamen und das Passwort zu überprüfen.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Sep 20 15:10:09 GMT 2025
    - 6.2K bytes
    - Click Count (0)
  3. src/main/java/jcifs/audit/SecurityAuditLogger.java

                if (!lowerData.contains("password") && !lowerData.contains("secret") && !lowerData.contains("token")
                        && !lowerData.contains("key") && !lowerData.contains("credential") && !lowerData.contains("auth")) {
                    return data; // No sensitive patterns detected, skip regex
                }
            }
    
            // Mask passwords and secrets using cached pattern
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 26.6K bytes
    - Click Count (0)
  4. docs/pt/docs/advanced/security/http-basic-auth.md

    #### Corrija com o `secrets.compare_digest()` { #fix-it-with-secrets-compare-digest }
    
    Mas em nosso código já estamos utilizando o `secrets.compare_digest()`.
    
    Resumindo, levará o mesmo tempo para comparar `stanleyjobsox` com `stanleyjobson` do que comparar `johndoe` com `stanleyjobson`. E o mesmo para a senha.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Nov 12 16:23:57 GMT 2025
    - 5.3K bytes
    - Click Count (0)
  5. tests/test_tutorial/test_security/test_tutorial003.py

        client = TestClient(mod.app)
        return client
    
    
    def test_login(client: TestClient):
        response = client.post("/token", data={"username": "johndoe", "password": "secret"})
        assert response.status_code == 200, response.text
        assert response.json() == {"access_token": "johndoe", "token_type": "bearer"}
    
    
    def test_login_incorrect_password(client: TestClient):
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 7.7K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/hash/Hashing.java

       * MD5 (128 hash bits) hash function and the given secret key.
       *
       * <p>If you are designing a new system that needs HMAC, prefer {@link #hmacSha256} or other
       * future-proof algorithms <a
       * href="https://datatracker.ietf.org/doc/html/rfc6151#section-2.3">over {@code hmacMd5}</a>.
       *
       * @param key the secret key
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Jul 17 15:26:41 GMT 2025
    - 29.8K bytes
    - Click Count (0)
  7. scripts/topic_repos.py

    import logging
    import secrets
    import subprocess
    from pathlib import Path
    
    import yaml
    from github import Github
    from pydantic import BaseModel, SecretStr
    from pydantic_settings import BaseSettings
    
    
    class Settings(BaseSettings):
        github_repository: str
        github_token: SecretStr
    
    
    class Repo(BaseModel):
        name: str
        html_url: str
        stars: int
        owner_login: str
        owner_html_url: str
    
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Dec 16 12:34:01 GMT 2025
    - 2.7K bytes
    - Click Count (0)
  8. .github/workflows/contributors.yml

            with:
              limit-access-to-actor: true
            env:
              GITHUB_TOKEN: ${{ secrets.FASTAPI_PR_TOKEN }}
          - name: FastAPI People Contributors
            run: python ./scripts/contributors.py
            env:
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Nov 21 13:03:21 GMT 2025
    - 1.5K bytes
    - Click Count (0)
  9. .github/workflows/sponsors.yml

            with:
              limit-access-to-actor: true
          - name: FastAPI People Sponsors
            run: python ./scripts/sponsors.py
            env:
              SPONSORS_TOKEN: ${{ secrets.SPONSORS_TOKEN }}
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Nov 21 13:03:21 GMT 2025
    - 1.5K bytes
    - Click Count (0)
  10. tests/test_tutorial/test_request_form_models/test_tutorial002.py

        response = client.post("/login/", data={"username": "Foo", "password": "secret"})
        assert response.status_code == 200
        assert response.json() == {"username": "Foo", "password": "secret"}
    
    
    def test_post_body_extra_form(client: TestClient):
        response = client.post(
            "/login/", data={"username": "Foo", "password": "secret", "extra": "extra"}
        )
        assert response.status_code == 422
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 20 15:55:38 GMT 2025
    - 6.2K bytes
    - Click Count (0)
Back to Top