- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 14 for autosize (0.19 sec)
-
docs/en/docs/tutorial/security/first-steps.md
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Wed Mar 13 19:02:19 GMT 2024 - 8.9K bytes - Viewed (0) -
docs/en/docs/tutorial/security/oauth2-jwt.md
You'll see the user interface like: <img src="/img/tutorial/security/image07.png"> Authorize the application the same way as before. Using the credentials: Username: `johndoe` Password: `secret` !!! check
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 13K bytes - Viewed (0) -
docs/ja/docs/tutorial/security/first-steps.md
次のインタラクティブなドキュメントにアクセスしてください: <a href="http://127.0.0.1:8000/docs" class="external-link" target="_blank">http://127.0.0.1:8000/docs</a>。 下記のように見えるでしょう: <img src="/img/tutorial/security/image01.png"> !!! check "Authorizeボタン!" すでにピカピカの新しい「Authorize」ボタンがあります。 そして、あなたの*path operation*には、右上にクリックできる小さな鍵アイコンがあります。 それをクリックすると、`ユーザー名`と`パスワード` (およびその他のオプションフィールド) を入力する小さな認証フォームが表示されます: <img src="/img/tutorial/security/image02.png">
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 10.5K bytes - Viewed (0) -
docs/zh/docs/tutorial/security/simple-oauth2.md
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 8.8K bytes - Viewed (0) -
tests/test_security_oauth2_authorization_code_bearer.py
from fastapi import FastAPI, Security from fastapi.security import OAuth2AuthorizationCodeBearer from fastapi.testclient import TestClient app = FastAPI() oauth2_scheme = OAuth2AuthorizationCodeBearer( authorizationUrl="authorize", tokenUrl="token", auto_error=True ) @app.get("/items/") async def read_items(token: Optional[str] = Security(oauth2_scheme)): return {"token": token} client = TestClient(app)
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Fri Jun 30 18:25:16 GMT 2023 - 2.3K bytes - Viewed (0) -
docs/de/docs/tutorial/security/first-steps.md
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Sat Mar 30 18:07:08 GMT 2024 - 10.3K bytes - Viewed (0) -
tests/test_security_oauth2_authorization_code_bearer_description.py
from fastapi import FastAPI, Security from fastapi.security import OAuth2AuthorizationCodeBearer from fastapi.testclient import TestClient app = FastAPI() oauth2_scheme = OAuth2AuthorizationCodeBearer( authorizationUrl="authorize", tokenUrl="token", description="OAuth2 Code Bearer", auto_error=True, ) @app.get("/items/") async def read_items(token: Optional[str] = Security(oauth2_scheme)): return {"token": token}
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Fri Jun 30 18:25:16 GMT 2023 - 2.4K bytes - Viewed (0) -
docs/zh/docs/tutorial/security/first-steps.md
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Wed Mar 13 19:02:19 GMT 2024 - 7.4K bytes - Viewed (0) -
docs/ru/docs/tutorial/security/first-steps.md
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Wed Mar 13 19:02:19 GMT 2024 - 15.4K bytes - Viewed (0) -
docs/en/docs/advanced/security/oauth2-scopes.md
```Python hl_lines="62-65" {!> ../../../docs_src/security/tutorial005.py!} ``` Because we are now declaring those scopes, they will show up in the API docs when you log-in/authorize. And you will be able to select which scopes you want to give access to: `me` and `items`. This is the same mechanism used when you give permissions while logging in with Facebook, Google, GitHub, etc:
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Thu Jan 11 21:21:35 GMT 2024 - 20.5K bytes - Viewed (0)