- Sort Score
- Result 10 results
- Languages All
Results 131 - 140 of 2,769 for user (0.05 sec)
-
tests/test_security_openid_connect.py
app = FastAPI() oid = OpenIdConnect(openIdConnectUrl="/openid") class User(BaseModel): username: str def get_current_user(oauth_header: str = Security(oid)): 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 client = TestClient(app)
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jun 30 18:25:16 UTC 2023 - 2.2K bytes - Viewed (0) -
tests/test_security_openid_connect_description.py
oid = OpenIdConnect( openIdConnectUrl="/openid", description="OpenIdConnect security scheme" ) class User(BaseModel): username: str def get_current_user(oauth_header: str = Security(oid)): 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 client = TestClient(app)
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jun 30 18:25:16 UTC 2023 - 2.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/es/user/bsbhv/BsUserBhv.java
*/ package org.codelibs.fess.es.user.bsbhv; import java.util.List; import java.util.Map; import org.codelibs.fess.es.user.allcommon.EsAbstractBehavior; import org.codelibs.fess.es.user.allcommon.EsAbstractEntity.RequestOptionCall; import org.codelibs.fess.es.user.bsentity.dbmeta.UserDbm; import org.codelibs.fess.es.user.cbean.UserCB; import org.codelibs.fess.es.user.exentity.User; import org.dbflute.Entity;
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 12K bytes - Viewed (0) -
helm/minio/README.md
```bash helm install --set users[0].accessKey=accessKey,users[0].secretKey=secretKey,users[0].policy=none,users[1].accessKey=accessKey2,users[1].secretRef=existingSecret,users[1].secretKey=password,users[1].policy=none minio/minio ``` Description of the configuration parameters used above - - `users[].accessKey` - accessKey of user - `users[].secretKey` - secretKey of usersecretRef
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Jan 24 07:27:57 UTC 2024 - 10.9K bytes - Viewed (0) -
src/main/java/jcifs/ntlmssp/Type3Message.java
* Returns the username for the authenticating user. * * @return A <code>String</code> containing the user for this message. */ public String getUser () { return this.user; } /** * Sets the user for this message. * * @param user * The user. */ public void setUser ( String user ) { this.user = user; }
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Tue Jul 07 12:07:20 UTC 2020 - 30.6K bytes - Viewed (0) -
docs_src/body_multiple_params/tutorial002_py310.py
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): results = {"item_id": item_id, "item": item, "user": user}
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jan 07 14:11:31 UTC 2022 - 446 bytes - Viewed (0) -
docs_src/body_multiple_params/tutorial003_an_py310.py
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()] ): results = {"item_id": item_id, "item": item, "user": user, "importance": importance}
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Mar 18 12:29:59 UTC 2023 - 550 bytes - Viewed (0) -
docs_src/body_multiple_params/tutorial004_py310.py
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: int = Body(gt=0), q: str | None = None, ): results = {"item_id": item_id, "item": item, "user": user, "importance": importance} if q:
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Mar 10 18:49:18 UTC 2023 - 603 bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/ActivityHelper.java
valueMap.put("user", user.map(FessUserBean::getUserId).orElse("-")); valueMap.put("path", path); valueMap.put("execute", execute); log(valueMap); } public void permissionChanged(final OptionalThing<FessUserBean> user) { final Map<String, String> valueMap = new LinkedHashMap<>(); valueMap.put("action", Action.UPDATE_PERMISSION.name());
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 7.7K bytes - Viewed (0) -
docs/en/docs/advanced/index.md
You could still use most of the features in **FastAPI** with the knowledge from the main [Tutorial - User Guide](../tutorial/index.md){.internal-link target=_blank}. And the next sections assume you already read it, and assume that you know those main ideas. ## External Courses
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Aug 06 04:48:30 UTC 2024 - 1.8K bytes - Viewed (0)