Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 104 for inactive (0.35 sec)

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

    ```JSON
    {
      "detail": "Not authenticated"
    }
    ```
    
    ### Inactive user
    
    Now try with an inactive user, authenticate with:
    
    User: `alice`
    
    Password: `secret2`
    
    And try to use the operation `GET` with the path `/users/me`.
    
    You will get an "Inactive user" error, like:
    
    ```JSON
    {
      "detail": "Inactive user"
    }
    ```
    
    ## Recap
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  2. docs/de/docs/tutorial/security/simple-oauth2.md

    }
    ```
    
    ### Inaktiver Benutzer
    
    Versuchen Sie es nun mit einem inaktiven Benutzer und authentisieren Sie sich mit:
    
    Benutzer: `alice`.
    
    Passwort: `secret2`.
    
    Und versuchen Sie, die Operation `GET` mit dem Pfad `/users/me` zu verwenden.
    
    Sie erhalten die Fehlermeldung „Inactive user“:
    
    ```JSON
    {
      "detail": "Inactive user"
    }
    ```
    
    ## Zusammenfassung
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Mar 30 18:08:44 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  3. pkg/kubelet/cm/dra/manager.go

    	// the actual active pods list.
    	if m.sourcesReady == nil || !m.sourcesReady.AllReady() {
    		return
    	}
    
    	// Get the full list of active pods.
    	activePods := sets.New[string]()
    	for _, p := range m.activePods() {
    		activePods.Insert(string(p.UID))
    	}
    
    	// Get the list of inactive pods still referenced by any claimInfos.
    	type podClaims struct {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 03 13:23:29 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  4. docs/ko/docs/tutorial/security/simple-oauth2.md

    }
    ```
    
    ### 비활성된 유저
    
    이제 비활성된 사용자로 시도하고, 인증해봅시다:
    
    유저명: `alice`
    
    패스워드: `secret2`
    
    그리고 `/users/me` 경로와 함께 `GET` 작업을 사용해 봅시다.
    
    다음과 같은 "Inactive user" 오류가 발생합니다:
    
    ```JSON
    {
      "detail": "Inactive user"
    }
    ```
    
    ## 요약
    
    이제 API에 대한 `username` 및 `password`를 기반으로 완전한 보안 시스템을 구현할 수 있는 도구가 있습니다.
    
    이러한 도구를 사용하여 보안 시스템을 모든 데이터베이스 및 모든 사용자 또는 데이터 모델과 호환되도록 만들 수 있습니다.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Tue Apr 02 22:37:23 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  5. tests/test_tutorial/test_security/test_tutorial005_an.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():
        access_token = get_access_token(scope="me items")
        response = client.get(
            "/users/me/items/", headers={"Authorization": f"Bearer {access_token}"}
        )
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Wed Mar 13 19:07:10 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  6. tests/test_tutorial/test_security/test_tutorial005_py310.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"}
    
    
    @needs_py310
    def test_read_items(client: TestClient):
        access_token = get_access_token(scope="me items", client=client)
        response = client.get(
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Wed Mar 13 19:07:10 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  7. tests/test_tutorial/test_security/test_tutorial005_py39.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"}
    
    
    @needs_py39
    def test_read_items(client: TestClient):
        access_token = get_access_token(scope="me items", client=client)
        response = client.get(
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Wed Mar 13 19:07:10 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  8. 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():
        access_token = get_access_token(scope="me items")
        response = client.get(
            "/users/me/items/", headers={"Authorization": f"Bearer {access_token}"}
        )
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Wed Mar 13 19:07:10 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  9. tests/test_tutorial/test_security/test_tutorial005_an_py310.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"}
    
    
    @needs_py310
    def test_read_items(client: TestClient):
        access_token = get_access_token(scope="me items", client=client)
        response = client.get(
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Wed Mar 13 19:07:10 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  10. tests/test_tutorial/test_security/test_tutorial005_an_py39.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"}
    
    
    @needs_py39
    def test_read_items(client: TestClient):
        access_token = get_access_token(scope="me items", client=client)
        response = client.get(
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Wed Mar 13 19:07:10 UTC 2024
    - 16.3K bytes
    - Viewed (0)
Back to top