Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 121 - 130 of 486 for token5 (0.09 seconds)

  1. docs/uk/docs/tutorial/security/first-steps.md

    /// tip | Порада
    
    Тут `tokenUrl="token"` відноситься до відносної URL-адреси `token`, яку ми ще не створили. Оскільки це відносна URL-адреса, вона еквівалентна `./token`.
    
    Тому, якщо ваш API розміщений на `https://example.com/`, це буде `https://example.com/token`. А якщо на `https://example.com/api/v1/`, тоді це буде `https://example.com/api/v1/token`.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:27:41 GMT 2026
    - 12.6K bytes
    - Click Count (0)
  2. docs/uk/docs/tutorial/header-params.md

    Наприклад, щоб оголосити заголовок `X-Token`, який може з’являтися більше ніж один раз, ви можете написати:
    
    {* ../../docs_src/header_params/tutorial003_an_py310.py hl[9] *}
    
    Якщо ви взаємодієте з цією *операцією шляху*, надсилаючи два HTTP-заголовки, наприклад:
    
    ```
    X-Token: foo
    X-Token: bar
    ```
    
    Відповідь буде така:
    
    ```JSON
    {
        "X-Token values": [
            "bar",
            "foo"
        ]
    }
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Feb 13 12:42:01 GMT 2026
    - 4.9K bytes
    - Click Count (0)
  3. docs/tr/docs/tutorial/header-params.md

    Örneğin, birden fazla kez gelebilen `X-Token` header'ını tanımlamak için şöyle yazabilirsiniz:
    
    {* ../../docs_src/header_params/tutorial003_an_py310.py hl[9] *}
    
    Eğer bu *path operation* ile iki HTTP header göndererek iletişim kurarsanız:
    
    ```
    X-Token: foo
    X-Token: bar
    ```
    
    response şöyle olur:
    
    ```JSON
    {
        "X-Token values": [
            "bar",
            "foo"
        ]
    }
    ```
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 05 15:43:38 GMT 2026
    - 3.3K bytes
    - Click Count (0)
  4. .teamcity/scripts/update_wrapper_and_create_pr.sh

    #   wrapper_version - The Gradle version to update the wrapper to
    # 
    # Environment variables:
    #   DEFAULT_BRANCH  - The default branch to create the pull request on (e.g. "master"/"release")
    #   GITHUB_TOKEN    - GitHub bot token
    #   TRIGGERED_BY    - Optional. If it's "Release - Final", version will be from version-info-final-release/version-info.properties
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Tue Jul 29 03:20:20 GMT 2025
    - 2.9K bytes
    - Click Count (0)
  5. docs/es/docs/tutorial/header-params.md

    Por ejemplo, para declarar un header de `X-Token` que puede aparecer más de una vez, puedes escribir:
    
    {* ../../docs_src/header_params/tutorial003_an_py310.py hl[9] *}
    
    Si te comunicas con esa *path operation* enviando dos headers HTTP como:
    
    ```
    X-Token: foo
    X-Token: bar
    ```
    
    El response sería como:
    
    ```JSON
    {
        "X-Token values": [
            "bar",
            "foo"
        ]
    }
    ```
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Dec 16 16:33:45 GMT 2025
    - 3.2K bytes
    - Click Count (0)
  6. docs/es/docs/tutorial/security/get-current-user.md

    {* ../../docs_src/security/tutorial002_an_py310.py hl[25] *}
    
    ## Obtener el usuario { #get-the-user }
    
    `get_current_user` usará una función de utilidad (falsa) que creamos, que toma un token como un `str` y devuelve nuestro modelo de Pydantic `User`:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Feb 13 13:41:41 GMT 2026
    - 4.4K bytes
    - Click Count (0)
  7. .teamcity/src/main/kotlin/configurations/GradleBuildConfigurationDefaults.kt

        pullRequests {
            vcsRootExtId = VersionedSettingsBranch.fromDslContext().vcsRootId()
            provider =
                github {
                    authType =
                        token {
                            token = "%github.bot-teamcity.token%"
                        }
                    filterAuthorRole = PullRequests.GitHubRoleFilter.EVERYBODY
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Mar 13 05:03:56 GMT 2026
    - 8.5K bytes
    - Click Count (0)
  8. docs_src/dependencies/tutorial006_an_py310.py

    from fastapi import Depends, FastAPI, Header, HTTPException
    
    app = FastAPI()
    
    
    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")
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 633 bytes
    - Click Count (0)
  9. src/test/java/jcifs/spnego/SpnegoTokenTest.java

                return tok == null ? new byte[0] : tok;
            }
    
            @Override
            protected void parse(byte[] token) throws IOException {
                if (token == null) {
                    throw new IOException("token is null");
                }
                setMechanismToken(token);
                this.parsed = true;
            }
    
            boolean isParsed() {
                return parsed;
            }
        }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 4.6K bytes
    - Click Count (0)
  10. docs_src/dependencies/tutorial012_an_py310.py

    from typing import Annotated
    
    from fastapi import Depends, FastAPI, Header, HTTPException
    
    
    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")
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 746 bytes
    - Click Count (0)
Back to Top