Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 261 - 270 of 557 for user_age (0.07 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. docs_src/response_model/tutorial003_01_py39.py

    from typing import Union
    
    from fastapi import FastAPI
    from pydantic import BaseModel, EmailStr
    
    app = FastAPI()
    
    
    class BaseUser(BaseModel):
        username: str
        email: EmailStr
        full_name: Union[str, None] = None
    
    
    class UserIn(BaseUser):
        password: str
    
    
    @app.post("/user/")
    async def create_user(user: UserIn) -> BaseUser:
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 349 bytes
    - Click Count (0)
  2. docs/zh/docs/advanced/security/oauth2-scopes.md

    {* ../../docs_src/security/tutorial005.py hl[105,107:115] *}
    
    ## 校验 `username` 与数据形状
    
    我们可以校验是否获取了 `username`,并抽取作用域。
    
    然后,使用 Pydantic 模型校验数据(捕获 `ValidationError` 异常),如果读取 JWT 令牌或使用 Pydantic 模型验证数据时出错,就会触发之前创建的 `HTTPException` 异常。
    
    对此,要使用新的属性 `scopes` 更新 Pydantic 模型 `TokenData`。
    
    使用 Pydantic 验证数据可以确保数据中含有由作用域组成的**字符串列表**,以及 `username` 字符串等内容。
    
    反之,如果使用**字典**或其它数据结构,就有可能在后面某些位置破坏应用,形成安全隐患。
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sun Dec 29 20:41:04 GMT 2024
    - 11.6K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/app/web/base/FessSearchAction.java

            final String username = systemHelper.getUsername();
            runtime.registerData("username", username);
            runtime.registerData("editableUser", fessLoginAssist.getSavedUserBean().map(FessUserBean::isEditable).orElse(false));
            runtime.registerData("adminUser",
                    fessConfig.isAdminUser(username) || fessLoginAssist.getSavedUserBean()
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 13.8K bytes
    - Click Count (0)
  4. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/BuildEnvironment.kt

            get() = System.getProperty("slow.internet.connection", "false")!!.toBoolean()
        val agentNum: Int
            get() {
                if (System.getenv().containsKey("USERNAME")) {
                    val agentNumEnv = System.getenv("USERNAME").replaceFirst("tcagent", "")
                    if (Regex("""\d+""").containsMatchIn(agentNumEnv)) {
                        return agentNumEnv.toInt()
                    }
                }
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Sat Dec 21 08:58:33 GMT 2024
    - 4.7K bytes
    - Click Count (1)
  5. 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 Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Jul 14 18:12:07 GMT 2024
    - 4.6K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/mylasta/direction/FessProp.java

        default String getLdapSecurityPrincipal(final String username) {
            final String value;
            final int maxLength = getLdapMaxUsernameLengthAsInteger();
            if (username == null) {
                value = StringUtil.EMPTY;
            } else if (maxLength >= 0 && username.length() > maxLength) {
                value = username.substring(0, maxLength);
            } else {
                value = username;
            }
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Sat Dec 13 02:21:17 GMT 2025
    - 88.2K bytes
    - Click Count (0)
  7. compat/maven-embedder/src/main/java/org/apache/maven/cli/configuration/SettingsXmlConfigurationProcessor.java

            //    <proxy>
            //      <active>true</active>
            //      <protocol>http</protocol>
            //      <host>proxy.somewhere.com</host>
            //      <port>8080</port>
            //      <username>proxyuser</username>
            //      <password>somepassword</password>
            //      <nonProxyHosts>www.google.com|*.somewhere.com</nonProxyHosts>
            //    </proxy>
            //  </proxies>
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sat Apr 19 18:49:57 GMT 2025
    - 12K bytes
    - Click Count (0)
  8. src/main/config/es/fess_config_web_authentication.json

                "type" : "keyword"
              },
              "updatedBy" : {
                "type" : "keyword"
              },
              "updatedTime" : {
                "type" : "long"
              },
              "username" : {
                "type" : "keyword"
              },
              "webConfigId" : {
                "type" : "keyword"
              }
            }
          }
        },
        "settings" : {
          "index" : {
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Dec 02 13:14:56 GMT 2021
    - 1.3K bytes
    - Click Count (0)
  9. src/main/webapp/WEB-INF/view/advance.jsp

    							<c:choose>
    								<c:when test="${!empty username && username != 'guest'}">
    									<li class="nav-item">
    										<div class="dropdown">
    											<a id="userMenu" class="nav-link dropdown-toggle" data-bs-toggle="dropdown"
    												href="#" role="button" aria-haspopup="true" aria-expanded="false"
    											> <i class="fa fa-fw fa-user" aria-hidden="true"></i>${username}
    											</a>
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Nov 13 05:54:52 GMT 2025
    - 14.2K bytes
    - Click Count (0)
  10. docs/de/docs/advanced/security/oauth2-scopes.md

    {* ../../docs_src/security/tutorial005_an_py310.py hl[106,108:116] *}
    
    ## Den `username` und das Format der Daten überprüfen { #verify-the-username-and-data-shape }
    
    Wir verifizieren, dass wir einen `username` erhalten, und extrahieren die Scopes.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Sep 20 15:10:09 GMT 2025
    - 15.7K bytes
    - Click Count (0)
Back to Top