Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 298 for usernames (0.21 seconds)

  1. docs/sts/rw-ldap-username.json

    Harshavardhana <******@****.***> 1622223187 -0700
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri May 28 17:33:07 GMT 2021
    - 201 bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/exception/FessUserNotFoundExceptionTest.java

            String username = null;
            FessUserNotFoundException exception = new FessUserNotFoundException(username);
    
            assertNotNull(exception);
            assertEquals("User is not found: null", exception.getMessage());
            assertNull(exception.getCause());
        }
    
        @Test
        public void test_constructor_withSpecialCharacters() {
            // Test with username containing special characters
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 6.8K bytes
    - Click Count (0)
  3. compat/maven-artifact/src/main/java/org/apache/maven/artifact/repository/Authentication.java

        }
    
        /**
         * Get the username used to access the repository.
         *
         * @return username at repository
         */
        public String getUsername() {
            return username;
        }
    
        /**
         * Set username used to access the repository.
         *
         * @param userName the username used to access repository
         */
        public void setUsername(final String userName) {
            this.username = userName;
        }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 3.1K bytes
    - Click Count (0)
  4. docs/en/docs/advanced/security/http-basic-auth.md

        * It contains the `username` and `password` sent.
    
    {* ../../docs_src/security/tutorial006_an_py310.py hl[4,8,12] *}
    
    When you try to open the URL for the first time (or click the "Execute" button in the docs) the browser will ask you for your username and password:
    
    <img src="/img/tutorial/security/image12.png">
    
    ## Check the username { #check-the-username }
    
    Here's a more complete example.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 5K bytes
    - Click Count (0)
  5. docs_src/security/tutorial003_an_py310.py

    oauth2_scheme = OAuth2PasswordBearer(tokenUrl="token")
    
    
    class User(BaseModel):
        username: str
        email: str | None = None
        full_name: str | None = None
        disabled: bool | None = None
    
    
    class UserInDB(User):
        hashed_password: str
    
    
    def get_user(db, username: str):
        if username in db:
            user_dict = db[username]
            return UserInDB(**user_dict)
    
    
    def fake_decode_token(token):
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Mon Nov 24 19:03:06 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  6. docs_src/security/tutorial005_an_py310.py

    
    def get_password_hash(password):
        return password_hash.hash(password)
    
    
    def get_user(db, username: str):
        if username in db:
            user_dict = db[username]
            return UserInDB(**user_dict)
    
    
    def authenticate_user(fake_db, username: str, password: str):
        user = get_user(fake_db, username)
        if not user:
            verify_password(password, DUMMY_HASH)
            return False
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 18:10:35 GMT 2026
    - 5.4K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/app/web/base/login/SpnegoCredential.java

         */
        public SpnegoCredential(final String username) {
            this.username = username;
        }
    
        /**
         * Gets the user identifier from this credential.
         *
         * @return The username from SPNEGO authentication
         */
        @Override
        public String getUserId() {
            return username;
        }
    
        /**
         * Returns a string representation of this credential.
         *
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 1.9K bytes
    - Click Count (1)
  8. tests/test_multipart_installation.py

        with pytest.raises(RuntimeError, match=multipart_incorrect_install_error):
            app = FastAPI()
    
            @app.post("/")
            async def root(username: str = Form()):
                return username  # pragma: nocover
    
    
    def test_incorrect_multipart_installed_file_upload(monkeypatch):
        monkeypatch.setattr("python_multipart.__version__", "0.0.12")
        with warnings.catch_warnings(record=True):
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Oct 27 21:46:26 GMT 2024
    - 5.7K bytes
    - Click Count (0)
  9. docs_src/security/tutorial003_py310.py

    oauth2_scheme = OAuth2PasswordBearer(tokenUrl="token")
    
    
    class User(BaseModel):
        username: str
        email: str | None = None
        full_name: str | None = None
        disabled: bool | None = None
    
    
    class UserInDB(User):
        hashed_password: str
    
    
    def get_user(db, username: str):
        if username in db:
            user_dict = db[username]
            return UserInDB(**user_dict)
    
    
    def fake_decode_token(token):
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Mon Nov 24 19:03:06 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  10. tests/test_schema_compat_pydantic_v2.py

        class User(BaseModel):
            username: str
            role: PlatformRole | OtherRole
    
        @app.get("/users")
        async def get_user() -> User:
            return {"username": "alice", "role": "admin"}
    
        client = TestClient(app)
        return client
    
    
    @needs_py310
    def test_get(client: TestClient):
        response = client.get("/users")
        assert response.json() == {"username": "alice", "role": "admin"}
    
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Mon Mar 23 12:36:49 GMT 2026
    - 4.1K bytes
    - Click Count (0)
Back to Top