Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 657 for user_age (1.36 sec)

  1. tests/test_security_openid_connect.py

    from pydantic import BaseModel
    
    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
    
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 24 19:03:06 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  2. tests/test_security_scopes_sub_dependency.py

            return {
                "user_me": f"user_me_{call_counts['get_user_me']}",
                "current_user": current_user,
            }
    
        def get_user_items(
            user_me: Annotated[dict, Depends(get_user_me)],
        ):
            call_counts["get_user_items"] += 1
            return {
                "user_items": f"user_items_{call_counts['get_user_items']}",
                "user_me": user_me,
            }
    
        app = FastAPI()
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  3. tests/test_security_openid_connect_description.py

    app = FastAPI()
    
    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
    
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 24 19:03:06 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  4. src/main/java/jcifs/util/InputValidator.java

        }
    
        /**
         * Validates username
         *
         * @param username the username to validate
         * @throws IllegalArgumentException if username is invalid
         */
        public static void validateUsername(String username) {
            if (username == null) {
                return; // Null username allowed for anonymous
            }
            if (username.length() > MAX_USERNAME_LENGTH) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/NtlmUtil.java

         * Generates the NTOWFv2 hash for the given domain, username, and password.
         *
         * @param domain the authentication domain
         * @param username the username
         * @param password the password
         *
         * @return the calculated mac
         */
        public static byte[] nTOWFv2(final String domain, final String username, final String password) {
            return nTOWFv2(domain, username, getNTHash(password));
        }
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  6. docs_src/configure_swagger_ui/tutorial001_py39.py

    from fastapi import FastAPI
    
    app = FastAPI(swagger_ui_parameters={"syntaxHighlight": False})
    
    
    @app.get("/users/{username}")
    async def read_user(username: str):
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 205 bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/NtlmNtHashAuthenticator.java

        /**
         * Create username/password credentials with specified domain
         *
         * @param domain the authentication domain
         * @param username the username
         * @param passwordHash
         *            NT password hash
         */
        public NtlmNtHashAuthenticator(final String domain, final String username, final byte[] passwordHash) {
            super(domain, username, (String) null, AuthenticationType.USER);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  8. docs/fr/docs/features.md

    Plus jamais vous ne vous tromperez en tapant le nom d'une clé, vous ne ferez des aller-retour entre votre code et la documentation ou vous ne scrollerez de haut en bas afin d'enfin savoir si vous devez taper `username` ou `user_name`.
    
    ### Court
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Oct 11 17:48:49 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  9. docs_src/configure_swagger_ui/tutorial002_py39.py

    from fastapi import FastAPI
    
    app = FastAPI(swagger_ui_parameters={"syntaxHighlight": {"theme": "obsidian"}})
    
    
    @app.get("/users/{username}")
    async def read_user(username: str):
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 221 bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/ftp/FtpAuthentication.java

            this.port = port;
        }
    
        /**
         * Returns the username.
         * @return The username.
         */
        public String getUsername() {
            return username;
        }
    
        /**
         * Sets the username.
         * @param username The username.
         */
        public void setUsername(final String username) {
            this.username = username;
        }
    
        /**
         * Returns the password.
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 3.7K bytes
    - Viewed (0)
Back to top