Search Options

Results per page
Sort
Preferred Languages
Advance

Results 311 - 320 of 743 for tokens (0.06 sec)

  1. internal/grid/debug.go

    	server.Start()
    	return server
    }
    
    func dummyRequestValidate(r *http.Request) error {
    	return nil
    }
    
    func dummyTokenValidate(token string) error {
    	if token == "debug" {
    		return nil
    	}
    	return fmt.Errorf("invalid token. want empty, got %s", token)
    }
    
    func dummyNewToken() string {
    	return "debug"
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 29 18:10:04 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  2. docs/em/docs/tutorial/header-params.md

    ```Python hl_lines="7"
    {!> ../../docs_src/header_params/tutorial003_py310.py!}
    ```
    
    ////
    
    🚥 👆 🔗 ⏮️ 👈 *➡ 🛠️* 📨 2️⃣ 🇺🇸🔍 🎚 💖:
    
    ```
    X-Token: foo
    X-Token: bar
    ```
    
    📨 🔜 💖:
    
    ```JSON
    {
        "X-Token values": [
            "bar",
            "foo"
        ]
    }
    ```
    
    ## 🌃
    
    📣 🎚 ⏮️ `Header`, ⚙️ 🎏 ⚠ ⚓ `Query`, `Path` & `Cookie`.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  3. docs_src/dependencies/tutorial012_an_py39.py

    from fastapi import Depends, FastAPI, Header, HTTPException
    from typing_extensions import Annotated
    
    
    async def verify_token(x_token: Annotated[str, Header()]):
        if x_token != "fake-super-secret-token":
            raise HTTPException(status_code=400, detail="X-Token header invalid")
    
    
    async def verify_key(x_key: Annotated[str, Header()]):
        if x_key != "fake-super-secret-key":
            raise HTTPException(status_code=400, detail="X-Key header invalid")
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 756 bytes
    - Viewed (0)
  4. architecture/security/istio-agent.md

    topologies mix and match these two.
    
    For a standard Kubernetes deployment, both CA and discovery will use JWT authentication, with a token automatically
    [generated and rotated by Kubernetes](https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/#service-account-token-volume-projection).
    
    For discovery, the JWT token will be read directly from a file and sent as is. For CA, this logic is a bit more complex,
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Jul 18 23:11:18 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  5. cmd/lock-rest-server-common_test.go

    		ll: &localLocker{
    			mutex:   sync.Mutex{},
    			lockMap: make(map[string][]lockRequesterInfo),
    		},
    	}
    	creds := globalActiveCred
    	token, err := authenticateNode(creds.AccessKey, creds.SecretKey)
    	if err != nil {
    		t.Fatal(err)
    	}
    	return fsDir, locker, token
    }
    
    // Test function to remove lock entries from map based on name & uid combination
    func TestLockRpcServerRemoveEntry(t *testing.T) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jul 24 10:24:01 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  6. docs/pt/docs/tutorial/header-params.md

    ```
    
    ////
    
    Se você se comunicar com essa *operação de caminho* enviando dois cabeçalhos HTTP como:
    
    ```
    X-Token: foo
    X-Token: bar
    ```
    
    A resposta seria como:
    
    ```JSON
    {
        "X-Token values": [
            "bar",
            "foo"
        ]
    }
    ```
    
    ## Recapitulando
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  7. .github/actions/people/action.yml

    name: "Generate FastAPI People"
    description: "Generate the data for the FastAPI People page"
    author: "Sebastián Ramírez <******@****.***>"
    inputs:
      token:
        description: 'User token, to read the GitHub API. Can be passed in using {{ secrets.FASTAPI_PEOPLE }}'
        required: true
    runs:
      using: 'docker'
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Jul 09 15:44:40 UTC 2023
    - 333 bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SSPContext.java

        /**
         * @return whether the context is established
         */
        boolean isEstablished ();
    
    
        /**
         * @param token
         * @param off
         * @param len
         * @return result token
         * @throws SmbException
         * @throws CIFSException
         */
        byte[] initSecContext ( byte[] token, int off, int len ) throws CIFSException;
    
    
        /**
         * @return the name of the remote endpoint
         */
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.6K bytes
    - Viewed (0)
  9. .github/actions/notify-translations/action.yml

    name: "Notify Translations"
    description: "Notify in the issue for a translation when there's a new PR available"
    author: "Sebastián Ramírez <******@****.***>"
    inputs:
      token:
        description: 'Token, to read the GitHub API. Can be passed in using {{ secrets.GITHUB_TOKEN }}'
        required: true
    runs:
      using: 'docker'
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Aug 18 13:07:08 UTC 2021
    - 346 bytes
    - Viewed (0)
  10. docs_src/app_testing/app_b_py310/main.py

        if item_id not in fake_db:
            raise HTTPException(status_code=404, detail="Item not found")
        return fake_db[item_id]
    
    
    @app.post("/items/", response_model=Item)
    async def create_item(item: Item, x_token: str = Header()):
        if x_token != fake_secret_token:
            raise HTTPException(status_code=400, detail="Invalid X-Token header")
        if item.id in fake_db:
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Jan 09 14:44:08 UTC 2024
    - 1.1K bytes
    - Viewed (0)
Back to top