Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 173 for OAuth2 (0.07 sec)

  1. fastapi/security/oauth2.py

                client_id=client_id,
                client_secret=client_secret,
            )
    
    
    class OAuth2(SecurityBase):
        """
        This is the base class for OAuth2 authentication, an instance of it would be used
        as a dependency. All other OAuth2 classes inherit from it and customize it for
        each OAuth2 flow.
    
        You normally would not create a new class inheriting from it but use one of the
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Oct 23 18:30:18 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  2. docs/pt/docs/tutorial/security/simple-oauth2.md

    # Simples OAuth2 com senha e Bearer
    
    Agora vamos construir a partir do capítulo anterior e adicionar as partes que faltam para ter um fluxo de segurança completo.
    
    ## Pegue o `username` (nome de usuário) e `password` (senha)
    
    É utilizado o utils de segurança da **FastAPI** para obter o `username` e a `password`.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Oct 31 12:17:45 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  3. docs/pt/docs/advanced/security/oauth2-scopes.md

    # Escopos OAuth2
    
    Você pode utilizar escopos do OAuth2 diretamente com o **FastAPI**, eles são integrados para funcionar perfeitamente.
    
    Isso permitiria que você tivesse um sistema de permissionamento mais refinado, seguindo o padrão do OAuth2 integrado na sua aplicação OpenAPI (e as documentações da API).
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 21.7K bytes
    - Viewed (0)
  4. docs/de/docs/advanced/security/oauth2-scopes.md

    # OAuth2-Scopes
    
    Sie können OAuth2-<abbr title="Geltungsbereiche">Scopes</abbr> direkt in **FastAPI** verwenden, sie sind nahtlos integriert.
    
    Das ermöglicht es Ihnen, ein feingranuliertes Berechtigungssystem nach dem OAuth2-Standard in Ihre OpenAPI-Anwendung (und deren API-Dokumentation) zu integrieren.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 22.5K bytes
    - Viewed (0)
  5. docs/em/docs/advanced/security/oauth2-scopes.md

    ⚫️ 🚫 🤔 🚥 ⚫️ ✔️ 🎏 🦹 💖 `:` ⚖️ 🚥 ⚫️ 📛.
    
    👈 ℹ 🛠️ 🎯.
    
    Oauth2️⃣ 👫 🎻.
    
    ///
    
    ## 🌐 🎑
    
    🥇, ➡️ 🔜 👀 🍕 👈 🔀 ⚪️➡️ 🖼 👑 **🔰 - 👩‍💻 🦮** [Oauth2️⃣ ⏮️ 🔐 (&amp; 🔁), 📨 ⏮️ 🥙 🤝](../../tutorial/security/oauth2-jwt.md){.internal-link target=_blank}. 🔜 ⚙️ Oauth2️⃣ ↔:
    
    ```Python hl_lines="2  4  8  12  46  64  105  107-115  121-124  128-134  139  155"
    {!../../docs_src/security/tutorial005.py!}
    ```
    
    🔜 ➡️ 📄 👈 🔀 🔁 🔁.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 11K bytes
    - Viewed (0)
  6. docs/en/docs/advanced/security/oauth2-scopes.md

    {* ../../docs_src/security/tutorial005_an_py310.py hl[5,9,13,47,65,106,108:116,122:125,129:135,140,156] *}
    
    Now let's review those changes step by step.
    
    ## OAuth2 Security scheme
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Oct 29 11:02:16 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  7. docs/en/docs/tutorial/security/oauth2-jwt.md

    And you can use and implement secure, standard protocols, like OAuth2 in a relatively simple way.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Oct 26 11:45:10 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  8. docs/zh/docs/tutorial/security/simple-oauth2.md

    ### `Scope`(作用域)
    
    OAuth2 还支持客户端发送**`scope`**表单字段。
    
    虽然表单字段的名称是 `scope`(单数),但实际上,它是以空格分隔的,由多个**scope**组成的长字符串。
    
    **作用域**只是不带空格的字符串。
    
    常用于声明指定安全权限,例如:
    
    * 常见用例为,`users:read` 或 `users:write`
    * 脸书和 Instagram 使用 `instagram_basic`
    * 谷歌使用 `https://www.googleapis.com/auth/drive`
    
    /// info | "说明"
    
    OAuth2 中,**作用域**只是声明指定权限的字符串。
    
    是否使用冒号 `:` 等符号,或是不是 URL 并不重要。
    
    这些细节只是特定的实现方式。
    
    对 OAuth2 来说,都只是字符串而已。
    
    ///
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  9. docs/zh/docs/tutorial/security/oauth2-jwt.md

    开发者可以灵活选择最适合项目的安全机制。
    
    还可以直接使用 `passlib` 和 `PyJWT` 等维护良好、使用广泛的包,这是因为 **FastAPI** 不需要任何复杂机制,就能集成外部的包。
    
    而且,**FastAPI** 还提供了一些工具,在不影响灵活、稳定和安全的前提下,尽可能地简化安全机制。
    
    **FastAPI** 还支持以相对简单的方式,使用 OAuth2 等安全、标准的协议。
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 11K bytes
    - Viewed (0)
  10. docs/ja/docs/tutorial/security/oauth2-jwt.md

    しかし、柔軟性、堅牢性、セキュリティを損なうことなく、可能な限りプロセスを簡素化するためのツールを提供します。
    
    また、OAuth2のような安全で標準的なプロトコルを比較的簡単な方法で使用できるだけではなく、実装することもできます。
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 14.1K bytes
    - Viewed (1)
Back to top