Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 214 for Expires (0.06 sec)

  1. docs_src/security/tutorial005.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
    
    
    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.2K bytes
    - Viewed (0)
  2. docs_src/security/tutorial005_an.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
    
    
    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.3K bytes
    - Viewed (0)
  3. cmd/object-api-interface_gen.go

    		field, bts, err = msgp.ReadMapKeyZC(bts)
    		if err != nil {
    			err = msgp.WrapError(err)
    			return
    		}
    		switch msgp.UnsafeString(field) {
    		case "Expire":
    			z.Expire, bts, err = msgp.ReadBoolBytes(bts)
    			if err != nil {
    				err = msgp.WrapError(err, "Expire")
    				return
    			}
    		default:
    			bts, err = msgp.Skip(bts)
    			if err != nil {
    				err = msgp.WrapError(err)
    				return
    			}
    		}
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 22 21:57:20 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  4. cmd/iam-object-store.go

    	purgeStart := time.Now()
    
    	// Purge expired STS credentials.
    
    	// Scan STS users on disk and purge expired ones.
    	stsAccountsFromStore := map[string]UserIdentity{}
    	stsAccPoliciesFromStore := xsync.NewMapOf[string, MappedPolicy]()
    	for _, item := range listedConfigItems[stsListKey] {
    		userName := path.Dir(item)
    		// loadUser() will delete expired user during the load.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 23:40:37 UTC 2024
    - 26.6K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/timer/TimeoutTarget.java

    package org.codelibs.core.timer;
    
    /**
     * タイムアウトを処理するインターフェースです。
     *
     * @author higa
     *
     */
    @FunctionalInterface
    public interface TimeoutTarget {
    
        /**
         * タイムアウトの処理を記述します。
         */
        void expired();
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 904 bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/DosError.java

            "No process is on the other end of the pipe.", "More data is available.", "This user account has expired.",
            "The user is not allowed to log on from this workstation.", "The user is not allowed to log on at this time.",
            "The password of this user has expired.",
        };
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 10:52:42 UTC 2020
    - 4.8K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/DosError.java

            "No process is on the other end of the pipe.",
            "More data is available.",
            "This user account has expired.",
            "The user is not allowed to log on from this workstation.",
            "The user is not allowed to log on at this time.",
            "The password of this user has expired.",
        };
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 4.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/cache/CacheBuilder.java

       * useful in testing, or to disable caching temporarily without a code change.
       *
       * <p>Expired entries may be counted in {@link Cache#size}, but will never be visible to read or
       * write operations. Expired entries are cleaned up as part of the routine maintenance described
       * in the class javadoc.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 52K bytes
    - Viewed (0)
  9. CHANGELOG/CHANGELOG-1.22.md

    - Fixed an issue blocking azure auth to prompt to device code authentication flow when refresh token expires. ([#102063](https://github.com/kubernetes/kubernetes/pull/102063), [@tdihp](https://github.com/tdihp))
    Registered: Fri Nov 01 09:05:11 UTC 2024
    - Last Modified: Tue Dec 13 12:43:45 UTC 2022
    - 454.1K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/job/PurgeDocJob.java

            try {
                searchEngineClient.deleteByQuery(fessConfig.getIndexDocumentUpdateIndex(), queryBuilder);
    
            } catch (final Exception e) {
                logger.error("Could not delete expired documents: {}", queryBuilder, e);
                resultBuf.append(e.getMessage()).append("\n");
            }
    
            return resultBuf.toString();
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 1.8K bytes
    - Viewed (0)
Back to top