Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for Feyrer (0.2 sec)

  1. docs/ru/docs/tutorial/security/first-steps.md

        * Но для этого необходима аутентификация для конкретной конечной точки.
        * Поэтому для аутентификации в нашем API он посылает заголовок `Authorization` со значением `Bearer` плюс сам токен.
        * Если токен содержит `foobar`, то содержание заголовка `Authorization` будет таким: `Bearer foobar`.
    
    ## Класс `OAuth2PasswordBearer` в **FastAPI**
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Wed Mar 13 19:02:19 GMT 2024
    - 15.4K bytes
    - Viewed (0)
  2. docs/de/docs/tutorial/security/simple-oauth2.md

        ```
    
    !!! info
        Der zusätzliche Header `WWW-Authenticate` mit dem Wert `Bearer`, den wir hier zurückgeben, ist ebenfalls Teil der Spezifikation.
    
        Jeder HTTP-(Fehler-)Statuscode 401 „UNAUTHORIZED“ soll auch einen `WWW-Authenticate`-Header zurückgeben.
    
        Im Fall von Bearer-Tokens (in unserem Fall) sollte der Wert dieses Headers `Bearer` lauten.
    
    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)
  3. docs/en/docs/tutorial/security/simple-oauth2.md

        ```
    
    !!! info
        The additional header `WWW-Authenticate` with value `Bearer` we are returning here is also part of the spec.
    
        Any HTTP (error) status code 401 "UNAUTHORIZED" is supposed to also return a `WWW-Authenticate` header.
    
        In the case of bearer tokens (our case), the value of that header should be `Bearer`.
    
        You can actually skip that extra header and it would still work.
    
    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)
  4. docs/ko/docs/tutorial/security/simple-oauth2.md

        `**user_dict`에 대한 자세한 설명은 [**추가 모델** 문서](../extra-models.md#about-user_indict){.internal-link target=_blank}를 다시 읽어봅시다.
    
    ## 토큰 반환하기
    
    `token` 엔드포인트의 응답은 JSON 객체여야 합니다.
    
    `token_type`이 있어야 합니다. 여기서는 "Bearer" 토큰을 사용하므로 토큰 유형은 "`bearer`"여야 합니다.
    
    그리고 액세스 토큰을 포함하는 문자열과 함께 `access_token`이 있어야 합니다.
    
    이 간단한 예제에서는 완전히 안전하지 않고, 동일한 `username`을 토큰으로 반환합니다.
    
    !!! 팁
    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)
  5. docs/de/docs/tutorial/security/oauth2-jwt.md

    # OAuth2 mit Password (und Hashing), Bearer mit JWT-Tokens
    
    Da wir nun über den gesamten Sicherheitsablauf verfügen, machen wir die Anwendung tatsächlich sicher, indem wir <abbr title="JSON Web Tokens">JWT</abbr>-Tokens und sicheres Passwort-Hashing verwenden.
    
    Diesen Code können Sie tatsächlich in Ihrer Anwendung verwenden, die Passwort-Hashes in Ihrer Datenbank speichern, usw.
    
    Wir bauen auf dem vorherigen Kapitel auf.
    
    ## Über JWT
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 20:27:06 GMT 2024
    - 15.1K bytes
    - Viewed (0)
  6. docs/en/docs/advanced/security/oauth2-scopes.md

        For OAuth2 they are just strings.
    
    ## Global view
    
    First, let's quickly see the parts that change from the examples in the main **Tutorial - User Guide** for [OAuth2 with Password (and hashing), Bearer with JWT tokens](../../tutorial/security/oauth2-jwt.md){.internal-link target=_blank}. Now using OAuth2 scopes:
    
    === "Python 3.10+"
    
        ```Python hl_lines="4  8  12  46  64  105  107-115  121-124  128-134  139  155"
    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)
  7. docs/zh/docs/advanced/security/oauth2-scopes.md

    !!! info "说明"
    
        OAuth2 中,**作用域**只是声明特定权限的字符串。
    
        是否使用冒号 `:` 等符号,或是不是 URL 并不重要。
    
        这些细节只是特定的实现方式。
    
        对 OAuth2 来说,它们都只是字符串而已。
    
    ## 全局纵览
    
    首先,快速浏览一下以下代码与**用户指南**中 [OAuth2 实现密码哈希与 Bearer  JWT 令牌验证](../../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  153"
    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)
  8. docs/tr/docs/async.md

    Örneğin:
    
    * **Ses** veya **görüntü işleme**.
    * **Bilgisayar görüsü**: bir görüntü milyonlarca pikselden oluşur, her pikselin 3 değeri / rengi vardır, bu pikseller üzerinde aynı anda bir şeyler hesaplamayı gerektiren işleme.
    * **Makine Öğrenimi**: Çok sayıda "matris" ve "vektör" çarpımı gerektirir. Sayıları olan ve hepsini aynı anda çarpan büyük bir elektronik tablo düşünün.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 21.9K bytes
    - Viewed (0)
  9. docs/de/docs/advanced/security/oauth2-scopes.md

        Für OAuth2 sind es einfach nur Strings.
    
    ## Gesamtübersicht
    
    Sehen wir uns zunächst kurz die Teile an, die sich gegenüber den Beispielen im Haupt-**Tutorial – Benutzerhandbuch** für [OAuth2 mit Password (und Hashing), Bearer mit JWT-Tokens](../../tutorial/security/oauth2-jwt.md){.internal-link target=_blank} ändern. Diesmal verwenden wir OAuth2-Scopes:
    
    === "Python 3.10+"
    
    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)
  10. docs/ja/docs/tutorial/security/first-steps.md

        * したがって、APIで認証するため、HTTPヘッダー`Authorization`に`Bearer`の文字列とトークンを加えた値を送信します。
        * トークンに`foobar`が含まれている場合、`Authorization`ヘッダーの内容は次のようになります: `Bearer foobar`。
    
    ## **FastAPI**の`OAuth2PasswordBearer`
    
    **FastAPI**は、これらのセキュリティ機能を実装するために、抽象度の異なる複数のツールを提供しています。
    
    この例では、**Bearer**トークンを使用して**OAuth2**を**パスワード**フローで使用します。これには`OAuth2PasswordBearer`クラスを使用します。
    
    !!! info "情報"
        「bearer」トークンが、唯一の選択肢ではありません。
    
        しかし、私たちのユースケースには最適です。
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 10.5K bytes
    - Viewed (0)
Back to top