- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 564 for users4 (0.28 sec)
-
docs/en/docs/tutorial/bigger-applications.md
│ │ └── users.py # "users" submodule, e.g. import app.routers.users │ └── internal # "internal" is a "Python subpackage" │ ├── __init__.py # makes "internal" a "Python subpackage" │ └── admin.py # "admin" submodule, e.g. import app.internal.admin ``` ## `APIRouter` Let's say the file dedicated to handling just users is the submodule at `/app/routers/users.py`.
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 18.4K bytes - Viewed (0) -
cmd/iam-object-store_test.go
}{ {"format.json", false, "format.json", ""}, {"users/tester.json", false, "users/", "tester.json"}, {"groups/test/group.json", false, "groups/", "test/group.json"}, {"policydb/groups/testgroup.json", true, "policydb/groups/", "testgroup.json"}, { "policydb/sts-users/uid=slash/user,ou=people,ou=swengg,dc=min,dc=io.json", true, "policydb/sts-users/", "uid=slash/user,ou=people,ou=swengg,dc=min,dc=io.json", }, {
Registered: Sun Oct 27 19:28:09 UTC 2024 - Last Modified: Thu Oct 10 23:40:37 UTC 2024 - 2K bytes - Viewed (0) -
tests/test_security_http_bearer_description.py
security = HTTPBearer(description="HTTP Bearer token scheme") @app.get("/users/me") def read_current_user(credentials: HTTPAuthorizationCredentials = Security(security)): return {"scheme": credentials.scheme, "credentials": credentials.credentials} client = TestClient(app) def test_security_http_bearer(): response = client.get("/users/me", headers={"Authorization": "Bearer foobar"})
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Fri Jun 30 18:25:16 UTC 2023 - 2.2K bytes - Viewed (0) -
cmd/sts-handlers_test.go
case len(entities.UserMappings) != 1: c.Fatalf("Expected to find exactly one user mapping") case entities.UserMappings[0].User != testCase.expectedOutDN: c.Fatalf("Expected user DN `%s`, found `%s`", testCase.expectedOutDN, entities.UserMappings[0].User) case len(entities.UserMappings[0].Policies) != 1: c.Fatalf("Expected exactly one policy attached to user") case entities.UserMappings[0].Policies[0] != policy:
Registered: Sun Oct 27 19:28:09 UTC 2024 - Last Modified: Thu Oct 10 23:40:37 UTC 2024 - 97.1K bytes - Viewed (0) -
docs/pt/docs/tutorial/bigger-applications.md
O módulo `items` terá uma variável `router` (`items.router`). Esta é a mesma que criamos no arquivo `app/routers/items.py`, é um objeto `APIRouter`. E então fazemos o mesmo para o módulo `users`. Também poderíamos importá-los como: ```Python from app.routers import items, users ``` /// info | "Informação"
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 19.6K bytes - Viewed (0) -
architecture/ambient/ztunnel.md
CZ--"HBONE (actual)"-->SZ SZ--Plain-->Server ``` ### Pooling User connections can be multiplexed over shared HBONE connections. This is done through standard HTTP/2 pooling. The pooling is keyed off the `{source identity, destination identity, destination ip}`. ### Headers Ztunnel uses the following well-known headers in HBONE:
Registered: Wed Oct 30 22:53:10 UTC 2024 - Last Modified: Wed Jul 17 23:10:17 UTC 2024 - 16.8K bytes - Viewed (0) -
docs_src/metadata/tutorial004.py
from fastapi import FastAPI tags_metadata = [ { "name": "users", "description": "Operations with users. The **login** logic is also here.", }, { "name": "items", "description": "Manage items. So _fancy_ they have their own docs.", "externalDocs": { "description": "Items external docs", "url": "https://fastapi.tiangolo.com/", }, }, ]
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Sat Jun 13 11:58:06 UTC 2020 - 693 bytes - Viewed (0) -
tests/test_tutorial/test_security/test_tutorial003_an.py
def test_no_token(): response = client.get("/users/me") assert response.status_code == 401, response.text assert response.json() == {"detail": "Not authenticated"} assert response.headers["WWW-Authenticate"] == "Bearer" def test_token(): response = client.get("/users/me", headers={"Authorization": "Bearer johndoe"}) assert response.status_code == 200, response.text
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Fri Jul 07 17:12:13 UTC 2023 - 8K bytes - Viewed (0) -
docs/de/docs/tutorial/security/get-current-user.md
``` //// ## Den Benutzer holen `get_current_user` wird eine von uns erstellte (gefakte) Hilfsfunktion verwenden, welche einen Token vom Typ `str` entgegennimmt und unser Pydantic-`User`-Modell zurückgibt: //// tab | Python 3.10+ ```Python hl_lines="19-22 26-27" {!> ../../docs_src/security/tutorial002_an_py310.py!} ``` //// //// tab | Python 3.9+
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 8.3K bytes - Viewed (0) -
docs/ko/docs/tutorial/security/get-current-user.md
``` //// Pydantic 모델인 `User`로 `current_user`의 타입을 선언하는 것을 알아야 합니다. 이것은 모든 완료 및 타입 검사를 통해 함수 내부에서 우리를 도울 것입니다. /// tip | "팁" 요청 본문도 Pydantic 모델로 선언된다는 것을 기억할 것입니다. 여기서 **FastAPI**는 `Depends`를 사용하고 있기 때문에 혼동되지 않습니다. /// /// check | "확인" 이 의존성 시스템이 설계된 방식은 모두 `User` 모델을 반환하는 다양한 의존성(다른 "의존적인")을 가질 수 있도록 합니다.
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 5.6K bytes - Viewed (0)