Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 31 - 40 of 293 for tweens (0.04 seconds)

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

    ## 回傳 token { #return-the-token }
    
    `token` 端點的回應必須是 JSON 物件。
    
    它應該有一個 `token_type`。在本例中,我們使用「Bearer」tokens,token 類型應該是「`bearer`」。
    
    而且它還應該有一個 `access_token`,其值為包含我們存取權杖的字串。
    
    在這個簡單示例中,我們會不安全地直接回傳相同的 `username` 當作 token。
    
    /// tip
    
    下一章你會看到真正安全的實作,包含密碼雜湊與 <abbr title="JSON Web Tokens - JSON 網頁權杖">JWT</abbr> tokens。
    
    但現在先把注意力放在我們需要的這些細節上。
    
    ///
    
    {* ../../docs_src/security/tutorial003_an_py310.py hl[87] *}
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 9.1K bytes
    - Click Count (0)
  2. cmd/sftp-server.go

    	allowMACs := supportedMACs
    	var err error
    
    	for _, arg := range args {
    		tokens := strings.SplitN(arg, "=", 2)
    		if len(tokens) != 2 {
    			logger.Fatal(fmt.Errorf("invalid arguments passed to --sftp=%s", arg), "unable to start SFTP server")
    		}
    		switch tokens[0] {
    		case "address":
    			host, portStr, err := net.SplitHostPort(tokens[1])
    			if err != nil {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 16.5K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/llm/LlmChatRequest.java

            return this;
        }
    
        /**
         * Gets the maximum tokens for the response.
         *
         * @return the maximum tokens
         */
        public Integer getMaxTokens() {
            return maxTokens;
        }
    
        /**
         * Sets the maximum tokens for the response.
         *
         * @param maxTokens the maximum tokens
         * @return this request for method chaining
         */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 05 03:38:31 GMT 2026
    - 6.4K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/helper/AccessTokenHelperTest.java

            List<String> tokens = new ArrayList<String>();
            for (int i = 0; i < NUM; i++) {
                tokens.add(accessTokenHelper.generateAccessToken());
            }
            for (int i = 0; i < NUM; i++) {
                assertFalse(tokens.get(i).isEmpty());
                for (int j = i + 1; j < NUM; j++) {
                    assertFalse(tokens.get(i).equals(tokens.get(j)));
                }
            }
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 6.7K bytes
    - Click Count (0)
  5. docs/site-replication/README.md

    Previously, site replication required the root credentials of peer sites to be identical. This is no longer necessary because STS tokens are now signed with the site replicator service account credentials, thus allowing flexibility in the independent management of root accounts across sites and the ability to disable root accounts eventually.
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Aug 12 18:20:36 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  6. cmd/signature-v2.go

    func doesPresignV2SignatureMatch(r *http.Request) APIErrorCode {
    	// r.RequestURI will have raw encoded URI as sent by the client.
    	tokens := strings.SplitN(r.RequestURI, "?", 2)
    	encodedResource := tokens[0]
    	encodedQuery := ""
    	if len(tokens) == 2 {
    		encodedQuery = tokens[1]
    	}
    
    	var (
    		filteredQueries []string
    		gotSignature    string
    		expires         string
    		accessKey       string
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 12.2K bytes
    - Click Count (0)
  7. internal/s3select/sql/parser_test.go

    	lex, err := sqlLexer.Lex(s)
    	if err != nil {
    		t.Fatal(err)
    	}
    	tokens, err := lexer.ConsumeAll(lex)
    	if err != nil {
    		t.Fatal(err)
    	}
    	// for i, t := range tokens {
    	// 	fmt.Printf("%d: %#v\n", i, t)
    	// }
    	if len(tokens) != 7 {
    		t.Fatalf("Expected 7 got %d", len(tokens))
    	}
    }
    
    func TestSelectWhere(t *testing.T) {
    	p := participle.MustBuild(
    		&Select{},
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 9.2K bytes
    - Click Count (0)
  8. docs/es/docs/tutorial/security/first-steps.md

    # Seguridad - Primeros pasos { #security-first-steps }
    
    Imaginemos que tienes tu API de **backend** en algún dominio.
    
    Y tienes un **frontend** en otro dominio o en un path diferente del mismo dominio (o en una aplicación móvil).
    
    Y quieres tener una forma para que el frontend se autentique con el backend, usando un **username** y **password**.
    
    Podemos usar **OAuth2** para construir eso con **FastAPI**.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 8.8K bytes
    - Click Count (0)
  9. docs/es/docs/how-to/graphql.md

    Dependiendo de tu caso de uso, podrías preferir usar un paquete diferente, pero si me preguntas, probablemente te sugeriría probar **Strawberry**.
    
    Aquí tienes una pequeña vista previa de cómo podrías integrar Strawberry con FastAPI:
    
    {* ../../docs_src/graphql_/tutorial001_py310.py hl[3,22,25] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 2.9K bytes
    - Click Count (0)
  10. docs/es/docs/tutorial/body-nested-models.md

    Pero tampoco tienes que preocuparte por ellos, los `dicts` entrantes se convierten automáticamente y tu salida se convierte automáticamente a JSON también.
    
    ## Cuerpos de `dict`s arbitrarios { #bodies-of-arbitrary-dicts }
    
    También puedes declarar un cuerpo como un `dict` con claves de algún tipo y valores de algún otro tipo.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 7.2K bytes
    - Click Count (0)
Back to Top