Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 211 - 220 of 639 for UserName (0.05 seconds)

  1. src/main/java/org/codelibs/fess/app/pager/WebAuthPager.java

         * Search criteria: authentication ID.
         */
        public String id;
    
        /**
         * Search criteria: port number.
         */
        public String port;
    
        /**
         * Search criteria: username.
         */
        public String username;
    
        /**
         * Search criteria: web configuration ID.
         */
        public String webConfigId;
    
        /**
         * Search criteria: creator user.
         */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 6.4K bytes
    - Click Count (0)
  2. docs_src/response_model/tutorial003_01_py310.py

    from fastapi import FastAPI
    from pydantic import BaseModel, EmailStr
    
    app = FastAPI()
    
    
    class BaseUser(BaseModel):
        username: str
        email: EmailStr
        full_name: str | None = None
    
    
    class UserIn(BaseUser):
        password: str
    
    
    @app.post("/user/")
    async def create_user(user: UserIn) -> BaseUser:
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Jan 07 13:45:48 GMT 2023
    - 317 bytes
    - Click Count (0)
  3. docs_src/response_model/tutorial002_py310.py

    from fastapi import FastAPI
    from pydantic import BaseModel, EmailStr
    
    app = FastAPI()
    
    
    class UserIn(BaseModel):
        username: str
        password: str
        email: EmailStr
        full_name: str | None = None
    
    
    # Don't do this in production!
    @app.post("/user/")
    async def create_user(user: UserIn) -> UserIn:
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Jan 07 13:45:48 GMT 2023
    - 318 bytes
    - Click Count (0)
  4. docs/zh/docs/advanced/security/oauth2-scopes.md

    ## 校验 `username` 与数据形状 { #verify-the-username-and-data-shape }
    
    我们校验是否获取到了 `username`,并提取作用域。
    
    然后使用 Pydantic 模型验证这些数据(捕获 `ValidationError` 异常),如果读取 JWT 令牌或用 Pydantic 验证数据时出错,就抛出我们之前创建的 `HTTPException`。
    
    为此,我们给 Pydantic 模型 `TokenData` 添加了一个新属性 `scopes`。
    
    通过用 Pydantic 验证数据,我们可以确保确实得到了例如一个由作用域组成的 `list[str]`,以及一个 `str` 类型的 `username`。
    
    而不是,例如得到一个 `dict` 或其它什么,这可能会在后续某个时刻破坏应用,形成安全风险。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 13K bytes
    - Click Count (0)
  5. src/main/resources/fess_indices/fess_config.file_authentication/file_authentication.json

    {
        "properties": {
          "hostname": {
            "type": "keyword"
          },
          "port": {
            "type": "integer"
          },
          "protocolScheme": {
            "type": "keyword"
          },
          "username": {
            "type": "keyword"
          },
          "password": {
            "type": "keyword"
          },
          "parameters": {
            "type": "keyword"
          },
          "fileConfigId": {
            "type": "keyword"
          },
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Dec 02 13:14:56 GMT 2021
    - 644 bytes
    - Click Count (0)
  6. src/main/resources/fess_indices/fess_config.web_authentication/web_authentication.json

          },
          "port": {
            "type": "integer"
          },
          "authRealm": {
            "type": "keyword"
          },
          "protocolScheme": {
            "type": "keyword"
          },
          "username": {
            "type": "keyword"
          },
          "password": {
            "type": "keyword"
          },
          "parameters": {
            "type": "keyword"
          },
          "webConfigId": {
            "type": "keyword"
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Dec 02 13:14:56 GMT 2021
    - 699 bytes
    - Click Count (0)
  7. internal/config/identity/openid/provider/keycloak.go

    	oeConfig DiscoveryDoc
    	client   http.Client
    	adminURL string
    	realm    string
    
    	// internal value refreshed
    	accessToken Token
    }
    
    // LoginWithUser authenticates username/password, not needed for Keycloak
    func (k *KeycloakProvider) LoginWithUser(username, password string) error {
    	return ErrNotImplemented
    }
    
    // LoginWithClientID is implemented by Keycloak service account support
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Jul 14 18:12:07 GMT 2024
    - 4.6K bytes
    - Click Count (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/form/Hc4FormScheme.java

        private static final String LOGIN_PARAMETERS = "login_parameters";
    
        private static final String PASSWORD = "${password}";
    
        private static final String USERNAME = "${username}";
    
        private final Map<String, String> parameterMap;
    
        /**
         * Constructs a FormScheme with the given parameter map.
         * @param parameterMap The map of parameters.
         */
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Thu Jan 08 14:22:26 GMT 2026
    - 14.3K bytes
    - Click Count (0)
  9. internal/event/target/nats_contrib_test.go

    	opts.Port = 14223
    	opts.Username = "testminio"
    	opts.Password = "miniotest"
    	s := natsserver.RunServer(&opts)
    	defer s.Shutdown()
    
    	clientConfig := &NATSArgs{
    		Enable: true,
    		Address: xnet.Host{
    			Name:      "localhost",
    			Port:      (xnet.Port(opts.Port)),
    			IsPortSet: true,
    		},
    		Subject:  "test",
    		Username: opts.Username,
    		Password: opts.Password,
    	}
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Apr 27 04:30:57 GMT 2025
    - 3K bytes
    - Click Count (0)
  10. docs_src/body_multiple_params/tutorial004_an_py310.py

    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        description: str | None = None
        price: float
        tax: float | None = None
    
    
    class User(BaseModel):
        username: str
        full_name: str | None = None
    
    
    @app.put("/items/{item_id}")
    async def update_item(
        *,
        item_id: int,
        item: Item,
        user: User,
        importance: Annotated[int, Body(gt=0)],
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Mar 18 12:29:59 GMT 2023
    - 643 bytes
    - Click Count (0)
Back to Top