Search Options

Results per page
Sort
Preferred Languages
Advance

Results 381 - 390 of 767 for token (0.02 sec)

  1. internal/config/lambda/target/webhook.go

    	if err != nil {
    		return nil, err
    	}
    
    	// Verify if the authToken already contains
    	// <Key> <Token> like format, if this is
    	// already present we can blindly use the
    	// authToken as is instead of adding 'Bearer'
    	tokens := strings.Fields(target.args.AuthToken)
    	switch len(tokens) {
    	case 2:
    		req.Header.Set("Authorization", target.args.AuthToken)
    	case 1:
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 08 21:39:49 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  2. docs/ru/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md

    ///
    
    /// дополнительная | информация
    
    В этом примере мы используем выдуманные пользовательские заголовки `X-Key` и `X-Token`.
    
    Но в реальных проектах, при внедрении системы безопасности, вы получите больше пользы используя интегрированные [средства защиты (следующая глава)](../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
    - 6.4K bytes
    - Viewed (0)
  3. samples/slack/src/main/java/okhttp3/slack/SlackApi.java

        }
      }
    
      /** See https://api.slack.com/methods/rtm.start. */
      public RtmStartResponse rtmStart(String accessToken) throws IOException {
        HttpUrl url = baseUrl.newBuilder("rtm.start")
            .addQueryParameter("token", accessToken)
            .build();
        Request request = new Request.Builder()
            .url(url)
            .build();
        Call call = httpClient.newCall(request);
        try (Response response = call.execute()) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Fri Jul 06 19:30:55 UTC 2018
    - 4.4K bytes
    - Viewed (0)
  4. cmd/storage-rest-server.go

    const DefaultSkewTime = 15 * time.Minute
    
    // validateStorageRequestToken will validate the token against the provided audience.
    func validateStorageRequestToken(token string) error {
    	claims := xjwt.NewStandardClaims()
    	if err := xjwt.ParseWithStandardClaims(token, claims, []byte(globalActiveCred.SecretKey)); err != nil {
    		return errAuthentication
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 14 17:11:51 UTC 2024
    - 45.7K bytes
    - Viewed (0)
  5. docs/sts/casdoor.md

    ## Explore Further
    
    - [Casdoor MinIO Integration](https://casdoor.org/docs/integration/minio)
    - [MinIO STS Quickstart Guide](https://min.io/docs/minio/linux/developers/security-token-service.html)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 29 04:28:45 UTC 2022
    - 6.6K bytes
    - Viewed (0)
  6. docs/de/docs/tutorial/security/index.md

        * Einem Query-Parameter.
        * Einem Header.
        * Einem Cookie.
    * `http`: Standard-HTTP-Authentifizierungssysteme, einschließlich:
        * `bearer`: ein Header `Authorization` mit dem Wert `Bearer` plus einem Token. Dies wird von OAuth2 geerbt.
        * HTTP Basic Authentication.
        * HTTP Digest, usw.
    * `oauth2`: Alle OAuth2-Methoden zum Umgang mit Sicherheit (genannt „Flows“).
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 5K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top