Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 228 for me (0.06 sec)

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

    🔐: `secret`
    
    <img src="/img/tutorial/security/image04.png">
    
    ⏮️ 🔗 ⚙️, 👆 🔜 👀 ⚫️ 💖:
    
    <img src="/img/tutorial/security/image05.png">
    
    ### 🤚 👆 👍 👩‍💻 💽
    
    🔜 ⚙️ 🛠️ `GET` ⏮️ ➡ `/users/me`.
    
    👆 🔜 🤚 👆 👩‍💻 📊, 💖:
    
    ```JSON
    {
      "username": "johndoe",
      "email": "******@****.***",
      "full_name": "John Doe",
      "disabled": false,
      "hashed_password": "fakehashedsecret"
    }
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt

    there's hardly enough of me left to make ONE respectable
    person!'
    
      Soon her eye fell on a little glass box that was lying under
    the table:  she opened it, and found in it a very small cake, on
    which the words `EAT ME' were beautifully marked in currants.
    `Well, I'll eat it,' said Alice, `and if it makes me grow larger,
    I can reach the key; and if it makes me grow smaller, I can creep
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 29 21:35:03 UTC 2012
    - 145.2K bytes
    - Viewed (0)
  3. docs_src/security/tutorial006_an.py

    from fastapi import Depends, FastAPI
    from fastapi.security import HTTPBasic, HTTPBasicCredentials
    from typing_extensions import Annotated
    
    app = FastAPI()
    
    security = HTTPBasic()
    
    
    @app.get("/users/me")
    def read_current_user(credentials: Annotated[HTTPBasicCredentials, Depends(security)]):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 371 bytes
    - Viewed (0)
  4. docs_src/security/tutorial006_an_py39.py

    from typing import Annotated
    
    from fastapi import Depends, FastAPI
    from fastapi.security import HTTPBasic, HTTPBasicCredentials
    
    app = FastAPI()
    
    security = HTTPBasic()
    
    
    @app.get("/users/me")
    def read_current_user(credentials: Annotated[HTTPBasicCredentials, Depends(security)]):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 361 bytes
    - Viewed (0)
  5. src/main/resources/fess_indices/fess/ca/stopwords.txt

    han
    has
    havia
    he
    hem
    heu
    hi 
    ho
    i
    igual
    iguals
    ja
    l'hi
    la
    les
    li
    li'n
    llavors
    m'he
    ma
    mal
    malgrat
    mateix
    mateixa
    mateixes
    mateixos
    me
    mentre
    més
    meu
    meus
    meva
    meves
    molt
    molta
    moltes
    molts
    mon
    mons
    n'he
    n'hi
    ne
    ni
    no
    nogensmenys
    només
    nosaltres
    nostra
    nostre
    nostres
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Jul 19 06:31:02 UTC 2018
    - 1.3K bytes
    - Viewed (0)
  6. docs_src/security/tutorial003_an.py

        if not hashed_password == user.hashed_password:
            raise HTTPException(status_code=400, detail="Incorrect username or password")
    
        return {"access_token": user.username, "token_type": "bearer"}
    
    
    @app.get("/users/me")
    async def read_users_me(
        current_user: Annotated[User, Depends(get_current_active_user)],
    ):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Mar 26 16:56:53 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  7. docs_src/security/tutorial003_an_py39.py

        if not hashed_password == user.hashed_password:
            raise HTTPException(status_code=400, detail="Incorrect username or password")
    
        return {"access_token": user.username, "token_type": "bearer"}
    
    
    @app.get("/users/me")
    async def read_users_me(
        current_user: Annotated[User, Depends(get_current_active_user)],
    ):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Mar 26 16:56:53 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  8. docs_src/bigger_applications/app/routers/users.py

    from fastapi import APIRouter
    
    router = APIRouter()
    
    
    @router.get("/users/", tags=["users"])
    async def read_users():
        return [{"username": "Rick"}, {"username": "Morty"}]
    
    
    @router.get("/users/me", tags=["users"])
    async def read_user_me():
        return {"username": "fakecurrentuser"}
    
    
    @router.get("/users/{username}", tags=["users"])
    async def read_user(username: str):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Nov 29 17:32:18 UTC 2020
    - 407 bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessMultipartRequestHandler.java

        protected Map<String, Object> elementsAll; // lazy-loaded, then after not null
        protected Map<String, MultipartFormFile> elementsFile; // me too
        protected Map<String, String[]> elementsText; // me too
    
        // ===================================================================================
        //                                                                      Handle Request
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Wed Oct 23 13:27:21 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  10. docs/pt/docs/tutorial/path-params.md

    Algo como `/users/me` por exemplo, digamos que essa rota seja utilizada para pegar dados sobre o usuário atual.
    
    E então você pode ter também uma rota `/users/{user_id}` para pegar dados sobre um usuário específico associado a um ID de usuário.
    
    Porque as operações de rota são avaliadas em ordem, você precisa ter certeza que a rota para `/users/me` está sendo declarado antes da rota `/users/{user_id}`:
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.8K bytes
    - Viewed (0)
Back to top