Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 81 - 90 of 672 for toSend (0.08 seconds)

  1. docs/pt/docs/how-to/conditional-openapi.md

    * Configure quaisquer permissões e funções necessárias usando dependências.
    * Nunca armazene senhas em texto simples, apenas hashes de senha.
    * Implemente e use ferramentas criptográficas bem conhecidas, como pwdlib e tokens JWT, etc.
    * Adicione controles de permissão mais granulares com escopos OAuth2 quando necessário.
    * ...etc.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 2.6K bytes
    - Click Count (0)
  2. internal/config/lambda/event/arn.go

    		return nil, &ErrInvalidARN{s}
    	}
    
    	tokens := strings.Split(s, ":")
    	if len(tokens) != 6 {
    		return nil, &ErrInvalidARN{s}
    	}
    
    	if tokens[4] == "" || tokens[5] == "" {
    		return nil, &ErrInvalidARN{s}
    	}
    
    	return &ARN{
    		region: tokens[3],
    		TargetID: TargetID{
    			ID:   tokens[4],
    			Name: tokens[5],
    		},
    	}, nil
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Mar 30 00:56:02 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  3. internal/event/targetid.go

    	return nil
    }
    
    // parseTargetID - parses string to TargetID.
    func parseTargetID(s string) (*TargetID, error) {
    	tokens := strings.Split(s, ":")
    	if len(tokens) != 2 {
    		return nil, fmt.Errorf("invalid TargetID format '%v'", s)
    	}
    
    	return &TargetID{
    		ID:   tokens[0],
    		Name: tokens[1],
    	}, nil
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 1.8K bytes
    - Click Count (0)
  4. tests/test_tutorial/test_bigger_applications/test_main.py

        response = client.put(
            "/items/bar?token=jessica", headers={"X-Token": "fake-super-secret-token"}
        )
        assert response.status_code == 403, response.text
        assert response.json() == {"detail": "You can only update the item: plumbus"}
    
    
    def test_admin(client: TestClient):
        response = client.post(
            "/admin/?token=jessica", headers={"X-Token": "fake-super-secret-token"}
        )
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 22.8K bytes
    - Click Count (0)
  5. tests/test_security_oauth2_authorization_code_bearer_scopes_openapi.py

    
    @app.get(
        "/with-get-token", dependencies=[Security(get_token, scopes=["read", "write"])]
    )
    async def read_with_get_token():
        return {"message": "Admin Access"}
    
    
    router = APIRouter(dependencies=[Security(oauth2_scheme, scopes=["read"])])
    
    
    @router.get("/items/")
    async def read_items(token: str | None = Depends(oauth2_scheme)):
        return {"token": token}
    
    
    @router.post("/items/")
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 6.6K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/suggest/settings/AnalyzerSettings.java

     *
     * <p>Supported languages are defined in the SUPPORTED_LANGUAGES array.</p>
     *
     * <p>Inner class:</p>
     * <ul>
     *   <li>DefaultContentsAnalyzer: Implements the SuggestAnalyzer interface to analyze text and retrieve tokens using
     *       the configured analyzers.</li>
     * </ul>
     *
     * <p>Protected static class:</p>
     * <ul>
     *   <li>FieldAnalyzerMapping: Holds the analyzer names for different types of analysis (reading, reading term,
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sun Feb 01 12:48:24 GMT 2026
    - 24.4K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/suggest/index/contents/DefaultContentsParserTest.java

            String text = "これはテストです。検索エンジン。";
    
            List<AnalyzeToken> tokens = defaultContentsParser.analyzeText(analyzer, "content", text, null);
    
            assertNotNull(tokens);
            assertTrue(tokens.size() > 0);
        }
    
        @Test
        public void test_analyzeTextByReading() throws Exception {
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sun Feb 01 12:48:24 GMT 2026
    - 12.1K bytes
    - Click Count (0)
  8. docs/en/docs/tutorial/security/first-steps.md

    {* ../../docs_src/security/tutorial001_an_py310.py hl[8] *}
    
    /// tip
    
    Here `tokenUrl="token"` refers to a relative URL `token` that we haven't created yet. As it's a relative URL, it's equivalent to `./token`.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Mar 07 09:29:03 GMT 2026
    - 8.3K bytes
    - Click Count (0)
  9. docs/fr/docs/tutorial/security/first-steps.md

    - L'API vérifie ce `username` et ce `password`, et répond avec un « token » (nous n'avons encore rien implémenté de tout cela).
        - Un « token » n'est qu'une chaîne contenant des informations que nous pouvons utiliser plus tard pour vérifier cet utilisateur.
        - Normalement, un token est configuré pour expirer après un certain temps.
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 9.3K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/suggest/analysis/SuggestAnalyzer.java

    /**
     * Interface for analyzing and processing suggestion tokens.
     */
    public interface SuggestAnalyzer {
    
        /**
         * Analyzes the given text and returns a list of tokens.
         *
         * @param text the text to analyze
         * @param field the field associated with the text
         * @param lang the language of the text
         * @return a list of analyzed tokens
         */
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sat Mar 15 06:51:20 GMT 2025
    - 1.6K bytes
    - Click Count (0)
Back to Top