- Sort Score
- Num 10 results
- Language All
Results 171 - 180 of 525 for user$name (0.06 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
docs/de/docs/advanced/security/http-basic-auth.md
Um dies zu lösen, konvertieren wir zunächst den `username` und das `password` in UTF-8-codierte `bytes`. Dann können wir `secrets.compare_digest()` verwenden, um sicherzustellen, dass `credentials.username` `"stanleyjobson"` und `credentials.password` `"swordfish"` ist. {* ../../docs_src/security/tutorial007_an_py39.py hl[1,12:24] *} Dies wäre das gleiche wie: ```Python
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Sep 20 15:10:09 GMT 2025 - 6.2K 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 Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Apr 27 04:30:57 GMT 2025 - 3K bytes - Click Count (0) -
docs/zh/docs/tutorial/extra-models.md
```Python UserInDB(**user_dict) ``` 就会生成如下结果: ```Python UserInDB( username="john", password="secret", email="******@****.***", full_name=None, ) ``` 或更精准,直接把可能会用到的内容与 `user_dict` 一起使用: ```Python UserInDB( username = user_dict["username"], password = user_dict["password"], email = user_dict["email"], full_name = user_dict["full_name"], )Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Mon Nov 18 02:25:44 GMT 2024 - 5.7K bytes - Click Count (0) -
docs_src/dependencies/tutorial008c_an_py39.py
print("Oops, we didn't raise again, Britney 😱") @app.get("/items/{item_id}") def get_item(item_id: str, username: Annotated[str, Depends(get_username)]): if item_id == "portal-gun": raise InternalError( f"The portal gun is too dangerous to be owned by {username}" ) if item_id != "plumbus": raise HTTPException(
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Feb 24 23:06:37 GMT 2024 - 700 bytes - Click Count (0) -
docs_src/security/tutorial002_an_py39.py
app = FastAPI() oauth2_scheme = OAuth2PasswordBearer(tokenUrl="token") class User(BaseModel): username: str email: Union[str, None] = None full_name: Union[str, None] = None disabled: Union[bool, None] = None def fake_decode_token(token): return User( username=token + "fakedecoded", email="******@****.***", full_name="John Doe" )
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Mar 18 12:29:59 GMT 2023 - 786 bytes - Click Count (0) -
tests/test_tutorial/test_response_model/test_tutorial002.py
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Fri Dec 26 10:43:02 GMT 2025 - 4.4K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/auth/chain/AuthenticationChain.java
void delete(User user); /** * Changes the password for the specified user. * @param username The username for which to change the password. * @param password The new password. * @return True if the password was successfully changed, false otherwise. */ boolean changePassword(String username, String password); /** * Loads user information from the authentication chain.
Created: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 1.7K bytes - Click Count (0) -
docs_src/security/tutorial006_py39.py
app = FastAPI() security = HTTPBasic() @app.get("/users/me") def read_current_user(credentials: HTTPBasicCredentials = Depends(security)):
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 321 bytes - Click Count (0) -
docs_src/dependencies/tutorial008e_an_py39.py
def get_username(): try: yield "Rick" finally: print("Cleanup up before response is sent") @app.get("/users/me") def get_user_me(username: Annotated[str, Depends(get_username, scope="function")]):
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Mon Nov 03 10:12:49 GMT 2025 - 329 bytes - Click Count (0) -
src/main/java/org/codelibs/fess/opensearch/config/cbean/ca/bs/BsWebAuthenticationCA.java
public void setUsername_Terms(ConditionOptionCall<TermsAggregationBuilder> opLambda) { setUsername_Terms("username", opLambda, null); } public void setUsername_Terms(ConditionOptionCall<TermsAggregationBuilder> opLambda, OperatorCall<BsWebAuthenticationCA> aggsLambda) { setUsername_Terms("username", opLambda, aggsLambda); }Created: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Sat Mar 15 06:53:53 GMT 2025 - 76.2K bytes - Click Count (0)