Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for Hart (0.14 sec)

  1. docs/en/docs/tutorial/security/simple-oauth2.md

        ```Python hl_lines="58-66  69-72  90"
        {!> ../../../docs_src/security/tutorial003.py!}
        ```
    
    !!! 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`.
    
    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)
  2. docs/de/docs/tutorial/security/simple-oauth2.md

    * Dem `username`.
    * Dem `password`.
    * Einem optionalen `scope`-Feld als langem String, bestehend aus durch Leerzeichen getrennten Strings.
    * Einem optionalen `grant_type` („Art der Anmeldung“).
    
    !!! tip "Tipp"
        Die OAuth2-Spezifikation *erfordert* tatsächlich ein Feld `grant_type` mit dem festen Wert `password`, aber `OAuth2PasswordRequestForm` erzwingt dies nicht.
    
    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)
Back to top