Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for John (0.11 sec)

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

    ### 获取当前用户数据
    
    使用 `/users/me` 路径的 `GET` 操作。
    
    可以提取如下当前用户数据:
    
    ```JSON
    {
      "username": "johndoe",
      "email": "******@****.***",
      "full_name": "John Doe",
      "disabled": false,
      "hashed_password": "fakehashedsecret"
    }
    ```
    
    <img src="https://fastapi.tiangolo.com/img/tutorial/security/image06.png">
    
    点击小锁图标,注销后,再执行同样的操作,则会得到 HTTP 401 错误:
    
    ```JSON
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 8.8K bytes
    - Viewed (0)
  2. docs/em/docs/tutorial/security/simple-oauth2.md

    ### 🤚 👆 👍 👩‍💻 💽
    
    🔜 ⚙️ 🛠️ `GET` ⏮️ ➡ `/users/me`.
    
    👆 🔜 🤚 👆 👩‍💻 📊, 💖:
    
    ```JSON
    {
      "username": "johndoe",
      "email": "******@****.***",
      "full_name": "John Doe",
      "disabled": false,
      "hashed_password": "fakehashedsecret"
    }
    ```
    
    <img src="/img/tutorial/security/image06.png">
    
    🚥 👆 🖊 🔒 ℹ &amp; ⏏, &amp; ⤴️ 🔄 🎏 🛠️ 🔄, 👆 🔜 🤚 🇺🇸🔍 4️⃣0️⃣1️⃣ ❌:
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 8.9K bytes
    - Viewed (0)
Back to top