- Sort Score
- Num 10 results
- Language All
Results 231 - 240 of 430 for user_me (0.05 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
docs_src/body_multiple_params/tutorial003_py310.py
from pydantic import BaseModel app = FastAPI() class Item(BaseModel): name: str description: str | None = None price: float tax: float | None = None class User(BaseModel): username: str full_name: str | None = None @app.put("/items/{item_id}") async def update_item(item_id: int, item: Item, user: User, importance: int = Body()):
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Fri May 13 23:38:22 GMT 2022 - 504 bytes - Click Count (0) -
docs/sts/ldap.go
flag.StringVar(&ldapUsername, "u", "", "AD/LDAP Username") flag.StringVar(&ldapPassword, "p", "", "AD/LDAP Password") flag.BoolVar(&displayCreds, "d", false, "Only show generated credentials") flag.DurationVar(&expiryDuration, "e", 0, "Request a duration of validity for the generated credential") flag.StringVar(&bucketToList, "b", "", "Bucket to list (defaults to ldap username)")
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Wed Aug 07 12:59:47 GMT 2024 - 4K bytes - Click Count (0) -
docs_src/openapi_webhooks/tutorial001_py39.py
from datetime import datetime from fastapi import FastAPI from pydantic import BaseModel app = FastAPI() class Subscription(BaseModel): username: str monthly_fee: float start_date: datetime @app.webhooks.post("new-subscription") def new_subscription(body: Subscription): """ When a new user subscribes to your service we'll send you a POST request with this
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 550 bytes - Click Count (0) -
helm/minio/templates/secrets.yaml
labels: app: {{ template "minio.name" . }} chart: {{ template "minio.chart" . }} release: {{ .Release.Name }} heritage: {{ .Release.Service }} type: Opaque data: rootUser: {{ include "minio.root.username" . | b64enc | quote }} rootPassword: {{ include "minio.root.password" . | b64enc | quote }} {{- if .Values.etcd.clientCert }} etcd_client.crt: {{ .Values.etcd.clientCert | toString | b64enc | quote }} {{- end }}Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Wed Apr 12 04:09:29 GMT 2023 - 706 bytes - Click Count (0) -
docs/sts/ldap.md
- User provides their AD/LDAP username and password to the STS API. - MinIO looks up the user's information (specifically the user's Distinguished Name) in the LDAP server. - On finding the user's info, MinIO verifies the login credentials with the AD/LDAP server.
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue Aug 12 18:20:36 GMT 2025 - 18.9K bytes - Click Count (0) -
docs_src/generate_clients/tutorial002_py39.py
from pydantic import BaseModel app = FastAPI() class Item(BaseModel): name: str price: float class ResponseMessage(BaseModel): message: str class User(BaseModel): username: str email: str @app.post("/items/", response_model=ResponseMessage, tags=["items"]) async def create_item(item: Item): return {"message": "Item received"}
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Fri Mar 04 22:02:18 GMT 2022 - 730 bytes - Click Count (0) -
tests/test_tutorial/test_security/test_tutorial002.py
def test_token(client: TestClient): response = client.get("/users/me", headers={"Authorization": "Bearer testtoken"}) assert response.status_code == 200, response.text assert response.json() == { "username": "testtokenfakedecoded", "email": "******@****.***", "full_name": "John Doe", "disabled": None, } def test_openapi_schema(client: TestClient):
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Fri Dec 26 10:43:02 GMT 2025 - 2.2K bytes - Click Count (0) -
src/test/java/jcifs/smb/JAASAuthenticatorTest.java
// Exercise callback handler with both callbacks supplied Callback[] cbs = new Callback[] { nc, pc }; auth.handle(cbs); // Name should be formatted as username@domain assertEquals("user@DOM", nc.getName()); // Password should be set assertEquals("pass", new String(pc.getPassword())); } @TestCreated: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 9.9K bytes - Click Count (0) -
docs/ru/docs/tutorial/security/oauth2-jwt.md
Используя учетные данные пользователя: Username: `johndoe` Password: `secret` /// check | Проверка Обратите внимание, что нигде в коде не используется открытый текст пароля "`secret`", мы используем только его хэшированную версию. /// <img src="/img/tutorial/security/image08.png"> Вызвав эндпоинт `/users/me/`, вы получите ответ в виде: ```JSON { "username": "johndoe", "email": "******@****.***",
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Tue Sep 30 11:24:39 GMT 2025 - 19.1K bytes - Click Count (0) -
cmd/admin-handlers-idp-ldap.go
// We still need to ensure that the target user is a valid LDAP user. // // The target user may be supplied as a (short) username or a DN. // However, for now, we only support using the short username. isDN := globalIAMSys.LDAPConfig.ParsesAsDN(targetUser) opts.claims[ldapUserN] = targetUser // simple username var lookupResult *xldap.DNSearchResult lookupResult, targetGroups, err = globalIAMSys.LDAPConfig.LookupUserDN(targetUser)
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 08 02:46:04 GMT 2025 - 19.2K bytes - Click Count (0)