Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 515 for log_id (0.08 sec)

  1. tests/test_security_oauth2_optional.py

    
    def get_current_user(oauth_header: Optional[str] = Security(reusable_oauth2)):
        if oauth_header is None:
            return None
        user = User(username=oauth_header)
        return user
    
    
    @app.post("/login")
    def login(form_data: OAuth2PasswordRequestFormStrict = Depends()):
        return form_data
    
    
    @app.get("/users/me")
    def read_users_me(current_user: Optional[User] = Depends(get_current_user)):
        if current_user is None:
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  2. scripts/sponsors.py

    
    sponsors_query = """
    query Q($after: String) {
      user(login: "tiangolo") {
        sponsorshipsAsMaintainer(first: 100, after: $after) {
          edges {
            cursor
            node {
              sponsorEntity {
                ... on Organization {
                  login
                  avatarUrl
                  url
                }
                ... on User {
                  login
                  avatarUrl
                  url
                }
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Dec 16 12:34:01 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/web/base/login/SpnegoCredential.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.app.web.base.login;
    
    import org.lastaflute.web.login.credential.LoginCredential;
    
    /**
     * SPNEGO authentication credential implementation.
     *
     * This class represents login credentials obtained through SPNEGO (Security Provider
     * Negotiation Protocol) authentication. It contains the username extracted from the
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1.9K bytes
    - Viewed (1)
  4. tests/test_security_oauth2.py

    # Here we use string annotations to test them
    def get_current_user(oauth_header: "str" = Security(reusable_oauth2)):
        user = User(username=oauth_header)
        return user
    
    
    @app.post("/login")
    # Here we use string annotations to test them
    def login(form_data: "OAuth2PasswordRequestFormStrict" = Depends()):
        return form_data
    
    
    @app.get("/users/me")
    # Here we use string annotations to test them
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 9K bytes
    - Viewed (0)
  5. tests/test_security_oauth2_optional_description.py

    
    def get_current_user(oauth_header: Optional[str] = Security(reusable_oauth2)):
        if oauth_header is None:
            return None
        user = User(username=oauth_header)
        return user
    
    
    @app.post("/login")
    def login(form_data: OAuth2PasswordRequestFormStrict = Depends()):
        return form_data
    
    
    @app.get("/users/me")
    def read_users_me(current_user: Optional[User] = Depends(get_current_user)):
        if current_user is None:
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/sql/StatementUtil.java

                throw new SQLRuntimeException(ex);
            }
        }
    
        /**
         * Closes the {@link Statement}.
         * <p>
         * If {@link Statement#close()} throws an exception, an error message is logged. The exception is not rethrown.
         * </p>
         *
         * @param statement
         *            {@link Statement}
         * @see Statement#close()
         */
        public static void close(final Statement statement) {
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 5K bytes
    - Viewed (0)
  7. docs_src/request_form_models/tutorial002_py39.py

    from fastapi import FastAPI, Form
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class FormData(BaseModel):
        username: str
        password: str
        model_config = {"extra": "forbid"}
    
    
    @app.post("/login/")
    async def login(data: FormData = Form()):
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 267 bytes
    - Viewed (0)
  8. docs_src/request_form_models/tutorial002_an_py39.py

    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class FormData(BaseModel):
        username: str
        password: str
        model_config = {"extra": "forbid"}
    
    
    @app.post("/login/")
    async def login(data: Annotated[FormData, Form()]):
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Sep 06 17:31:18 UTC 2024
    - 307 bytes
    - Viewed (0)
  9. docs/en/docs/advanced/events.md

    # Lifespan Events { #lifespan-events }
    
    You can define logic (code) that should be executed before the application **starts up**. This means that this code will be executed **once**, **before** the application **starts receiving requests**.
    
    The same way, you can define logic (code) that should be executed when the application is **shutting down**. In this case, this code will be executed **once**, **after** having handled possibly **many requests**.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  10. src/main/webapp/WEB-INF/orig/view/searchResults.jsp

    					<a class="link" href="${doc.url_link}" data-uri="${doc.url_link}"
    						data-id="${doc.doc_id}" data-order="${s.index}">${doc.content_title}</a>
    				</h3>
    				<div class="body">
    					<c:if test="${thumbnailSupport && !empty doc.thumbnail}">
    					<div class="me-3">
    						<a class="link d-none d-sm-flex" href="${doc.url_link}" data-uri="${doc.url_link}" data-id="${doc.doc_id}"
    							data-order="${s.index}"
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Jan 18 05:32:37 UTC 2025
    - 9.1K bytes
    - Viewed (1)
Back to top