Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 161 - 170 of 518 for Password (0.05 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. .github/workflows/tests.yml

          with:
            path: ~/go/pkg/mod
            key: ${{ runner.os }}-go-${{ matrix.go }}-${{ hashFiles('tests/go.mod') }}
    
        - name: Tests
          run: GITHUB_ACTION=true GORM_DIALECT=postgres GORM_DSN="user=gorm password=gorm dbname=gorm host=localhost port=9920 sslmode=disable TimeZone=Asia/Shanghai" ./tests/tests_all.sh
    
      sqlserver:
        strategy:
          matrix:
            go: ['stable', 'oldstable']
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Mon Mar 23 10:05:06 GMT 2026
    - 9K bytes
    - Click Count (0)
  2. docs_src/response_model/tutorial003_01_py310.py

    from pydantic import BaseModel, EmailStr
    
    app = FastAPI()
    
    
    class BaseUser(BaseModel):
        username: str
        email: EmailStr
        full_name: str | None = None
    
    
    class UserIn(BaseUser):
        password: str
    
    
    @app.post("/user/")
    async def create_user(user: UserIn) -> BaseUser:
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Jan 07 13:45:48 GMT 2023
    - 317 bytes
    - Click Count (0)
  3. docs_src/response_model/tutorial002_py310.py

    from fastapi import FastAPI
    from pydantic import BaseModel, EmailStr
    
    app = FastAPI()
    
    
    class UserIn(BaseModel):
        username: str
        password: str
        email: EmailStr
        full_name: str | None = None
    
    
    # Don't do this in production!
    @app.post("/user/")
    async def create_user(user: UserIn) -> UserIn:
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Jan 07 13:45:48 GMT 2023
    - 318 bytes
    - Click Count (0)
  4. cmd/ftp-server-driver.go

    			lookupRes, groupDistNames, err := globalIAMSys.LDAPConfig.Bind(username, password)
    			if err != nil {
    				return false, err
    			}
    			ldapPolicies, _ := globalIAMSys.PolicyDBGet(lookupRes.NormDN, groupDistNames...)
    			return len(ldapPolicies) > 0, nil
    		}
    		return subtle.ConstantTimeCompare([]byte(sa.Credentials.SecretKey), []byte(password)) == 1, nil
    	}
    
    	ui, ok := globalIAMSys.GetUser(context.Background(), username)
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 14.3K bytes
    - Click Count (0)
  5. maven-tests/mvnw

    [ "${MVNW_VERBOSE-}" != true ] || __MVNW_QUIET_WGET='' __MVNW_QUIET_CURL='' __MVNW_QUIET_UNZIP='' __MVNW_QUIET_TAR=v
    
    # normalize http auth
    case "${MVNW_PASSWORD:+has-password}" in
    '') MVNW_USERNAME='' MVNW_PASSWORD='' ;;
    has-password) [ -n "${MVNW_USERNAME-}" ] || MVNW_USERNAME='' MVNW_PASSWORD='' ;;
    esac
    
    if [ -z "${MVNW_USERNAME-}" ] && command -v wget >/dev/null; then
      verbose "Found wget ... using wget"
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Thu Sep 25 18:22:49 GMT 2025
    - 10.4K bytes
    - Click Count (0)
  6. src/main/java/jcifs/internal/smb1/com/SmbComSessionSetupAndX.java

                            throw new RuntimeException("Plain text passwords are disabled");
                        } else {
                            // plain text
                            final String password = a.getPassword();
                            this.lmHash = new byte[(password.length() + 1) * 2];
                            this.ntHash = new byte[0];
                            writeString(password, this.lmHash, 0);
                        }
                    }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 8.9K bytes
    - Click Count (0)
  7. src/main/resources/fess_indices/fess_config.file_authentication/file_authentication.json

          },
          "port": {
            "type": "integer"
          },
          "protocolScheme": {
            "type": "keyword"
          },
          "username": {
            "type": "keyword"
          },
          "password": {
            "type": "keyword"
          },
          "parameters": {
            "type": "keyword"
          },
          "fileConfigId": {
            "type": "keyword"
          },
          "createdBy": {
            "type": "keyword"
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Dec 02 13:14:56 GMT 2021
    - 644 bytes
    - Click Count (0)
  8. src/main/resources/fess_indices/fess_config.web_authentication/web_authentication.json

          },
          "authRealm": {
            "type": "keyword"
          },
          "protocolScheme": {
            "type": "keyword"
          },
          "username": {
            "type": "keyword"
          },
          "password": {
            "type": "keyword"
          },
          "parameters": {
            "type": "keyword"
          },
          "webConfigId": {
            "type": "keyword"
          },
          "createdBy": {
            "type": "keyword"
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Dec 02 13:14:56 GMT 2021
    - 699 bytes
    - Click Count (0)
  9. cmd/admin-handlers-idp-ldap.go

    	}
    
    	// Encode result and send response.
    
    	data, err := json.Marshal(res)
    	if err != nil {
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    		return
    	}
    	password := cred.SecretKey
    	econfigData, err := madmin.EncryptData(password, data)
    	if err != nil {
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    		return
    	}
    	writeSuccessResponseJSON(w, econfigData)
    }
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 08 02:46:04 GMT 2025
    - 19.2K bytes
    - Click Count (0)
  10. docs/zh/docs/advanced/security/http-basic-auth.md

    为了解决这个问题,我们首先将 `username` 和 `password` 转换为使用 UTF-8 编码的 `bytes` 。
    
    然后我们可以使用 `secrets.compare_digest()` 来确保 `credentials.username` 是 `"stanleyjobson"`,且 `credentials.password` 是`"swordfish"`。
    
    {* ../../docs_src/security/tutorial007_an_py310.py hl[1,12:24] *}
    
    这类似于:
    
    ```Python
    if not (credentials.username == "stanleyjobson") or not (credentials.password == "swordfish"):
        # Return some error
        ...
    ```
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 4.4K bytes
    - Click Count (0)
Back to Top