Search Options

Results per page
Sort
Preferred Languages
Advance

Results 501 - 510 of 743 for tokens (0.1 sec)

  1. docs/zh/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md

    /// tip | "提示"
    
    有些编辑器会检查代码中没使用过的函数参数,并显示错误提示。
    
    在*路径操作装饰器*中使用 `dependencies` 参数,可以确保在执行依赖项的同时,避免编辑器显示错误提示。
    
    使用路径装饰器依赖项还可以避免开发新人误会代码中包含无用的未使用参数。
    
    ///
    
    /// info | "说明"
    
    本例中,使用的是自定义响应头 `X-Key` 和 `X-Token`。
    
    但实际开发中,尤其是在实现安全措施时,最好使用 FastAPI 内置的[安全工具](../security/index.md){.internal-link target=_blank}(详见下一章)。
    
    ///
    
    ## 依赖项错误和返回值
    
    路径装饰器依赖项也可以使用普通的依赖项*函数*。
    
    ### 依赖项的需求项
    
    路径装饰器依赖项可以声明请求的需求项(比如响应头)或其他子依赖项:
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/security/index.md

        * A query parameter.
        * A header.
        * A cookie.
    * `http`: standard HTTP authentication systems, including:
        * `bearer`: a header `Authorization` with a value of `Bearer ` plus a token. This is inherited from OAuth2.
        * HTTP Basic authentication.
        * HTTP Digest, etc.
    * `oauth2`: all the OAuth2 ways to handle security (called "flows").
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/es/config/exentity/WebConfigTest.java

                    return StringUtil.EMPTY;
                }
    
                @Override
                public String getAppEncryptPropertyPattern() {
                    return ".*password|.*key|.*token|.*secret";
                }
            };
            ComponentUtil.setFessConfig(fessConfig);
            SystemHelper systemHelper = new SystemHelper() {
                @Override
                public String getProductVersion() {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu May 09 09:48:04 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  4. src/cmd/api/main_test.go

    				exitCode = 1
    			}
    		}
    		nonblank = append(nonblank, line)
    	}
    	return nonblank
    }
    
    var fset = token.NewFileSet()
    
    type Walker struct {
    	context     *build.Context
    	root        string
    	scope       []string
    	current     *apiPackage
    	deprecated  map[token.Pos]bool
    	features    map[string]bool              // set
    	imported    map[string]*apiPackage       // packages already imported
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Sep 04 18:16:59 UTC 2024
    - 31.4K bytes
    - Viewed (0)
  5. cni/README.md

    - `install-cni` container
        - copies `istio-cni` and `istio-iptables` to `/opt/cni/bin`
        - creates kubeconfig for the service account the pod runs under
        - periodically copy the K8S JWT token for istio-cni on the host to connect to K8S.
        - injects the CNI plugin config to the CNI config file
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Jul 17 23:10:17 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/SmbComNegotiateResponse.java

                }
            } else {
                server.guid = new byte[16];
                System.arraycopy(buffer, bufferIndex, server.guid, 0, 16); 
                server.oemDomainName = new String();
                // ignore SPNEGO token for now ...
            }
    
            return bufferIndex - start;
        }
        public String toString() {
            return new String( "SmbComNegotiateResponse[" +
                super.toString() +
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 6.1K bytes
    - Viewed (0)
  7. docs/en/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md

    It might also help avoid confusion for new developers that see an unused parameter in your code and could think it's unnecessary.
    
    ///
    
    /// info
    
    In this example we use invented custom headers `X-Key` and `X-Token`.
    
    But in real cases, when implementing security, you would get more benefits from using the integrated [Security utilities (the next chapter)](../security/index.md){.internal-link target=_blank}.
    
    ///
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 4K bytes
    - Viewed (0)
  8. internal/config/subnet/config.go

    		Key:   config.APIKey,
    		Value: "",
    	},
    	config.KV{
    		Key:   config.Proxy,
    		Value: "",
    	},
    }
    
    // Config represents the subnet related configuration
    type Config struct {
    	// The subnet license token - Deprecated Dec 2021
    	License string `json:"license"`
    
    	// The subnet api key
    	APIKey string `json:"apiKey"`
    
    	// The HTTP(S) proxy URL to use for connecting to SUBNET
    	Proxy string `json:"proxy"`
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

       *       superclass, no equality check is done on the deserialized instance because it's not clear
       *       whether the author intended for the class to be a value type.
       *   <li>If a constructor or factory method takes a parameter whose type is interface, a dynamic
       *       proxy will be passed to the method. It's possible that the method body expects an
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 19:43:49 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  10. compat/maven-embedder/src/main/java/org/apache/maven/cli/props/MavenPropertiesLoader.java

                            tokStarted = true;
                            tokBuf.append(tok.trim());
                            break;
                    }
                }
    
                // Handle case where end of token stream and
                // still got data
                if ((!exit) && (tokStarted)) {
                    retVal = tokBuf.toString();
                }
            }
    
            return optional ? "?" + retVal : retVal;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.5K bytes
    - Viewed (0)
Back to top