Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 47 for Username (0.07 seconds)

  1. 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)
  2. fastapi/security/oauth2.py

                    """
                ),
            ] = None,
            username: Annotated[
                str,
                Form(),
                Doc(
                    """
                    `username` string. The OAuth2 spec requires the exact field name
                    `username`.
    
                    Read more about it in the
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Mar 24 16:32:10 GMT 2026
    - 23.6K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/app/web/admin/dataconfig/AdminDataconfigAction.java

        /**
         * Get a data config entity from a form.
         * @param form The create form.
         * @param username The username.
         * @param currentTime The current time.
         * @return An optional entity of a data config.
         */
        public static OptionalEntity<DataConfig> getEntity(final CreateForm form, final String username, final long currentTime) {
            switch (form.crudMode) {
            case CrudMode.CREATE:
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 11:54:13 GMT 2026
    - 21K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/app/web/admin/fileconfig/AdminFileconfigAction.java

         *
         * @param form the create form
         * @param username the current username
         * @param currentTime the current time
         * @return optional file configuration entity
         */
        public static OptionalEntity<FileConfig> getEntity(final CreateForm form, final String username, final long currentTime) {
            switch (form.crudMode) {
            case CrudMode.CREATE:
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 11:54:13 GMT 2026
    - 21.8K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/app/web/admin/webconfig/AdminWebconfigAction.java

         *
         * @param form the form containing the web config data
         * @param username the username of the current user
         * @param currentTime the current timestamp
         * @return an optional WebConfig entity
         */
        public static OptionalEntity<WebConfig> getEntity(final CreateForm form, final String username, final long currentTime) {
            switch (form.crudMode) {
            case CrudMode.CREATE:
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 11:54:13 GMT 2026
    - 22.2K bytes
    - Click Count (0)
  6. src/main/resources/app.xml

    					<property name="updateCommand">[
    					"/usr/sbin/htpasswd",
    					"-b",
    					"/tmp/test.txt",
    					"$USERNAME",
    					"$PASSWORD"
    					]</property>
    					<property name="deleteCommand">[
    					"/usr/sbin/htpasswd",
    					"-D",
    					"/tmp/test.txt",
    					"$USERNAME"
    					]</property>
    					<property name="targetUsers">[
    					"admin"
    					]</property>
    				</component>
    			</arg>
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:59:19 GMT 2026
    - 4K bytes
    - Click Count (0)
  7. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/BuildEnvironment.kt

            get() = System.getProperty("slow.internet.connection", "false")!!.toBoolean()
        val agentNum: Int
            get() {
                if (System.getenv().containsKey("USERNAME")) {
                    val agentNumEnv = System.getenv("USERNAME").replaceFirst("tcagent", "")
                    if (Regex("""\d+""").containsMatchIn(agentNumEnv)) {
                        return agentNumEnv.toInt()
                    }
                }
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Mar 25 08:51:12 GMT 2026
    - 4.9K bytes
    - Click Count (1)
  8. src/main/resources/fess_label_en.properties

    labels.check_url=Please check the URL.
    labels.busy_title=Service Temporarily Unavailable
    labels.busy_message=The server is currently experiencing high load. Please try again later.
    labels.user_name=Username
    labels.login=Login
    labels.login.placeholder_username=Username
    labels.login.placeholder_password=Password
    labels.login.title=Login
    labels.index_label=Label
    labels.index_lang=Preferred Language
    labels.index_sort=Sort
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 11:54:13 GMT 2026
    - 48.9K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/mylasta/direction/FessProp.java

        default String getLdapSecurityPrincipal(final String username) {
            final String value;
            final int maxLength = getLdapMaxUsernameLengthAsInteger();
            if (username == null) {
                value = StringUtil.EMPTY;
            } else if (maxLength >= 0 && username.length() > maxLength) {
                value = LdapUtil.escapeValue(username.substring(0, maxLength));
            } else {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:08 GMT 2026
    - 92.3K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/api/chat/ChatApiManager.java

        protected String getUserId(final HttpServletRequest request) {
            final SystemHelper systemHelper = ComponentUtil.getSystemHelper();
            final String username = systemHelper.getUsername();
            if (!org.codelibs.fess.Constants.GUEST_USER.equals(username)) {
                return username;
            }
            // For guest users, use cookie-based userCode for session identification
            return ComponentUtil.getUserInfoHelper().getUserCode();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 06:06:55 GMT 2026
    - 25.8K bytes
    - Click Count (0)
Back to Top