- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 95 for stopTs (0.03 sec)
-
docs/es/docs/advanced/security/oauth2-scopes.md
No obstante, tú aún impones esos scopes, o cualquier otro requisito de seguridad/autorización, como necesites, en tu código. En muchos casos, OAuth2 con scopes puede ser un exceso. Pero si sabes que lo necesitas, o tienes curiosidad, sigue leyendo. /// ## Scopes de OAuth2 y OpenAPI { #oauth2-scopes-and-openapi }Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 10:15:01 UTC 2025 - 14.2K bytes - Viewed (0) -
docs/es/docs/tutorial/security/first-steps.md
# Seguridad - Primeros pasos { #security-first-steps } Imaginemos que tienes tu API de **backend** en algún dominio. Y tienes un **frontend** en otro dominio o en un path diferente del mismo dominio (o en una aplicación móvil). Y quieres tener una forma para que el frontend se autentique con el backend, usando un **username** y **password**. Podemos usar **OAuth2** para construir eso con **FastAPI**.Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Tue Dec 16 16:33:45 UTC 2025 - 8.9K bytes - Viewed (0) -
docs/ru/docs/tutorial/first-steps.md
# Первые шаги { #first-steps } Самый простой файл FastAPI может выглядеть так: {* ../../docs_src/first_steps/tutorial001_py39.py *} Скопируйте это в файл `main.py`. Запустите сервер в режиме реального времени: <div class="termy"> ```console $ <font color="#4E9A06">fastapi</font> dev <u style="text-decoration-style:solid">main.py</u>Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 17.7K bytes - Viewed (0) -
docs/pt/docs/tutorial/first-steps.md
# Primeiros Passos { #first-steps } O arquivo FastAPI mais simples pode se parecer com: {* ../../docs_src/first_steps/tutorial001_py39.py *} Copie o conteúdo para um arquivo `main.py`. Execute o servidor: <div class="termy"> ```console $ <font color="#4E9A06">fastapi</font> dev <u style="text-decoration-style:solid">main.py</u>Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 13.6K bytes - Viewed (0) -
docs/es/docs/tutorial/first-steps.md
# Primeros Pasos { #first-steps } El archivo FastAPI más simple podría verse así: {* ../../docs_src/first_steps/tutorial001_py39.py *} Copia eso en un archivo `main.py`. Ejecuta el servidor en vivo: <div class="termy"> ```console $ <font color="#4E9A06">fastapi</font> dev <u style="text-decoration-style:solid">main.py</u>Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 13.3K bytes - Viewed (0) -
docs/en/docs/tutorial/first-steps.md
# First Steps { #first-steps } The simplest FastAPI file could look like this: {* ../../docs_src/first_steps/tutorial001_py39.py *} Copy that to a file `main.py`. Run the live server: <div class="termy"> ```console $ <font color="#4E9A06">fastapi</font> dev <u style="text-decoration-style:solid">main.py</u> <span style="background-color:#009485"><font color="#D3D7CF"> FastAPI </font></span> Starting development server 🚀Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 12.8K bytes - Viewed (0) -
docs/de/docs/tutorial/first-steps.md
# Erste Schritte { #first-steps } Die einfachste FastAPI-Datei könnte wie folgt aussehen: {* ../../docs_src/first_steps/tutorial001_py39.py *} Kopieren Sie das in eine Datei `main.py`. Starten Sie den Live-Server: <div class="termy"> ```console $ <font color="#4E9A06">fastapi</font> dev <u style="text-decoration-style:solid">main.py</u>Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 14.3K bytes - Viewed (0) -
.github/workflows/ci.yml
include: - os: windows-latest java: 21 root-pom: pom.xml runs-on: ${{ matrix.os }} env: ROOT_POM: ${{ matrix.root-pom }} steps: # Cancel any previous runs for the same branch that are still running. - name: 'Cancel previous runs' uses: styfle/cancel-workflow-action@85880fa0301c86cca9da44039ee3bb12d3bedbfa # 0.12.1 with:Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Dec 01 19:32:55 UTC 2025 - 4.7K bytes - Viewed (0) -
tests/test_dependency_paramless.py
return {"token": credentials, "scopes": security_scopes.scopes} @app.get("/get-credentials") def get_credentials( credentials: Annotated[dict, Security(process_auth, scopes=["a", "b"])], ): return credentials @app.get( "/parameterless-with-scopes", dependencies=[Security(process_auth, scopes=["a", "b"])], ) def get_parameterless_with_scopes(): return {"status": "ok"} @app.get(Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 21:25:59 UTC 2025 - 2.3K bytes - Viewed (0) -
tests/test_security_scopes_dont_propagate.py
from fastapi.testclient import TestClient async def security1(scopes: SecurityScopes): return scopes.scopes async def security2(scopes: SecurityScopes): return scopes.scopes async def dep3( dep1: Annotated[list[str], Security(security1, scopes=["scope1"])], dep2: Annotated[list[str], Security(security2, scopes=["scope2"])], ): return {"dep1": dep1, "dep2": dep2} app = FastAPI()
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 21:25:59 UTC 2025 - 973 bytes - Viewed (0)