Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 91 - 100 of 665 for tokens (0.15 seconds)

  1. docs/zh-hant/docs/features.md

    所有的驗證都由完善且強大的 **Pydantic** 處理。
    
    ### 安全性及身份驗證 { #security-and-authentication }
    
    FastAPI 已經整合了安全性和身份驗證的功能,但不會強制與特定的資料庫或資料模型進行綁定。
    
    OpenAPI 中定義的安全模式,包括:
    
    * HTTP 基本認證。
    * **OAuth2**(也使用 **JWT tokens**)。在 [OAuth2 with JWT](tutorial/security/oauth2-jwt.md) 查看教學。
    * API 密鑰,在:
        * 標頭(Header)
        * 查詢參數
        * Cookies,等等。
    
    加上來自 Starlette(包括 **session cookie**)的所有安全特性。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 9.2K bytes
    - Click Count (0)
  2. internal/bucket/object/lock/lock.go

    	default:
    		return xml.UnmarshalError(fmt.Sprintf("expected element type <LegalHold>/<ObjectLockLegalHold> but have <%s>",
    			start.Name.Local))
    	}
    	for {
    		// Read tokens from the XML document in a stream.
    		t, err := d.Token()
    		if err != nil {
    			if err == io.EOF {
    				break
    			}
    			return err
    		}
    
    		if se, ok := t.(xml.StartElement); ok {
    			switch se.Name.Local {
    			case "Status":
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 17.9K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/sso/spnego/SpnegoAuthenticator.java

            }
        }
    
        /**
         * Attempts to obtain login credentials using SPNEGO authentication.
         *
         * This method processes the HTTP request to extract and validate SPNEGO
         * authentication tokens. It handles the SPNEGO handshake process and
         * extracts the user principal from successful authentication.
         *
         * @return The login credential containing the authenticated username,
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Mar 15 08:18:23 GMT 2026
    - 18.2K bytes
    - Click Count (3)
  4. docs/uk/docs/index.md

    * Безпеку та автентифікацію, включно з підтримкою **OAuth2** з **JWT tokens** та **HTTP Basic** auth.
    * Досконаліші (але однаково прості) техніки для оголошення **глибоко вкладених моделей JSON** (завдяки Pydantic).
    * Інтеграцію **GraphQL** з [Strawberry](https://strawberry.rocks) та іншими бібліотеками.
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:27:41 GMT 2026
    - 29.1K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/llm/AbstractLlmClient.java

        /**
         * Checks if the LLM response has empty/blank content with a "length" finish reason.
         * This typically indicates that a reasoning model consumed all tokens for internal
         * reasoning, leaving no tokens for actual output content.
         *
         * @param response the LLM chat response
         * @return true if content is empty/blank and finish reason is "length"
         */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 21 06:04:58 GMT 2026
    - 72K bytes
    - Click Count (0)
  6. cmd/admin-router.go

    		adminRouter.Methods(http.MethodGet).Path(adminVersion + "/healthinfo").
    			HandlerFunc(adminMiddleware(adminAPI.HealthInfoHandler))
    
    		// STS Revocation
    		adminRouter.Methods(http.MethodPost).Path(adminVersion + "/revoke-tokens/{userProvider}").HandlerFunc(adminMiddleware(adminAPI.RevokeTokens))
    	}
    
    	// If none of the routes match add default error handler routes
    	adminRouter.NotFoundHandler = httpTraceAll(errorResponseHandler)
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Oct 10 18:57:03 GMT 2025
    - 26.7K bytes
    - Click Count (0)
  7. src/cmd/asm/internal/asm/parse.go

    	}
    }
    
    // have reports whether the remaining tokens (including the current one) contain the specified token.
    func (p *Parser) have(token lex.ScanToken) bool {
    	for i := p.inputPos; i < len(p.input); i++ {
    		if p.input[i].ScanToken == token {
    			return true
    		}
    	}
    	return false
    }
    
    // at reports whether the next tokens are as requested.
    func (p *Parser) at(next ...lex.ScanToken) bool {
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Tue Feb 17 19:57:47 GMT 2026
    - 37.3K bytes
    - Click Count (0)
  8. docs/de/docs/tutorial/security/oauth2-jwt.md

    Aktualisieren Sie `get_current_user`, um den gleichen Token wie zuvor zu erhalten, dieses Mal jedoch unter Verwendung von JWT-Tokens.
    
    Dekodieren Sie den empfangenen Token, validieren Sie ihn und geben Sie den aktuellen Benutzer zurück.
    
    Wenn der Token ungültig ist, geben Sie sofort einen HTTP-Fehler zurück.
    
    {* ../../docs_src/security/tutorial004_an_py310.py hl[93:110] *}
    
    ## Die *Pfadoperation* `/token` aktualisieren { #update-the-token-path-operation }
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:58:09 GMT 2026
    - 12.9K bytes
    - Click Count (0)
  9. src/bytes/bytes_test.go

    	}
    }
    
    func makeBenchInputHard() []byte {
    	tokens := [...]string{
    		"<a>", "<p>", "<b>", "<strong>",
    		"</a>", "</p>", "</b>", "</strong>",
    		"hello", "world",
    	}
    	x := make([]byte, 0, 1<<20)
    	r := rand.New(rand.NewSource(99))
    	for {
    		i := r.Intn(len(tokens))
    		if len(x)+len(tokens[i]) >= 1<<20 {
    			break
    		}
    		x = append(x, tokens[i]...)
    	}
    	return x
    }
    
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Wed Mar 11 03:07:05 GMT 2026
    - 62.9K bytes
    - Click Count (0)
  10. docs/es/docs/tutorial/security/oauth2-jwt.md

    Actualiza `get_current_user` para recibir el mismo token que antes, pero esta vez, usando tokens JWT.
    
    Decodifica el token recibido, verifícalo y devuelve el usuario actual.
    
    Si el token es inválido, devuelve un error HTTP de inmediato.
    
    {* ../../docs_src/security/tutorial004_an_py310.py hl[93:110] *}
    
    ## Actualizar la *path operation* `/token` { #update-the-token-path-operation }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 11.5K bytes
    - Click Count (0)
Back to Top