Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 54 for johndoe (0.05 seconds)

  1. tests/test_security_oauth2.py

    def test_strict_login_correct_grant_type():
        response = client.post(
            "/login",
            data={"username": "johndoe", "password": "secret", "grant_type": "password"},
        )
        assert response.status_code == 200
        assert response.json() == {
            "grant_type": "password",
            "username": "johndoe",
            "password": "secret",
            "scopes": [],
            "client_id": None,
            "client_secret": None,
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Feb 08 10:18:38 GMT 2026
    - 9.8K bytes
    - Click Count (0)
  2. tests/test_security_oauth2_optional_description.py

        response = client.post(
            "/login",
            data={"username": "johndoe", "password": "secret", "grant_type": "password"},
        )
        assert response.status_code == 200, response.text
        assert response.json() == {
            "grant_type": "password",
            "username": "johndoe",
            "password": "secret",
            "scopes": [],
            "client_id": None,
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 9.9K bytes
    - Click Count (0)
  3. docs/ko/docs/tutorial/path-params.md

    }
    ```
    
    ## 경로를 포함하는 경로 매개변수 { #path-parameters-containing-paths }
    
    경로 `/files/{file_path}`를 가진 *경로 처리*가 있다고 해봅시다.
    
    하지만 `file_path` 자체가 `home/johndoe/myfile.txt`와 같은 *경로*를 포함해야 합니다.
    
    이때 해당 파일의 URL은 다음처럼 됩니다: `/files/home/johndoe/myfile.txt`.
    
    ### OpenAPI 지원 { #openapi-support }
    
    테스트와 정의가 어려운 시나리오로 이어질 수 있으므로 OpenAPI는 *경로*를 포함하는 *경로 매개변수*를 내부에 선언하는 방법을 지원하지 않습니다.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 9.9K bytes
    - Click Count (0)
  4. docs/en/docs/tutorial/security/oauth2-jwt.md

    Using the credentials:
    
    Username: `johndoe`
    Password: `secret`
    
    /// check
    
    Notice that nowhere in the code is the plaintext password "`secret`", we only have the hashed version.
    
    ///
    
    <img src="/img/tutorial/security/image08.png">
    
    Call the endpoint `/users/me/`, you will get the response as:
    
    ```JSON
    {
      "username": "johndoe",
      "email": "johndoe@example.com",
      "full_name": "John Doe",
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 10.7K bytes
    - Click Count (0)
  5. docs/ja/docs/tutorial/path-params.md

    }
    ```
    
    ## パスを含んだパスパラメータ { #path-parameters-containing-paths }
    
    パス `/files/{file_path}` となる *path operation* を持っているとしましょう。
    
    ただし、 `home/johndoe/myfile.txt` のような*パス*を含んだ `file_path` が必要です。
    
    したがって、そのファイルのURLは `/files/home/johndoe/myfile.txt` の様になります。
    
    ### OpenAPIサポート { #openapi-support }
    
    OpenAPIはテストや定義が困難なシナリオにつながる可能性があるため、内部に*パス*を含む*パスパラメータ*の宣言をサポートしていません。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 10.8K bytes
    - Click Count (0)
  6. docs/zh-hant/docs/tutorial/security/oauth2-jwt.md

    用和先前相同的方式授權應用。
    
    使用下列認證資訊:
    
    Username: `johndoe`
    Password: `secret`
    
    /// check | 檢查
    
    注意在程式碼中完全沒有明文密碼「`secret`」,我們只有雜湊後的版本。
    
    ///
    
    <img src="/img/tutorial/security/image08.png">
    
    呼叫端點 `/users/me/`,你會得到類似這樣的回應:
    
    ```JSON
    {
      "username": "johndoe",
      "email": "johndoe@example.com",
      "full_name": "John Doe",
      "disabled": false
    }
    ```
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 10.1K bytes
    - Click Count (0)
  7. docs/zh/docs/tutorial/security/oauth2-jwt.md

    像之前一样进行授权。
    
    使用以下凭证:
    
    用户名: `johndoe`
    密码: `secret`
    
    /// check | 检查
    
    注意,代码中的任何地方都没有明文密码 “`secret`”,我们只有它的哈希版本。
    
    ///
    
    <img src="/img/tutorial/security/image08.png">
    
    调用 `/users/me/` 端点,你将得到如下响应:
    
    ```JSON
    {
      "username": "johndoe",
      "email": "johndoe@example.com",
      "full_name": "John Doe",
      "disabled": false
    }
    ```
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 10.1K bytes
    - Click Count (0)
  8. docs/ja/docs/tutorial/security/simple-oauth2.md

    「Authorize」ボタンをクリックします。
    
    次の認証情報を使います:
    
    User: `johndoe`
    
    Password: `secret`
    
    <img src="/img/tutorial/security/image04.png">
    
    システムで認証されると、次のように表示されます:
    
    <img src="/img/tutorial/security/image05.png">
    
    ### 自分のユーザーデータを取得 { #get-your-own-user-data }
    
    `GET` の path `/users/me` を使います。
    
    次のようなユーザーデータが取得できます:
    
    ```JSON
    {
      "username": "johndoe",
      "email": "******@****.***",
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 12.1K bytes
    - Click Count (0)
  9. docs/ja/docs/tutorial/security/oauth2-jwt.md

    前回と同じ方法でアプリケーションの認可を行います。
    
    次の認証情報を使用します:
    
    Username: `johndoe`
    Password: `secret`
    
    /// check | 確認
    
    コードのどこにも平文のパスワード"`secret`"はなく、ハッシュ化されたものしかないことを確認してください。
    
    ///
    
    <img src="/img/tutorial/security/image08.png">
    
    エンドポイント`/users/me/`を呼び出すと、次のようなレスポンスが得られます:
    
    ```JSON
    {
      "username": "johndoe",
      "email": "johndoe@example.com",
      "full_name": "John Doe",
      "disabled": false
    }
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 14.6K bytes
    - Click Count (1)
  10. helm/minio/values.yaml

    ## conditionsexample policy creates all access to example bucket with aws:username="johndoe" and source ip range 10.0.0.0/8 and 192.168.0.0/24 only
    # - name: conditionsexample
    #   statements:
    #     - resources:
    #       - 'arn:aws:s3:::example/*'
    #       actions:
    #       - 's3:*'
    #       conditions:
    #         - StringEquals: '"aws:username": "johndoe"'
    #         - IpAddress: |
    #             "aws:SourceIp": [
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Aug 12 18:20:36 GMT 2025
    - 19.7K bytes
    - Click Count (1)
Back to Top