- Sort Score
- Num 10 results
- Language All
Results 11 - 20 of 28 for tokentype (0.04 seconds)
-
docs_src/security/tutorial003_py310.py
if not hashed_password == user.hashed_password: raise HTTPException(status_code=400, detail="Incorrect username or password") return {"access_token": user.username, "token_type": "bearer"} @app.get("/users/me") async def read_users_me(current_user: User = Depends(get_current_active_user)):Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Mon Nov 24 19:03:06 GMT 2025 - 2.4K bytes - Click Count (0) -
docs/uk/docs/tutorial/security/simple-oauth2.md
/// ## Поверніть токен { #return-the-token } Відповідь точки входу `token` має бути об'єктом JSON. Вона повинна містити `token_type`. У нашому випадку, оскільки ми використовуємо токени «Bearer», тип токена має бути «`bearer`». Також має бути `access_token` зі строкою, що містить наш токен доступу.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:27:41 GMT 2026 - 15K bytes - Click Count (0) -
docs/ru/docs/tutorial/security/simple-oauth2.md
/// ## Возврат токена { #return-the-token } Ответ операции пути `/token` должен быть объектом JSON. В нём должен быть `token_type`. В нашем случае, поскольку мы используем токены типа "Bearer", тип токена должен быть `bearer`. И в нём должен быть `access_token` — строка, содержащая наш токен доступа.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 17:56:20 GMT 2026 - 16.2K bytes - Click Count (0) -
docs/fr/docs/tutorial/security/simple-oauth2.md
/// ## Renvoyer le jeton { #return-the-token } La réponse de l'endpoint `token` doit être un objet JSON. Il doit contenir un `token_type`. Dans notre cas, comme nous utilisons des jetons « Bearer », le type de jeton doit être « bearer ». Et il doit contenir un `access_token`, avec une chaîne contenant notre jeton d'accès.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:37:13 GMT 2026 - 11.2K bytes - Click Count (0) -
docs/pt/docs/tutorial/security/simple-oauth2.md
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:20:43 GMT 2026 - 10.2K bytes - Click Count (0) -
docs/de/docs/tutorial/security/simple-oauth2.md
## Den Token zurückgeben { #return-the-token } Die <abbr title="Response – Antwort: Daten, die der Server zum anfragenden Client zurücksendet">Response</abbr> des `token`-Endpunkts muss ein JSON-Objekt sein. Es sollte einen `token_type` haben. Da wir in unserem Fall „Bearer“-Token verwenden, sollte der Token-Typ „`bearer`“ sein. Und es sollte einen `access_token` haben, mit einem String, der unseren Zugriffstoken enthält.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 17:58:09 GMT 2026 - 11.1K bytes - Click Count (0) -
docs/en/docs/tutorial/security/simple-oauth2.md
/// ## Return the token { #return-the-token } The response of the `token` endpoint must be a JSON object. It should have a `token_type`. In our case, as we are using "Bearer" tokens, the token type should be "`bearer`". And it should have an `access_token`, with a string containing our access token.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 9.4K bytes - Click Count (0) -
docs/es/docs/tutorial/security/simple-oauth2.md
/// ## Devolver el token { #return-the-token } El response del endpoint `token` debe ser un objeto JSON. Debe tener un `token_type`. En nuestro caso, como estamos usando tokens "Bearer", el tipo de token debe ser "`bearer`". Y debe tener un `access_token`, con un string que contenga nuestro token de acceso.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:15:55 GMT 2026 - 10.2K bytes - Click Count (0) -
docs/zh-hant/docs/tutorial/security/simple-oauth2.md
) ``` /// info 想更完整地了解 `**user_dict`,請回到[**額外模型** 的文件](../extra-models.md#about-user-in-dict)。 /// ## 回傳 token { #return-the-token } `token` 端點的回應必須是 JSON 物件。 它應該有一個 `token_type`。在本例中,我們使用「Bearer」tokens,token 類型應該是「`bearer`」。 而且它還應該有一個 `access_token`,其值為包含我們存取權杖的字串。 在這個簡單示例中,我們會不安全地直接回傳相同的 `username` 當作 token。 /// tipCreated: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:05:38 GMT 2026 - 9.1K bytes - Click Count (0) -
docs/zh/docs/tutorial/security/simple-oauth2.md
) ``` /// info | 信息 `user_dict` 的说明,详见[**更多模型**一章](../extra-models.md#about-user-in-dict)。 /// ## 返回 Token { #return-the-token } `token` 端点的响应必须是 JSON 对象。 响应返回的内容应该包含 `token_type`。本例中用的是**Bearer**Token,因此, Token 类型应为**`bearer`**。 返回内容还应包含 `access_token` 字段,它是包含权限 Token 的字符串。 本例只是简单的演示,返回的 Token 就是 `username`,但这种方式极不安全。 /// tip | 提示Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:06:37 GMT 2026 - 9K bytes - Click Count (0)