Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for inactivo (0.04 sec)

  1. docs/es/docs/tutorial/security/simple-oauth2.md

    {
      "detail": "Not authenticated"
    }
    ```
    
    ### Usuario inactivo { #inactive-user }
    
    Ahora prueba con un usuario inactivo, autentícate con:
    
    Usuario: `alice`
    
    Contraseña: `secret2`
    
    Y trata de usar la operación `GET` con la path `/users/me`.
    
    Obtendrás un error de "Usuario inactivo", como:
    
    ```JSON
    {
      "detail": "Inactive user"
    }
    ```
    
    ## Recapitulación { #recap }
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Dec 16 16:33:45 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  2. src/main/resources/fess_label_es.properties

    labels.scheduledjob_scriptData=Script
    labels.scheduledjob_jobLogging=Registro
    labels.scheduledjob_crawler=Trabajo de rastreador
    labels.scheduledjob_running=En ejecución
    labels.scheduledjob_active=Activo
    labels.scheduledjob_nojob=Inactivo
    labels.scheduledjob_button_start=Iniciar ahora
    labels.scheduledjob_button_stop=Detener
    labels.joblog_button_back=Volver
    labels.joblog_button_delete=Eliminar
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Dec 13 02:21:17 UTC 2025
    - 49K bytes
    - Viewed (0)
  3. docs/es/docs/async.md

    ///
    
    ---
    
    Imagina que eres la computadora / programa 🤖 en esa historia.
    
    Mientras estás en la fila, estás inactivo 😴, esperando tu turno, sin hacer nada muy "productivo". Pero la fila es rápida porque el cajero solo está tomando los pedidos (no preparándolos), así que está bien.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 10:15:01 UTC 2025
    - 25.4K bytes
    - Viewed (0)
  4. docs_src/security/tutorial003_py39.py

            )
        return user
    
    
    async def get_current_active_user(current_user: User = Depends(get_current_user)):
        if current_user.disabled:
            raise HTTPException(status_code=400, detail="Inactive user")
        return current_user
    
    
    @app.post("/token")
    async def login(form_data: OAuth2PasswordRequestForm = Depends()):
        user_dict = fake_users_db.get(form_data.username)
        if not user_dict:
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/helper/JobHelper.java

            }
    
            final String id = scheduledJob.getId();
            if (!Constants.T.equals(scheduledJob.getAvailable())) {
                logger.info("Inactive Job: id={}, name={}", id, scheduledJob.getName());
                try {
                    unregister(scheduledJob);
                } catch (final Exception e) {
                    if (logger.isDebugEnabled()) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  6. tests/test_tutorial/test_security/test_tutorial003.py

    
    def test_inactive_user(client: TestClient):
        response = client.get("/users/me", headers={"Authorization": "Bearer alice"})
        assert response.status_code == 400, response.text
        assert response.json() == {"detail": "Inactive user"}
    
    
    def test_openapi_schema(client: TestClient):
        response = client.get("/openapi.json")
        assert response.status_code == 200, response.text
        assert response.json() == {
            "openapi": "3.1.0",
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  7. docs_src/security/tutorial004_py39.py

        return user
    
    
    async def get_current_active_user(current_user: User = Depends(get_current_user)):
        if current_user.disabled:
            raise HTTPException(status_code=400, detail="Inactive user")
        return current_user
    
    
    @app.post("/token")
    async def login_for_access_token(
        form_data: OAuth2PasswordRequestForm = Depends(),
    ) -> Token:
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  8. docs/pt/docs/advanced/websockets.md

    E para comunicar usando WebSockets com seu backend, você provavelmente usaria as utilidades do seu frontend.
    
    Ou você pode ter um aplicativo móvel nativo que se comunica diretamente com seu backend WebSocket, em código nativo.
    
    Ou você pode ter qualquer outra forma de comunicar com o endpoint WebSocket.
    
    ---
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 6K bytes
    - Viewed (0)
  9. tests/test_tutorial/test_security/test_tutorial005.py

        )
        response = client.get(
            "/users/me", headers={"Authorization": f"Bearer {access_token}"}
        )
        assert response.status_code == 400, response.text
        assert response.json() == {"detail": "Inactive user"}
    
    
    def test_read_items(mod: ModuleType):
        client = TestClient(mod.app)
        access_token = get_access_token(scope="me items", client=client)
        response = client.get(
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  10. tests/test_tutorial/test_security/test_tutorial004.py

            response = client.get(
                "/users/me", headers={"Authorization": f"Bearer {access_token}"}
            )
        assert response.status_code == 400, response.text
        assert response.json() == {"detail": "Inactive user"}
    
    
    def test_read_items(mod: ModuleType):
        client = TestClient(mod.app)
        access_token = get_access_token(client=client)
        response = client.get(
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 10:43:02 UTC 2025
    - 13.3K bytes
    - Viewed (0)
Back to top