- Sort Score
- Num 10 results
- Language All
Results 31 - 40 of 517 for USERNAME (0.11 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
.ci/init.gradle
Closure configCache = { return { name "artifactory-gradle-release" url "https://artifactory.elstc.co/artifactory/gradle-release" credentials { username artifactoryCredentials.get("username") password artifactoryCredentials.get("token") } } } settingsEvaluated { settings -> settings.pluginManagement { repositories { maven configCache()Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Wed Nov 13 10:14:04 GMT 2019 - 3K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/exception/FessUserNotFoundException.java
private static final long serialVersionUID = 1L; /** * Constructs a new FessUserNotFoundException with the specified username. * * @param username the username that was not found */ public FessUserNotFoundException(final String username) { super("User is not found: " + username); }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 1.3K bytes - Click Count (0) -
src/main/java/jcifs/smb/NtlmNtHashAuthenticator.java
/** * Create username/password credentials with specified domain * * @param domain the authentication domain * @param username the username * @param passwordHash * NT password hash */ public NtlmNtHashAuthenticator(final String domain, final String username, final byte[] passwordHash) { super(domain, username, (String) null, AuthenticationType.USER);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 2.6K bytes - Click Count (0) -
tests/test_security_openid_connect_optional.py
app = FastAPI() oid = OpenIdConnect(openIdConnectUrl="/openid", auto_error=False) class User(BaseModel): username: str def get_current_user(oauth_header: str | None = Security(oid)): if oauth_header is None: return None user = User(username=oauth_header) return user @app.get("/users/me") def read_current_user(current_user: User | None = Depends(get_current_user)):
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Feb 17 09:59:14 GMT 2026 - 2.6K bytes - Click Count (0) -
src/main/java/jcifs/util/InputValidator.java
} /** * Validates username * * @param username the username to validate * @throws IllegalArgumentException if username is invalid */ public static void validateUsername(String username) { if (username == null) { return; // Null username allowed for anonymous } if (username.length() > MAX_USERNAME_LENGTH) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 13.5K bytes - Click Count (0) -
tests/test_security_api_key_header.py
from inline_snapshot import snapshot from pydantic import BaseModel app = FastAPI() api_key = APIKeyHeader(name="key") class User(BaseModel): username: str def get_current_user(oauth_header: str = Security(api_key)): user = User(username=oauth_header) return user @app.get("/users/me") def read_current_user(current_user: User = Depends(get_current_user)): return current_user
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Feb 08 10:18:38 GMT 2026 - 2K bytes - Click Count (0) -
internal/config/identity/ldap/ldap.go
conn, err := l.LDAP.Connect() if err != nil { return nil, err } defer conn.Close() // Bind to the lookup user account if err = l.LDAP.LookupBind(conn); err != nil { return nil, err } // Check if the passed in username is a valid DN. if !l.ParsesAsDN(username) { // We consider it as a login username and attempt to check it exists in // the directory.
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Jul 12 01:04:53 GMT 2024 - 12.4K bytes - Click Count (1) -
docs/zh/docs/tutorial/security/simple-oauth2.md
本章添加上一章示例中欠缺的部分,实现完整的安全流。 ## 获取 `username` 和 `password` { #get-the-username-and-password } 首先,使用 **FastAPI** 安全工具获取 `username` 和 `password`。 OAuth2 规范要求使用“密码流”时,客户端或用户必须以表单数据形式发送 `username` 和 `password` 字段。 并且,这两个字段必须命名为 `username` 和 `password`,不能使用 `user-name` 或 `email` 等其它名称。 不过也不用担心,前端仍可以显示终端用户所需的名称。 数据库模型也可以使用所需的名称。 但对于登录*路径操作*,则要使用兼容规范的 `username` 和 `password`,(例如,实现与 API 文档集成)。Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:06:37 GMT 2026 - 9K bytes - Click Count (0) -
tests/test_security_api_key_header_description.py
from pydantic import BaseModel app = FastAPI() api_key = APIKeyHeader(name="key", description="An API Key Header") class User(BaseModel): username: str def get_current_user(oauth_header: str = Security(api_key)): user = User(username=oauth_header) return user @app.get("/users/me") def read_current_user(current_user: User = Depends(get_current_user)): return current_user
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Feb 08 10:18:38 GMT 2026 - 2.2K bytes - Click Count (0) -
docs/ko/docs/advanced/security/http-basic-auth.md
이를 처리하기 위해 먼저 `username`과 `password`를 UTF-8로 인코딩해서 `bytes`로 변환합니다. 그런 다음 `secrets.compare_digest()`를 사용해 `credentials.username`이 `"stanleyjobson"`이고 `credentials.password`가 `"swordfish"`인지 확실히 확인할 수 있습니다. {* ../../docs_src/security/tutorial007_an_py310.py hl[1,12:24] *} 이는 다음과 비슷합니다: ```Python if not (credentials.username == "stanleyjobson") or not (credentials.password == "swordfish"):
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 14:06:26 GMT 2026 - 5.9K bytes - Click Count (0)