Search Options

Results per page
Sort
Preferred Languages
Advance

Results 631 - 640 of 2,735 for retorno (0.07 sec)

  1. docs_src/security/tutorial004_an.py

    app = FastAPI()
    
    
    def verify_password(plain_password, hashed_password):
        return pwd_context.verify(plain_password, hashed_password)
    
    
    def get_password_hash(password):
        return pwd_context.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):
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Mon May 20 17:37:28 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  2. internal/config/identity/openid/provider/keycloak.go

    	if err != nil {
    		return User{}, err
    	}
    	defer resp.Body.Close()
    	switch resp.StatusCode {
    	case http.StatusOK, http.StatusPartialContent:
    		var u User
    		if err = json.NewDecoder(resp.Body).Decode(&u); err != nil {
    			return User{}, err
    		}
    		return u, nil
    	case http.StatusNotFound:
    		return User{
    			ID:      userid,
    			Enabled: false,
    		}, nil
    	case http.StatusUnauthorized:
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Sun Jul 14 18:12:07 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/web/admin/fileauth/AdminFileauthAction.java

            case CrudMode.CREATE:
                return OptionalEntity.of(new FileAuthentication()).map(entity -> {
                    entity.setCreatedBy(username);
                    entity.setCreatedTime(currentTime);
                    return entity;
                });
            case CrudMode.EDIT:
                if (form instanceof EditForm) {
    Registered: Mon Oct 28 08:04:08 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/admin/reqheader/AdminReqheaderAction.java

            case CrudMode.CREATE:
                return OptionalEntity.of(new RequestHeader()).map(entity -> {
                    entity.setCreatedBy(username);
                    entity.setCreatedTime(currentTime);
                    return entity;
                });
            case CrudMode.EDIT:
                if (form instanceof EditForm) {
    Registered: Mon Oct 28 08:04:08 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  5. cmd/warm-backend.go

    func (op tierOp) String() string {
    	switch op {
    	case tierGet:
    		return "GET"
    	case tierPut:
    		return "PUT"
    	case tierDelete:
    		return "DELETE"
    	}
    	return "UNKNOWN"
    }
    
    type tierPermErr struct {
    	Op  tierOp
    	Err error
    }
    
    func (te tierPermErr) Error() string {
    	return fmt.Sprintf("failed to perform %s: %v", te.Op, te.Err)
    }
    
    func errIsTierPermError(err error) bool {
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Wed Jul 03 07:17:20 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/mylasta/direction/FessEnv.java

                return get(FessEnv.lasta_di_SMART_DEPLOY_MODE);
            }
    
            public String getDevelopmentHere() {
                return get(FessEnv.DEVELOPMENT_HERE);
            }
    
            public boolean isDevelopmentHere() {
                return is(FessEnv.DEVELOPMENT_HERE);
            }
    
            public String getEnvironmentTitle() {
                return get(FessEnv.ENVIRONMENT_TITLE);
            }
    Registered: Mon Oct 28 08:04:08 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  7. cni/pkg/plugin/testdata/tproxy.txt.golden

    -A ISTIO_INBOUND -p tcp --dport 15020 -j RETURN
    -A ISTIO_INBOUND -p tcp --dport 15021 -j RETURN
    -A ISTIO_INBOUND -p tcp --dport 15090 -j RETURN
    -A ISTIO_INBOUND -p tcp -m conntrack --ctstate RELATED,ESTABLISHED -j ISTIO_DIVERT
    -A ISTIO_INBOUND -p tcp -j ISTIO_TPROXY
    -A PREROUTING -p tcp -m mark --mark 1337 -j CONNMARK --save-mark
    -A OUTPUT -p tcp -o lo -m mark --mark 1337 -j RETURN
    Registered: Wed Oct 30 22:53:10 UTC 2024
    - Last Modified: Thu Feb 16 22:54:20 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/dict/stopwords/StopwordsItem.java

        }
    
        public String getNewInput() {
            return newInput;
        }
    
        public void setNewInput(final String newInput) {
            this.newInput = newInput;
        }
    
        public String getInput() {
            return input;
        }
    
        public String getInputValue() {
            if (input == null) {
                return StringUtil.EMPTY;
            }
            return input;
        }
    
        public boolean isUpdated() {
    Registered: Mon Oct 28 08:04:08 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  9. cmd/api-resources.go

    		if maxkeys, err = strconv.Atoi(values.Get("max-keys")); err != nil {
    			errCode = ErrInvalidMaxKeys
    			return
    		}
    	} else {
    		maxkeys = maxObjectList
    	}
    
    	prefix = values.Get("prefix")
    	marker = values.Get("marker")
    	delimiter = values.Get("delimiter")
    	encodingType = values.Get("encoding-type")
    	return
    }
    
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Wed Jun 07 18:25:26 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/es/config/cbean/bs/BsFileConfigCB.java

        @Override
        public FileConfigDbm asDBMeta() {
            return FileConfigDbm.getInstance();
        }
    
        @Override
        public String asTableDbName() {
            return "file_config";
        }
    
        @Override
        public boolean hasSpecifiedColumn() {
            return _specification != null;
        }
    
        @Override
        public ConditionQuery localCQ() {
            return doGetConditionQuery();
        }
    
    Registered: Mon Oct 28 08:04:08 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 8.2K bytes
    - Viewed (0)
Back to top