Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 399 for secret2 (0.04 seconds)

  1. tests/test_response_model_as_return_annotation.py

        return DBUser(name="John", surname="Doe", password_hash="secret")
    
    
    @app.get("/response_model_list_of_model-no_annotation", response_model=list[User])
    def response_model_list_of_model_no_annotation():
        return [
            DBUser(name="John", surname="Doe", password_hash="secret"),
            DBUser(name="Jane", surname="Does", password_hash="secret2"),
        ]
    
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 12:54:56 GMT 2025
    - 47.7K bytes
    - Click Count (0)
  2. docs/de/docs/tutorial/security/simple-oauth2.md

    }
    ```
    
    ### Inaktiver Benutzer { #inactive-user }
    
    Versuchen Sie es nun mit einem inaktiven Benutzer und authentisieren Sie sich mit:
    
    Benutzer: `alice`.
    
    Passwort: `secret2`.
    
    Und versuchen Sie, die Operation `GET` mit dem Pfad `/users/me` zu verwenden.
    
    Sie erhalten die Fehlermeldung „Inactive user“:
    
    ```JSON
    {
      "detail": "Inactive user"
    }
    ```
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Sep 20 15:10:09 GMT 2025
    - 11.2K bytes
    - Click Count (0)
  3. docs/en/docs/tutorial/security/simple-oauth2.md

    ```JSON
    {
      "detail": "Not authenticated"
    }
    ```
    
    ### Inactive user { #inactive-user }
    
    Now try with an inactive user, authenticate with:
    
    User: `alice`
    
    Password: `secret2`
    
    And try to use the operation `GET` with the path `/users/me`.
    
    You will get an "Inactive user" error, like:
    
    ```JSON
    {
      "detail": "Inactive user"
    }
    ```
    
    ## Recap { #recap }
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sun Aug 31 09:15:41 GMT 2025
    - 9.4K bytes
    - Click Count (0)
  4. docs/es/docs/tutorial/security/simple-oauth2.md

    ```JSON
    {
      "detail": "Not authenticated"
    }
    ```
    
    ### Usuario inactivo { #inactive-user }
    
    Ahora prueba con un usuario inactivo, autentícate con:
    
    Usuario: `alice`
    
    Contraseña: `secret2`
    
    Y trata de usar la operación `GET` con la path `/users/me`.
    
    Obtendrás un error de "Usuario inactivo", como:
    
    ```JSON
    {
      "detail": "Inactive user"
    }
    ```
    
    ## Recapitulación { #recap }
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Dec 16 16:33:45 GMT 2025
    - 10.3K bytes
    - Click Count (0)
  5. docs/pt/docs/tutorial/security/simple-oauth2.md

    ```JSON
    {
      "detail": "Not authenticated"
    }
    ```
    
    ### Usuário inativo { #inactive-user }
    
    Agora tente com um usuário inativo, autentique-se com:
    
    User: `alice`
    
    Password: `secret2`
    
    E tente usar a operação `GET` com o caminho `/users/me`.
    
    Você receberá um erro "Usuário inativo", como:
    
    ```JSON
    {
      "detail": "Inactive user"
    }
    ```
    
    ## Recapitulando { #recap }
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Nov 12 16:23:57 GMT 2025
    - 10.3K bytes
    - Click Count (0)
  6. docs/ru/docs/tutorial/security/simple-oauth2.md

    {
      "detail": "Not authenticated"
    }
    ```
    
    ### Неактивный пользователь { #inactive-user }
    
    Теперь попробуйте с неактивным пользователем, аутентифицируйтесь с:
    
    Пользователь: `alice`
    
    Пароль: `secret2`
    
    И попробуйте использовать операцию `GET` с путём `/users/me`.
    
    Вы получите ошибку "Inactive user", как здесь:
    
    ```JSON
    {
      "detail": "Inactive user"
    }
    ```
    
    ## Резюме { #recap }
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Sep 30 11:24:39 GMT 2025
    - 16.3K bytes
    - Click Count (0)
  7. docs/zh/docs/tutorial/security/simple-oauth2.md

    点击小锁图标,注销后,再执行同样的操作,则会得到 HTTP 401 错误:
    
    ```JSON
    {
      "detail": "Not authenticated"
    }
    ```
    
    ### 未激活用户
    
    测试未激活用户,输入以下信息,进行身份验证:
    
    用户名:`alice`
    
    密码:`secret2`
    
    然后,执行 `/users/me` 路径的 `GET` 操作。
    
    显示下列**未激活用户**错误信息:
    
    ```JSON
    {
      "detail": "Inactive user"
    }
    ```
    
    ## 小结
    
    使用本章的工具实现基于 `username` 和 `password` 的完整 API 安全系统。
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Nov 18 02:25:44 GMT 2024
    - 8.6K bytes
    - Click Count (0)
  8. docs/ko/docs/tutorial/security/simple-oauth2.md

    잠금 아이콘을 클릭하고 로그아웃한 다음 동일한 작업을 다시 시도하면 다음과 같은 HTTP 401 오류가 발생합니다.
    
    ```JSON
    {
      "detail": "Not authenticated"
    }
    ```
    
    ### 비활성된 유저
    
    이제 비활성된 사용자로 시도하고, 인증해봅시다:
    
    유저명: `alice`
    
    패스워드: `secret2`
    
    그리고 `/users/me` 경로와 함께 `GET` 작업을 사용해 봅시다.
    
    다음과 같은 "Inactive user" 오류가 발생합니다:
    
    ```JSON
    {
      "detail": "Inactive user"
    }
    ```
    
    ## 요약
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Feb 15 11:19:12 GMT 2025
    - 10.8K bytes
    - Click Count (0)
  9. helm/minio/templates/secrets.yaml

    {{- if not .Values.existingSecret }}
    apiVersion: v1
    kind: Secret
    metadata:
      name: {{ template "minio.secretName" . }}
      labels:
        app: {{ template "minio.name" . }}
        chart: {{ template "minio.chart" . }}
        release: {{ .Release.Name }}
        heritage: {{ .Release.Service }}
    type: Opaque
    data:
      rootUser: {{ include "minio.root.username" . | b64enc | quote }}
      rootPassword: {{ include "minio.root.password" . | b64enc | quote }}
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed Apr 12 04:09:29 GMT 2023
    - 706 bytes
    - Click Count (0)
  10. internal/kms/secret-key.go

    // KMS that uses s as builtin single key as KMS implementation.
    func ParseSecretKey(s string) (*KMS, error) {
    	v := strings.SplitN(s, ":", 2)
    	if len(v) != 2 {
    		return nil, errors.New("kms: invalid secret key format")
    	}
    
    	keyID, b64Key := v[0], v[1]
    	key, err := base64.StdEncoding.DecodeString(b64Key)
    	if err != nil {
    		return nil, err
    	}
    	return NewBuiltin(keyID, key)
    }
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Mon Apr 21 16:23:51 GMT 2025
    - 8.4K bytes
    - Click Count (0)
Back to Top