Search Options

Results per page
Sort
Preferred Languages
Advance

Results 471 - 480 of 1,928 for post (0.04 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/ApiExtractorTest.java

     *
     */
    public class ApiExtractorTest extends PlainTestCase {
        final int port = 9876;
    
        final String ATTR_NAME = "filedata";
    
        private TestApiExtractorServer server;
    
        private ApiExtractor extractor;
    
        @Override
        protected void setUp() throws Exception {
            super.setUp();
    
            server = new TestApiExtractorServer(port);
            server.start();
    
            extractor = new ApiExtractor();
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top