Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for scope (0.23 sec)

  1. docs/em/docs/advanced/security/oauth2-scopes.md

                        * ๐Ÿ”— โš™๏ธ `oauth2_scheme`.
                        *  `security_scopes` ๐Ÿ”ข ๐Ÿ†Ž `SecurityScopes`:
                            * ๐Ÿ‘‰ `security_scopes` ๐Ÿ”ข โœ”๏ธ ๐Ÿ  `scopes` โฎ๏ธ `list` โš— ๐ŸŒ ๐Ÿ‘ซ โ†” ๐Ÿ“ฃ ๐Ÿ”›,:
                                * `security_scopes.scopes` ๐Ÿ”œ ๐Ÿ”Œ `["me", "items"]` *โžก ๐Ÿ› ๏ธ* `read_own_items`.
                                * `security_scopes.scopes` ๐Ÿ”œ ๐Ÿ”Œ `["me"]` *โžก ๐Ÿ› ๏ธ* `read_users_me`, โ†ฉ๏ธ โšซ๏ธ ๐Ÿ“ฃ ๐Ÿ”— `get_current_active_user`.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Jan 11 21:21:35 GMT 2024
    - 11.1K bytes
    - Viewed (0)
  2. docs/de/docs/advanced/security/oauth2-scopes.md

                        * Selbst keine erforderlichen Scopes.
                        * Eine Abhรคngigkeit, die `oauth2_scheme` verwendet.
                        * Einen `security_scopes`-Parameter vom Typ `SecurityScopes`:
                            * Dieser `security_scopes`-Parameter hat ein Attribut `scopes` mit einer `list`e, die alle oben deklarierten Scopes enthรคlt, sprich:
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 20:26:08 GMT 2024
    - 22.8K bytes
    - Viewed (0)
  3. docs/en/docs/advanced/security/oauth2-scopes.md

                        * No scopes required by itself.
                        * A dependency using `oauth2_scheme`.
                        * A `security_scopes` parameter of type `SecurityScopes`:
                            * This `security_scopes` parameter has a property `scopes` with a `list` containing all these scopes declared above, so:
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Jan 11 21:21:35 GMT 2024
    - 20.5K bytes
    - Viewed (0)
  4. docs/de/docs/tutorial/security/simple-oauth2.md

    ### <abbr title="Geltungsbereich">`scope`</abbr>
    
    Ferner sagt die Spezifikation, dass der Client ein weiteres Formularfeld "`scope`" (โ€žGeltungsbereichโ€œ) senden kann.
    
    Der Name des Formularfelds lautet `scope` (im Singular), tatsรคchlich handelt es sich jedoch um einen langen String mit durch Leerzeichen getrennten โ€žScopesโ€œ.
    
    Jeder โ€žScopeโ€œ ist nur ein String (ohne Leerzeichen).
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 18:08:44 GMT 2024
    - 14.3K bytes
    - Viewed (0)
  5. docs/en/docs/tutorial/security/simple-oauth2.md

    The spec also states that the `username` and `password` must be sent as form data (so, no JSON here).
    
    ### `scope`
    
    The spec also says that the client can send another form field "`scope`".
    
    The form field name is `scope` (in singular), but it is actually a long string with "scopes" separated by spaces.
    
    Each "scope" is just a string (without spaces).
    
    They are normally used to declare specific security permissions, for example:
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 12.5K bytes
    - Viewed (0)
  6. docs/zh/docs/advanced/security/oauth2-scopes.md

                        * `security_scopes` ๅ‚ๆ•ฐ็š„็ฑปๅž‹ๆ˜ฏ `SecurityScopes`๏ผš
                            * `security_scopes` ๅ‚ๆ•ฐ็š„ๅฑžๆ€ง `scopes` ๆ˜ฏๅŒ…ๅซไธŠ่ฟฐๅฃฐๆ˜Ž็š„ๆ‰€ๆœ‰ไฝœ็”จๅŸŸ็š„**ๅˆ—่กจ**๏ผŒๅ› ๆญค๏ผš
                                * `security_scopes.scopes` ๅŒ…ๅซ็”จไบŽ*่ทฏๅพ„ๆ“ไฝœ*็š„ `["me", "items"]`
                                * `security_scopes.scopes` ๅŒ…ๅซ*่ทฏๅพ„ๆ“ไฝœ* `read_users_me` ็š„ `["me"]`๏ผŒๅ› ไธบๅฎƒๅœจไพ่ต–้กน้‡Œ่ขซๅฃฐๆ˜Ž
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 22:43:35 GMT 2024
    - 11.8K bytes
    - Viewed (0)
  7. docs/en/docs/advanced/behind-a-proxy.md

        And the `--root-path` command line option provides that `root_path`.
    
    ### Checking the current `root_path`
    
    You can get the current `root_path` used by your application for each request, it is part of the `scope` dictionary (that's part of the ASGI spec).
    
    Here we are including it in the message just for demonstration purposes.
    
    ```Python hl_lines="8"
    {!../../../docs_src/behind_a_proxy/tutorial001.py!}
    ```
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 11.6K bytes
    - Viewed (2)
  8. docs/ko/docs/tutorial/security/simple-oauth2.md

    ๊ทธ๋Ÿฌ๋‚˜ ๋กœ๊ทธ์ธ *๊ฒฝ๋กœ ์ž‘๋™*์˜ ๊ฒฝ์šฐ ์‚ฌ์–‘๊ณผ ํ˜ธํ™˜๋˜๋„๋ก ์ด๋Ÿฌํ•œ ์ด๋ฆ„์„ ์‚ฌ์šฉํ•ด์•ผ ํ•ฉ๋‹ˆ๋‹ค(์˜ˆ๋ฅผ ๋“ค์–ด ํ†ตํ•ฉ API ๋ฌธ์„œ ์‹œ์Šคํ…œ์„ ์‚ฌ์šฉํ•  ์ˆ˜ ์žˆ์–ด์•ผ ํ•ฉ๋‹ˆ๋‹ค).
    
    ์‚ฌ์–‘์—๋Š” ๋˜ํ•œ `username`๊ณผ `password`๊ฐ€ ํผ ๋ฐ์ดํ„ฐ๋กœ ์ „์†ก๋˜์–ด์•ผ ํ•œ๋‹ค๊ณ  ๋ช…์‹œ๋˜์–ด ์žˆ์Šต๋‹ˆ๋‹ค(๋”ฐ๋ผ์„œ ์—ฌ๊ธฐ์—๋Š” JSON์ด ์—†์Šต๋‹ˆ๋‹ค).
    
    ### `scope`
    
    ์‚ฌ์–‘์—๋Š” ํด๋ผ์ด์–ธํŠธ๊ฐ€ ๋‹ค๋ฅธ ํผ ํ•„๋“œ "`scope`"๋ฅผ ๋ณด๋‚ผ ์ˆ˜ ์žˆ๋‹ค๊ณ  ๋‚˜์™€ ์žˆ์Šต๋‹ˆ๋‹ค.
    
    ํผ ํ•„๋“œ ์ด๋ฆ„์€ `scope`(๋‹จ์ˆ˜ํ˜•)์ด์ง€๋งŒ ์‹ค์ œ๋กœ๋Š” ๊ณต๋ฐฑ์œผ๋กœ ๊ตฌ๋ถ„๋œ "๋ฒ”์œ„"๊ฐ€ ์žˆ๋Š” ๊ธด ๋ฌธ์ž์—ด์ž…๋‹ˆ๋‹ค.
    
    ๊ฐ "๋ฒ”์œ„"๋Š” ๊ณต๋ฐฑ์ด ์—†๋Š” ๋ฌธ์ž์—ด์ž…๋‹ˆ๋‹ค.
    
    ์ผ๋ฐ˜์ ์œผ๋กœ ํŠน์ • ๋ณด์•ˆ ๊ถŒํ•œ์„ ์„ ์–ธํ•˜๋Š” ๋ฐ ์‚ฌ์šฉ๋ฉ๋‹ˆ๋‹ค. ๋‹ค์Œ์„ ๋ด…์‹œ๋‹ค:
    
    * `users:read` ๋˜๋Š” `users:write`๋Š” ์ผ๋ฐ˜์ ์ธ ์˜ˆ์‹œ์ž…๋‹ˆ๋‹ค.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Apr 02 22:37:23 GMT 2024
    - 11.6K bytes
    - Viewed (0)
  9. docs/en/docs/alternatives.md

        Have a simple and easy to use routing system.
    
    
    ### <a href="https://requests.readthedocs.io" class="external-link" target="_blank">Requests</a>
    
    **FastAPI** is not actually an alternative to **Requests**. Their scope is very different.
    
    It would actually be common to use Requests *inside* of a FastAPI application.
    
    But still, FastAPI got quite some inspiration from Requests.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 23.2K bytes
    - Viewed (0)
  10. docs/de/docs/advanced/behind-a-proxy.md

    ### รœberprรผfen des aktuellen `root_path`
    
    Sie kรถnnen den aktuellen `root_path` abrufen, der von Ihrer Anwendung fรผr jede Anfrage verwendet wird. Er ist Teil des `scope`-Dictionarys (das ist Teil der ASGI-Spezifikation).
    
    Hier fรผgen wir ihn, nur zu Demonstrationszwecken, in die Nachricht ein.
    
    ```Python hl_lines="8"
    {!../../../docs_src/behind_a_proxy/tutorial001.py!}
    ```
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 20:30:07 GMT 2024
    - 13.1K bytes
    - Viewed (0)
Back to top