- Sort Score
- Num 10 results
- Language All
Results 291 - 300 of 649 for usernames (0.44 seconds)
-
docs_src/response_model/tutorial002_py310.py
from fastapi import FastAPI from pydantic import BaseModel, EmailStr app = FastAPI() class UserIn(BaseModel): username: str password: str email: EmailStr full_name: str | None = None # Don't do this in production! @app.post("/user/") async def create_user(user: UserIn) -> UserIn:
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Jan 07 13:45:48 GMT 2023 - 318 bytes - Click Count (0) -
docs/uk/docs/tutorial/security/get-current-user.md
Але ви не обмежені використанням якоїсь конкретної модели даних, класу чи типу. Хочете мати id та email і не мати жодного username у вашій моделі? Без проблем. Ви можете використовувати ті самі інструменти. Хочете мати просто `str`? Або лише `dict`? Або безпосередньо екземпляр класу моделі бази даних? Усе працює так само.
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Feb 14 08:43:14 GMT 2026 - 6.7K bytes - Click Count (0) -
docs/uk/docs/tutorial/body-multiple-params.md
```JSON { "item": { "name": "Foo", "description": "The pretender", "price": 42.0, "tax": 3.2 }, "user": { "username": "dave", "full_name": "Dave Grohl" } } ``` /// note | Примітка Зверніть увагу, що хоча `item` оголошено так само, як і раніше, тепер він очікується всередині тіла з ключем `item`. ///Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Feb 13 12:42:01 GMT 2026 - 7.3K bytes - Click Count (0) -
docs/ja/docs/advanced/security/http-basic-auth.md
これに対処するため、まず `username` と `password` を UTF-8 でエンコードして `bytes` に変換します。 そのうえで、`secrets.compare_digest()` を使って、`credentials.username` が `"stanleyjobson"` であり、`credentials.password` が `"swordfish"` であることを確認します。 {* ../../docs_src/security/tutorial007_an_py310.py hl[1,12:24] *} これは次のようなコードに相当します: ```Python if not (credentials.username == "stanleyjobson") or not (credentials.password == "swordfish"):
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 14:07:17 GMT 2026 - 6.4K bytes - Click Count (0) -
docs/zh-hant/docs/tutorial/body-multiple-params.md
因此,它會使用參數名稱作為 body 中的鍵(欄位名稱),並期望如下的主體: ```JSON { "item": { "name": "Foo", "description": "The pretender", "price": 42.0, "tax": 3.2 }, "user": { "username": "dave", "full_name": "Dave Grohl" } } ``` /// note | 注意 儘管 `item` 的宣告方式與先前相同,現在預期它會位於 body 內,且鍵為 `item`。 /// **FastAPI** 會自動從請求中進行轉換,讓參數 `item` 收到對應內容,`user` 亦同。Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Feb 14 08:15:26 GMT 2026 - 4.6K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/pager/FileAuthPager.java
public String id; /** The port number for the file authentication connection. */ public String port; /** The username for file authentication. */ public String username; /** The file configuration ID associated with this authentication. */ public String fileConfigId; /** The user who created this file authentication entry. */Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 7K bytes - Click Count (0) -
src/test/java/jcifs/pac/kerberos/KerberosTicketTest.java
/** * Creates a byte array representing the decrypted data part of a Kerberos ticket. * @param userName User principal name * @param userRealm User realm * @return A byte array representing the decrypted data * @throws IOException on encoding error */ private byte[] createDecryptedDataBytes(String userName, String userRealm) throws IOException { ASN1EncodableVector v = new ASN1EncodableVector();Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.4K bytes - Click Count (0) -
docs_src/body_multiple_params/tutorial004_an_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: Annotated[int, Body(gt=0)],
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Mar 18 12:29:59 GMT 2023 - 643 bytes - Click Count (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/configuration/SettingsXmlConfigurationProcessor.java
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Sat Apr 19 18:49:57 GMT 2025 - 12K 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 Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 08 02:46:04 GMT 2025 - 19.2K bytes - Click Count (0)