Search Options

Results per page
Sort
Preferred Languages
Advance

Results 331 - 340 of 402 for Secret (0.56 sec)

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

    #### Fix it with `secrets.compare_digest()` { #fix-it-with-secrets-compare-digest }
    
    But in our code we are actually using `secrets.compare_digest()`.
    
    In short, it will take the same time to compare `stanleyjobsox` to `stanleyjobson` than it takes to compare `johndoe` to `stanleyjobson`. And the same for the password.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 5K bytes
    - Viewed (0)
  2. .github/workflows/people.yml

            with:
              limit-access-to-actor: true
            env:
              GITHUB_TOKEN: ${{ secrets.FASTAPI_PEOPLE }}
          - name: FastAPI People Experts
            run: python ./scripts/people.py
            env:
              GITHUB_TOKEN: ${{ secrets.FASTAPI_PEOPLE }}
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Nov 21 13:03:21 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  3. docs_src/security/tutorial007_an_py39.py

            current_username_bytes, correct_username_bytes
        )
        current_password_bytes = credentials.password.encode("utf8")
        correct_password_bytes = b"swordfish"
        is_correct_password = secrets.compare_digest(
            current_password_bytes, correct_password_bytes
        )
        if not (is_correct_username and is_correct_password):
            raise HTTPException(
                status_code=status.HTTP_401_UNAUTHORIZED,
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Mar 26 16:56:53 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  4. .github/workflows/notify-translations.yml

            with:
              limit-access-to-actor: true
            env:
              GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
          - name: Notify Translations
            run: python ./scripts/notify_translations.py
            env:
              GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
              NUMBER: ${{ github.event.inputs.number || null }}
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Nov 21 13:03:21 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  5. docs/es/docs/advanced/security/http-basic-auth.md

    #### Arréglalo con `secrets.compare_digest()` { #fix-it-with-secrets-compare-digest }
    
    Pero en nuestro código estamos usando realmente `secrets.compare_digest()`.
    
    En resumen, tomará el mismo tiempo comparar `stanleyjobsox` con `stanleyjobson` que comparar `johndoe` con `stanleyjobson`. Y lo mismo para la contraseña.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Dec 16 16:33:45 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  6. .github/workflows/translate.yml

            env:
              GITHUB_TOKEN: ${{ secrets.FASTAPI_TRANSLATIONS }}
              OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
          - name: FastAPI Translate
            run: |
              python ./scripts/translate.py ${{ matrix.command }}
              python ./scripts/translate.py make-pr
            env:
              GITHUB_TOKEN: ${{ secrets.FASTAPI_TRANSLATIONS }}
              OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:48:45 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  7. 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.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Sep 20 15:10:09 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  8. 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.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Nov 12 16:23:57 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  9. 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
    
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Dec 16 12:34:01 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  10. .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:
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Nov 21 13:03:21 UTC 2025
    - 1.5K bytes
    - Viewed (0)
Back to top