Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 588 for expiry (0.17 sec)

  1. docs_src/security/tutorial005_py310.py

    
    def create_access_token(data: dict, expires_delta: timedelta | None = None):
        to_encode = data.copy()
        if expires_delta:
            expire = datetime.now(timezone.utc) + expires_delta
        else:
            expire = datetime.now(timezone.utc) + timedelta(minutes=15)
        to_encode.update({"exp": expire})
        encoded_jwt = jwt.encode(to_encode, SECRET_KEY, algorithm=ALGORITHM)
        return encoded_jwt
    
    
    async def get_current_user(
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon May 20 17:37:28 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  2. ci/official/any.sh

    #    To use:
    #       export TFCI=ci/official/envs/env_goes_here
    #       export TF_ANY_TARGETS="quoted list of targets, like on the command line"
    #       export TF_ANY_MODE="test" or "build" or "run" (default: "test")
    #       ./any.sh
    #
    # 2. RUN ANY OTHER SCRIPT AND ENV WITH NO SIDE EFFECTS (NO UPLOADS)
    #    To use:
    #       export TFCI=ci/official/envs/env_goes_here
    #       export TF_ANY_SCRIPT=ci/official/wheel.sh
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Thu Feb 01 03:21:19 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  3. docs_src/security/tutorial004.py

    def create_access_token(data: dict, expires_delta: Union[timedelta, None] = None):
        to_encode = data.copy()
        if expires_delta:
            expire = datetime.now(timezone.utc) + expires_delta
        else:
            expire = datetime.now(timezone.utc) + timedelta(minutes=15)
        to_encode.update({"exp": expire})
        encoded_jwt = jwt.encode(to_encode, SECRET_KEY, algorithm=ALGORITHM)
        return encoded_jwt
    
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon May 20 17:37:28 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  4. docs_src/security/tutorial004_an_py310.py

    
    def create_access_token(data: dict, expires_delta: timedelta | None = None):
        to_encode = data.copy()
        if expires_delta:
            expire = datetime.now(timezone.utc) + expires_delta
        else:
            expire = datetime.now(timezone.utc) + timedelta(minutes=15)
        to_encode.update({"exp": expire})
        encoded_jwt = jwt.encode(to_encode, SECRET_KEY, algorithm=ALGORITHM)
        return encoded_jwt
    
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon May 20 17:37:28 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  5. docs/site-replication/run-multi-site-oidc.sh

    unset MINIO_KMS_KES_ENDPOINT
    unset MINIO_KMS_KES_KEY_NAME
    
    export MINIO_CI_CD=1
    export MINIO_BROWSER=off
    export MINIO_ROOT_USER="minio"
    export MINIO_ROOT_PASSWORD="minio123"
    export MINIO_KMS_AUTO_ENCRYPTION=off
    export MINIO_PROMETHEUS_AUTH_TYPE=public
    export MINIO_KMS_SECRET_KEY=my-minio-key:OSMM+vkKUTCvQs9YL/CVMIMt43HFhkUpqJxTmGl6rYw=
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 24 08:03:58 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  6. src/packaging/deb/init.d/fess

    export FESS_HEAP_SIZE
    export FESS_HEAP_NEWSIZE
    export FESS_DIRECT_SIZE
    export FESS_JAVA_OPTS
    export FESS_TEMP_PATH
    export FESS_LOG_PATH
    export FESS_CONF_PATH
    export FESS_VAR_PATH
    export FESS_DICTIONARY_PATH
    export SEARCH_ENGINE_HOME
    export SEARCH_ENGINE_HTTP_URL
    export FESS_JAVA_OPTS
    
    # Check DAEMON exists
    test -x $DAEMON || exit 0
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sun Jan 15 06:32:15 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  7. docs/site-replication/run-multi-site-ldap.sh

    unset MINIO_KMS_KES_KEY_NAME
    
    export MINIO_CI_CD=1
    export MINIO_BROWSER=off
    export MINIO_ROOT_USER="minio"
    export MINIO_ROOT_PASSWORD="minio123"
    export MINIO_KMS_AUTO_ENCRYPTION=off
    export MINIO_PROMETHEUS_AUTH_TYPE=public
    export MINIO_KMS_SECRET_KEY=my-minio-key:OSMM+vkKUTCvQs9YL/CVMIMt43HFhkUpqJxTmGl6rYw=
    export MINIO_IDENTITY_LDAP_SERVER_ADDR="localhost:389"
    export MINIO_IDENTITY_LDAP_SERVER_INSECURE="on"
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 24 08:03:58 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/cache/CacheBuilderGwtTest.java

        cache.put(56, 76);
        cache.put(23, 84);
    
        // Replace the two present elements.
        cache.put(23, 20);
        cache.put(56, 49);
        cache.put(23, 2);
        cache.put(56, 4);
    
        // Expire the two present elements.
        fakeTicker.advance(1001, MILLISECONDS);
    
        Integer unused1 = cache.getIfPresent(23);
        Integer unused2 = cache.getIfPresent(56);
    
        // Add two elements and invalidate them.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  9. cmd/endpoint-ellipses_test.go

    	}{
    		// Invalid inputs.
    		{
    			[]string{"data{1...17}/export{1...52}"},
    			[]uint64{14144},
    			nil,
    			false,
    		},
    		// Valid inputs.
    		{
    			[]string{"data{1...3}"},
    			[]uint64{3},
    			[][]uint64{{3}},
    			true,
    		},
    		{
    			[]string{"data/controller1/export{1...2}, data/controller2/export{1...4}, data/controller3/export{1...8}"},
    			[]uint64{2, 4, 8},
    			[][]uint64{{2}, {2, 2}, {2, 2, 2, 2}},
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  10. ci/official/utilities/setup.sh

    # read by setup.py.
    if [[ "$TFCI_INSTALLER_WHL_ENABLE" == 1 ]]; then
      export collaborator_build=True
      # If building nightly installer wheels, set the project name to
      # nightly equivalent.
      if [[ "$TFCI_NIGHTLY_UPDATE_VERSION_ENABLE" == 1 ]]; then
        export TFCI_INSTALLER_WHL_PROJECT_NAME="$TFCI_INSTALLER_WHL_NIGHTLY_PROJECT_NAME"
      fi
      export project_name="$TFCI_INSTALLER_WHL_PROJECT_NAME"
    fi
    
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Wed Aug 07 23:01:25 UTC 2024
    - 6K bytes
    - Viewed (0)
Back to top