Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for json (0.16 sec)

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

    ## 토큰 반환하기
    
    `token` 엔드포인트의 응답은 JSON 객체여야 합니다.
    
    `token_type`이 있어야 합니다. 여기서는 "Bearer" 토큰을 사용하므로 토큰 유형은 "`bearer`"여야 합니다.
    
    그리고 액세스 토큰을 포함하는 문자열과 함께 `access_token`이 있어야 합니다.
    
    이 간단한 예제에서는 완전히 안전하지 않고, 동일한 `username`을 토큰으로 반환합니다.
    
    !!! 팁
        다음 장에서는 패스워드 해싱 및 <abbr title="JSON Web Tokens">JWT</abbr> 토큰을 사용하여 실제 보안 구현을 볼 수 있습니다.
    
        하지만 지금은 필요한 세부 정보에 집중하겠습니다.
    
    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)
  2. docs/de/docs/tutorial/security/simple-oauth2.md

        {!> ../../../docs_src/security/tutorial003.py!}
        ```
    
    !!! tip "Tipp"
        Gemäß der Spezifikation sollten Sie ein JSON mit einem `access_token` und einem `token_type` zurückgeben, genau wie in diesem Beispiel.
    
        Das müssen Sie selbst in Ihrem Code tun und sicherstellen, dass Sie diese JSON-Schlüssel verwenden.
    
        Es ist fast das Einzige, woran Sie denken müssen, es selbst richtigzumachen und die Spezifikationen einzuhalten.
    
    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

        {!> ../../../docs_src/security/tutorial003.py!}
        ```
    
    !!! tip
        By the spec, you should return a JSON with an `access_token` and a `token_type`, the same as in this example.
    
        This is something that you have to do yourself in your code, and make sure you use those JSON keys.
    
        It's almost the only thing that you have to remember to do correctly yourself, to be compliant with the specifications.
    
    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)
Back to top