- Sort Score
- Result 10 results
- Languages All
Results 451 - 460 of 1,708 for Post (0.03 sec)
-
docs_src/security/tutorial003_an_py310.py
current_user: Annotated[User, Depends(get_current_user)], ): if current_user.disabled: raise HTTPException(status_code=400, detail="Inactive user") return current_user @app.post("/token") async def login(form_data: Annotated[OAuth2PasswordRequestForm, Depends()]): user_dict = fake_users_db.get(form_data.username) if not user_dict:
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Mar 26 16:56:53 UTC 2024 - 2.5K bytes - Viewed (0) -
docs_src/security/tutorial004_py310.py
async def get_current_active_user(current_user: User = Depends(get_current_user)): if current_user.disabled: raise HTTPException(status_code=400, detail="Inactive user") return current_user @app.post("/token") async def login_for_access_token( form_data: OAuth2PasswordRequestForm = Depends(), ) -> Token: user = authenticate_user(fake_users_db, form_data.username, form_data.password) if not user:
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Mon May 20 17:37:28 UTC 2024 - 4K bytes - Viewed (0) -
src/main/webapp/WEB-INF/view/login/index.jsp
</p> <%-- Message --%> <div> <la:info id="msg" message="false"> <div class="alert alert-info">${msg}</div> </la:info> <la:errors /> </div> <la:form styleId="login" method="post"> <div class="input-group mb-3"> <c:set var="ph_username"> <la:message key="labels.login.placeholder_username" /> </c:set> <la:text property="username" styleId="username"
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Sat Oct 26 01:07:52 UTC 2024 - 3K bytes - Viewed (0) -
src/main/webapp/WEB-INF/orig/view/login/newpassword.jsp
<%-- Message --%> <div> <la:info id="msg" message="false"> <div class="alert alert-info">${msg}</div> </la:info> <la:errors /> </div> <la:form styleId="newPassword" method="post"> <div class="input-group mb-3"> <c:set var="ph_new_password"> <la:message key="labels.login.placeholder_new_password" /> </c:set> <la:password property="password" class="form-control"
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Sat Oct 26 01:07:52 UTC 2024 - 3K bytes - Viewed (0) -
docs/en/docs/tutorial/security/oauth2-jwt.md
For example, you could identify a "car" or a "blog post". Then you could add permissions about that entity, like "drive" (for the car) or "edit" (for the blog). And then, you could give that JWT token to a user (or bot), and they could use it to perform those actions (drive the car, or edit the blog post) without even needing to have an account, just with the JWT token your API generated for that.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Oct 26 11:45:10 UTC 2024 - 12.8K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/kt/PostMultipart.kt
) .build() val request = Request.Builder() .header("Authorization", "Client-ID $IMGUR_CLIENT_ID") .url("https://api.imgur.com/3/image") .post(requestBody) .build() client.newCall(request).execute().use { response -> if (!response.isSuccessful) throw IOException("Unexpected code $response") println(response.body.string()) }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 2.1K bytes - Viewed (0) -
src/main/webapp/WEB-INF/view/login/newpassword.jsp
<%-- Message --%> <div> <la:info id="msg" message="false"> <div class="alert alert-info">${msg}</div> </la:info> <la:errors /> </div> <la:form styleId="newPassword" method="post"> <div class="input-group mb-3"> <c:set var="ph_new_password"> <la:message key="labels.login.placeholder_new_password" /> </c:set> <la:password property="password" class="form-control"
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Sat Oct 26 01:07:52 UTC 2024 - 3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/mylasta/mail/EsStatusPostcard.java
public static EsStatusPostcard droppedInto(Postbox postbox, MPCall<EsStatusPostcard> postcardLambda) { EsStatusPostcard postcard = new EsStatusPostcard(); postcardLambda.write(postcard); postbox.post(postcard); return postcard; } // =================================================================================== // Meta Data
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 4.7K bytes - Viewed (0) -
guava-tests/pom.xml
</plugin> <plugin> <artifactId>maven-source-plugin</artifactId> <executions> <execution> <id>attach-test-sources</id> <phase>post-integration-test</phase> <goals><goal>test-jar</goal></goals> </execution> </executions> </plugin> <plugin> <artifactId>maven-surefire-plugin</artifactId>
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jul 24 18:53:31 UTC 2024 - 4.3K bytes - Viewed (0) -
docs_src/security/tutorial004_an_py39.py
current_user: Annotated[User, Depends(get_current_user)], ): if current_user.disabled: raise HTTPException(status_code=400, detail="Inactive user") return current_user @app.post("/token") async def login_for_access_token( form_data: Annotated[OAuth2PasswordRequestForm, Depends()], ) -> Token: user = authenticate_user(fake_users_db, form_data.username, form_data.password) if not user:
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Mon May 20 17:37:28 UTC 2024 - 4.2K bytes - Viewed (0)