- Sort Score
- Num 10 results
- Language All
Results 181 - 190 of 489 for UserName (0.05 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
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) -
src/main/resources/fess_indices/fess_config.file_authentication/file_authentication.json
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Dec 02 13:14:56 GMT 2021 - 644 bytes - Click Count (0) -
src/main/resources/fess_indices/fess_config.web_authentication/web_authentication.json
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Dec 02 13:14:56 GMT 2021 - 699 bytes - Click Count (0) -
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) -
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) -
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) -
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) -
build-tools-internal/src/main/groovy/elasticsearch.run.gradle
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Thu Sep 23 07:45:59 GMT 2021 - 1.8K bytes - Click Count (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/configuration/SettingsXmlConfigurationProcessor.java
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Sat Apr 19 18:49:57 GMT 2025 - 12K bytes - Click Count (0) -
cmd/admin-handlers-idp-ldap.go
// We still need to ensure that the target user is a valid LDAP user. // // The target user may be supplied as a (short) username or a DN. // However, for now, we only support using the short username. isDN := globalIAMSys.LDAPConfig.ParsesAsDN(targetUser) opts.claims[ldapUserN] = targetUser // simple username var lookupResult *xldap.DNSearchResult lookupResult, targetGroups, err = globalIAMSys.LDAPConfig.LookupUserDN(targetUser)
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 08 02:46:04 GMT 2025 - 19.2K bytes - Click Count (0)