- Sort Score
- Num 10 results
- Language All
Results 161 - 170 of 600 for user_me (0.27 seconds)
-
src/main/java/org/codelibs/fess/app/web/admin/boostdoc/AdminBoostdocAction.java
final SystemHelper systemHelper = ComponentUtil.getSystemHelper(); final String username = systemHelper.getUsername(); final long currentTime = systemHelper.getCurrentTimeAsLong(); return getEntity(form, username, currentTime).map(entity -> { entity.setUpdatedBy(username); entity.setUpdatedTime(currentTime);
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Nov 20 13:56:35 GMT 2025 - 14.2K bytes - Click Count (0) -
docs_src/configure_swagger_ui/tutorial001_py310.py
from fastapi import FastAPI app = FastAPI(swagger_ui_parameters={"syntaxHighlight": False}) @app.get("/users/{username}") async def read_user(username: str):
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 13:19:43 GMT 2026 - 205 bytes - Click Count (0) -
docs_src/configure_swagger_ui/tutorial003_py310.py
from fastapi import FastAPI app = FastAPI(swagger_ui_parameters={"deepLinking": False}) @app.get("/users/{username}") async def read_user(username: str):
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 13:19:43 GMT 2026 - 201 bytes - Click Count (0) -
docs/zh/docs/tutorial/request-forms.md
{* ../../docs_src/request_forms/tutorial001_an_py310.py hl[9] *} 例如,在 OAuth2 规范的一种使用方式(称为“密码流”)中,要求将 `username` 和 `password` 作为表单字段发送。 <dfn title="规范">规范</dfn>要求这些字段必须精确命名为 `username` 和 `password`,并且作为表单字段发送,而不是 JSON。 使用 `Form` 可以像使用 `Body`(以及 `Query`、`Path`、`Cookie`)一样声明相同的配置,包括校验、示例、别名(例如将 `username` 写成 `user-name`)等。 /// info `Form` 是直接继承自 `Body` 的类。 /// /// tipCreated: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:06:37 GMT 2026 - 2.5K bytes - Click Count (0) -
internal/event/target/postgresql.go
if !args.Host.IsEmpty() { params = append(params, "host="+args.Host.String()) } if args.Port != "" { params = append(params, "port="+args.Port) } if args.Username != "" { params = append(params, "username="+args.Username) } if args.Password != "" { params = append(params, "password="+args.Password) } if args.Database != "" { params = append(params, "dbname="+args.Database) }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Mar 30 00:56:02 GMT 2025 - 13.3K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/admin/elevateword/AdminElevatewordAction.java
* * @param form create form containing elevate word data * @param username current user's username * @param currentTime current timestamp * @return optional ElevateWord entity */ public static OptionalEntity<ElevateWord> getEntity(final CreateForm form, final String username, final long currentTime) { switch (form.crudMode) { case CrudMode.CREATE:Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Jan 23 23:57:26 GMT 2026 - 22.2K bytes - Click Count (0) -
tests/test_security_http_basic_optional.py
return {"msg": "Create an account first"} 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"}Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Feb 17 09:59:14 GMT 2026 - 2.7K bytes - Click Count (0) -
samples/slack/src/main/java/okhttp3/slack/OAuthSession.java
public final String scope; public final String user_id; public final String team_name; public final String team_id; public OAuthSession( boolean ok, String accessToken, String scope, String userId, String teamName, String teamId) { this.ok = ok; this.access_token = accessToken; this.scope = scope; this.user_id = userId; this.team_name = teamName; this.team_id = teamId; }
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Oct 23 15:24:22 GMT 2016 - 1.4K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/auth/chain/LdapChain.java
public void delete(final User user) { ComponentUtil.getLdapManager().delete(user); } @Override public boolean changePassword(final String username, final String password) { final boolean changed = ComponentUtil.getLdapManager().changePassword(username, password); return !changed || ComponentUtil.getFessConfig().isLdapAdminSyncPassword(); } @Override public User load(final User user) {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 1.6K bytes - Click Count (0) -
docs/es/docs/advanced/security/http-basic-auth.md
Para manejar eso, primero convertimos el `username` y `password` a `bytes` codificándolos con UTF-8. Luego podemos usar `secrets.compare_digest()` para asegurar que `credentials.username` es `"stanleyjobson"`, y que `credentials.password` es `"swordfish"`. {* ../../docs_src/security/tutorial007_an_py310.py hl[1,12:24] *} Esto sería similar a: ```Python
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:15:55 GMT 2026 - 5.3K bytes - Click Count (0)