Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 661 - 670 of 1,182 for subjects (0.14 seconds)

  1. docs/zh-hant/docs/tutorial/security/oauth2-jwt.md

    用權杖有效期建立一個 `timedelta`。
    
    建立真正的 JWT access token 並回傳它。
    
    {* ../../docs_src/security/tutorial004_an_py310.py hl[121:136] *}
    
    ### 關於 JWT「主體」`sub` 的技術細節 { #technical-details-about-the-jwt-subject-sub }
    
    JWT 規範說有個鍵 `sub`,代表權杖的主體(subject)。
    
    使用它是可選的,但通常會把使用者的識別資訊放在這裡,所以我們在此採用。
    
    JWT 除了用來識別使用者並允許他直接對你的 API 執行操作外,也可用於其他用途。
    
    例如,你可以識別一台「車」或一篇「部落格文章」。
    
    接著可以替該實體加上權限,如「drive」(對車而言)或「edit」(對文章而言)。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 10.1K bytes
    - Click Count (0)
  2. docs/zh/docs/tutorial/security/oauth2-jwt.md

    用令牌的过期时间创建一个 `timedelta`。
    
    创建一个真正的 JWT 访问令牌并返回它。
    
    {* ../../docs_src/security/tutorial004_an_py310.py hl[121:136] *}
    
    ### 关于 JWT “主题” `sub` 的技术细节 { #technical-details-about-the-jwt-subject-sub }
    
    JWT 规范中有一个 `sub` 键,表示令牌的“主题”(subject)。
    
    使用它是可选的,但通常会把用户的标识放在这里,所以本例中我们使用它。
    
    JWT 除了用于识别用户并允许其直接在你的 API 上执行操作之外,还可能用于其他场景。
    
    例如,你可以用它来标识一辆“车”或一篇“博客文章”。
    
    然后你可以为该实体添加权限,比如“drive”(用于车)或“edit”(用于博客)。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 10.1K bytes
    - Click Count (0)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/BaseParser.java

    import java.nio.file.Paths;
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.HashMap;
    import java.util.List;
    import java.util.Locale;
    import java.util.Map;
    import java.util.Objects;
    import java.util.Properties;
    import java.util.function.UnaryOperator;
    import java.util.stream.Collectors;
    
    import org.apache.maven.api.Constants;
    import org.apache.maven.api.annotations.Nullable;
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 10 07:39:11 GMT 2025
    - 25.5K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/io/MoreFiles.java

        return dotIndex == -1 ? fileName : fileName.substring(0, dotIndex);
      }
    
      /**
       * Deletes the file or directory at the given {@code path} recursively. Deletes symbolic links,
       * not their targets (subject to the caveat below).
       *
       * <p>If an I/O exception occurs attempting to read, open or delete any file under the given
       * directory, this method skips that file and continues. All such exceptions are collected and,
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Apr 14 16:07:06 GMT 2025
    - 34.6K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/hash/LittleEndianByteArray.java

    import java.lang.reflect.Field;
    import java.nio.ByteOrder;
    import java.security.AccessController;
    import java.security.PrivilegedActionException;
    import java.security.PrivilegedExceptionAction;
    import java.util.Objects;
    import sun.misc.Unsafe;
    
    /**
     * Utility functions for loading and storing values from a byte array.
     *
     * @author Kevin Damm
     * @author Kyle Maddison
     */
    final class LittleEndianByteArray {
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 10.1K bytes
    - Click Count (0)
  6. src/main/java/jcifs/smb/SmbFile.java

        public int hashCode() {
            return this.fileLocator.hashCode();
        }
    
        /**
         * Tests to see if two <code>SmbFile</code> objects are equal. Two
         * SmbFile objects are equal when they reference the same SMB
         * resource. More specifically, two <code>SmbFile</code> objects are
         * equals if their server IP addresses are equal and the canonicalized
         * representation of their URLs, minus authentication parameters, are
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 103.2K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/collect/ImmutableSortedSet.java

       *
       * <p>Despite the method name, this method attempts to avoid actually copying the data when it is
       * safe to do so. The exact circumstances under which a copy will or will not be performed are
       * undocumented and subject to change.
       *
       * <p>This method is not type-safe, as it may be called on elements that are not mutually
       * comparable.
       *
       * @throws ClassCastException if the elements are not mutually comparable
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 23 17:50:58 GMT 2025
    - 36.8K bytes
    - Click Count (0)
  8. buildscripts/rewrite-old-new.sh

    	start_port=$1
    
    	export MINIO_ACCESS_KEY=minio
    	export MINIO_SECRET_KEY=minio123
    	export MC_HOST_minio="http://minio:minio123@127.0.0.1:${start_port}/"
    	unset MINIO_KMS_AUTO_ENCRYPTION # do not auto-encrypt objects
    	export MINIO_CI_CD=1
    
    	MC_BUILD_DIR="mc-$RANDOM"
    	if ! git clone --quiet https://github.com/minio/mc "$MC_BUILD_DIR"; then
    		echo "failed to download https://github.com/minio/mc"
    		purge "${MC_BUILD_DIR}"
    		exit 1
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Mon May 27 19:17:46 GMT 2024
    - 3.4K bytes
    - Click Count (0)
  9. internal/config/api/help.go

    			Optional:    true,
    			Type:        "duration",
    		},
    		config.HelpKV{
    			Key:         apiDeleteCleanupInterval,
    			Description: `set to change intervals when deleted objects are permanently deleted from ".trash" folder` + defaultHelpPostfix(apiDeleteCleanupInterval),
    			Optional:    true,
    			Type:        "duration",
    		},
    		config.HelpKV{
    			Key:         apiODirect,
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 16 08:43:49 GMT 2024
    - 4.4K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/collect/TreeBasedTable.java

    import static com.google.common.base.Preconditions.checkNotNull;
    import static com.google.common.collect.Iterables.transform;
    import static com.google.common.collect.Iterators.mergeSorted;
    import static java.util.Objects.requireNonNull;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    import com.google.common.base.Supplier;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Jul 18 15:05:43 GMT 2025
    - 11.6K bytes
    - Click Count (0)
Back to Top