Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 557 for passWord (0.09 sec)

  1. docs_src/security/tutorial007_an.py

        current_password_bytes = credentials.password.encode("utf8")
        correct_password_bytes = b"swordfish"
        is_correct_password = secrets.compare_digest(
            current_password_bytes, correct_password_bytes
        )
        if not (is_correct_username and is_correct_password):
            raise HTTPException(
                status_code=status.HTTP_401_UNAUTHORIZED,
                detail="Incorrect username or password",
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Mar 26 16:56:53 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  2. tests/test_security_http_basic_optional.py

        return {"username": credentials.username, "password": credentials.password}
    
    
    client = TestClient(app)
    
    
    def test_security_http_basic():
        response = client.get("/users/me", auth=("john", "secret"))
        assert response.status_code == 200, response.text
        assert response.json() == {"username": "john", "password": "secret"}
    
    
    def test_security_http_basic_no_credentials():
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/es/client/CrawlerEngineClient.java

            final String username = fessConfig.getFesenUsername();
            final String password = fessConfig.getFesenPassword();
            if (StringUtil.isNotBlank(username) && StringUtil.isNotBlank(password)) {
                builder.put(Constants.FESEN_USERNAME, username);
                builder.put(Constants.FESEN_PASSWORD, password);
            }
            final String authorities = fessConfig.getFesenHttpSslCertificateAuthorities();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  4. docs/bucket/notifications/README.md

    ARGS:
    broker*              (uri)       MQTT server endpoint e.g. `tcp://localhost:1883`
    topic*               (string)    name of the MQTT topic to publish
    username             (string)    MQTT username
    password             (string)    MQTT password
    qos                  (number)    set the quality of service priority, defaults to '0'
    keep_alive_interval  (duration)  keep-alive interval for MQTT connections in s,m,h,d
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 84K bytes
    - Viewed (0)
  5. docs/ja/docs/tutorial/extra-models.md

    UserInDB(**user_dict)
    ```
    
    以下と同等の結果になります:
    
    ```Python
    UserInDB(
        username="john",
        password="secret",
        email="******@****.***",
        full_name=None,
    )
    ```
    
    もっと正確に言えば、`user_dict`を将来的にどんな内容であっても直接使用することになります:
    
    ```Python
    UserInDB(
        username = user_dict["username"],
        password = user_dict["password"],
        email = user_dict["email"],
        full_name = user_dict["full_name"],
    )
    ```
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  6. docs_src/extra_models/tutorial001.py

    from typing import Union
    
    from fastapi import FastAPI
    from pydantic import BaseModel, EmailStr
    
    app = FastAPI()
    
    
    class UserIn(BaseModel):
        username: str
        password: str
        email: EmailStr
        full_name: Union[str, None] = None
    
    
    class UserOut(BaseModel):
        username: str
        email: EmailStr
        full_name: Union[str, None] = None
    
    
    class UserInDB(BaseModel):
        username: str
        hashed_password: str
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat May 14 11:59:59 UTC 2022
    - 943 bytes
    - Viewed (0)
  7. src/main/resources/fess_message_ru.properties

    errors.invalid_kuromoji_segmentation=The number of segmentations {0} does not the match number of readings {1}.
    errors.invalid_str_is_included="{1}" in "{0}" is invalid.
    errors.blank_password=Password is required.
    errors.invalid_confirm_password=Confirm Password does not match.
    errors.cannot_delete_doc_because_of_running=Crawler is running. The document cannot be deleted.
    errors.failed_to_delete_doc_in_admin=Failed to delete document.
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri May 20 12:12:28 UTC 2022
    - 10.2K bytes
    - Viewed (0)
  8. internal/event/target/redis.go

    			if err != nil {
    				return nil, err
    			}
    
    			if args.Password != "" {
    				if args.User != "" {
    					if _, err = conn.Do("AUTH", args.User, args.Password); err != nil {
    						conn.Close()
    						return nil, err
    					}
    				} else {
    					if _, err = conn.Do("AUTH", args.Password); err != nil {
    						conn.Close()
    						return nil, err
    					}
    				}
    			}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/es/config/bsentity/dbmeta/WebAuthenticationDbm.java

                false, false, "keyword", 0, 0, null, null, false, null, null, null, null, null, false);
        protected final ColumnInfo _columnPassword = cci("password", "password", null, null, String.class, "password", null, false, false,
                false, "keyword", 0, 0, null, null, false, null, null, null, null, null, false);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 13K bytes
    - Viewed (0)
  10. docs_src/security/tutorial006.py

    app = FastAPI()
    
    security = HTTPBasic()
    
    
    @app.get("/users/me")
    def read_current_user(credentials: HTTPBasicCredentials = Depends(security)):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Mar 26 19:09:53 UTC 2020
    - 321 bytes
    - Viewed (0)
Back to top