Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 2,769 for user (0.02 sec)

  1. docs_src/security/tutorial002_an_py39.py

        user = fake_decode_token(token)
        return user
    
    
    @app.get("/users/me")
    async def read_users_me(current_user: Annotated[User, Depends(get_current_user)]):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 786 bytes
    - Viewed (0)
  2. dbflute_fess/dfprop/replaceSchemaMap.dfprop

        # o additionalUserMap: (NotRequired - Default map:{})
        #  You can set additional users.
        #  Elements of this map are as below:
        #   o key of map: User Definition Name (userDefName)
        #   o url: (NotRequired - Default same as one of main schema)
        #   o schema: (NotRequired - Default treated as no schema setting)
        #   o user: (Required)
        #   o password: password plainly or path to password file (with default password)
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 31 23:35:14 UTC 2015
    - 9.3K bytes
    - Viewed (0)
  3. tests/test_dependency_security_overrides.py

        response = client.get("/user")
        assert response.json() == {
            "user": "john",
            "scopes": ["foo", "bar"],
            "data": [3, 4, 5],
        }
        app.dependency_overrides = {}
    
    
    def test_override_security():
        app.dependency_overrides[get_user] = get_user_override
        response = client.get("/user")
        assert response.json() == {
            "user": "alice",
            "scopes": ["foo", "bar"],
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Jun 14 15:54:46 UTC 2020
    - 1.4K bytes
    - Viewed (0)
  4. docs_src/security/tutorial004_py310.py

            data={"sub": user.username}, expires_delta=access_token_expires
        )
        return Token(access_token=access_token, token_type="bearer")
    
    
    @app.get("/users/me/", response_model=User)
    async def read_users_me(current_user: User = Depends(get_current_active_user)):
        return current_user
    
    
    @app.get("/users/me/items/")
    async def read_own_items(current_user: User = Depends(get_current_active_user)):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon May 20 17:37:28 UTC 2024
    - 4K bytes
    - Viewed (0)
  5. docs_src/security/tutorial005_py310.py

        )
        return Token(access_token=access_token, token_type="bearer")
    
    
    @app.get("/users/me/", response_model=User)
    async def read_users_me(current_user: User = Depends(get_current_active_user)):
        return current_user
    
    
    @app.get("/users/me/items/")
    async def read_own_items(
        current_user: User = Security(get_current_active_user, scopes=["items"]),
    ):
        return [{"item_id": "Foo", "owner": current_user.username}]
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon May 20 17:37:28 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  6. src/packaging/common/scripts/preinst

                echo " OK"
            fi
    
            # Create fess user if not existing
            if ! id $FESS_USER > /dev/null 2>&1 ; then
                echo -n "Creating $FESS_USER user..."
                useradd --system \
                        -M \
                        --gid "$FESS_GROUP" \
                        --shell /sbin/nologin \
                        --comment "fess user" \
                        -d "$FESS_USER_HOME"  \
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Dec 01 09:48:15 UTC 2016
    - 2.3K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/auth/AuthenticationManager.java

        }
    
        public void delete(final User user) {
            chains().of(stream -> stream.forEach(c -> c.delete(user)));
        }
    
        public User load(final User user) {
            User u = user;
            for (final AuthenticationChain chain : chains) {
                u = chain.load(u);
            }
            return u;
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  8. compat/maven-embedder/src/test/java/org/apache/maven/cli/props/MavenPropertiesLoaderTest.java

            Files.createDirectories(mavenConf);
            Path mavenUserProps = mavenConf.resolve("maven.properties");
            Files.writeString(mavenUserProps, "${includes} = ?\"/user/ma ven.properties\",  ?/foo/bar\n");
            Path userDirectory = fs.getPath("/user");
            Files.createDirectories(userDirectory);
            Path propsPath = userDirectory.resolve("ma ven.properties");
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  9. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/SettingsBuildingRequest.java

        /**
         * Gets the user properties to use for interpolation. The user properties have been configured directly by the user
         * on his discretion, e.g. via the {@code -Dkey=value} parameter on the command line.
         *
         * @return The user properties, never {@code null}.
         */
        Properties getUserProperties();
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/ldap/LdapManagerTest.java

            permissionList.add("2aaa");
    
            allowEmptyPermission.set(true);
            assertTrue(ldapManager.allowEmptyGroupAndRole(user));
            allowEmptyPermission.set(false);
            assertTrue(ldapManager.allowEmptyGroupAndRole(user));
    
            permissionList.clear();
            permissionList.add("Raaa");
    
            allowEmptyPermission.set(true);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 5.2K bytes
    - Viewed (0)
Back to top