Search Options

Results per page
Sort
Preferred Languages
Advance

Results 351 - 360 of 567 for mytoken (0.06 sec)

  1. docs/zh/docs/tutorial/testing.md

    .
    ├── app
    │   ├── __init__.py
    │   ├── main.py
    │   └── test_main.py
    ```
    
    假设现在包含**FastAPI** app的文件 `main.py`  有些其他**路径操作**。
    
    有个 `GET` 操作会返回错误。
    
    有个 `POST` 操作会返回一些错误。
    
    所有*路径操作* 都需要一个`X-Token` 头。
    
    //// tab | Python 3.10+
    
    ```Python
    {!> ../../docs_src/app_testing/app_b_an_py310/main.py!}
    ```
    
    ////
    
    //// tab | Python 3.9+
    
    ```Python
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Oct 11 17:48:49 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/bigger-applications.md

    We see that we are going to need some dependencies used in several places of the application.
    
    So we put them in their own `dependencies` module (`app/dependencies.py`).
    
    We will now use a simple dependency to read a custom `X-Token` header:
    
    {* ../../docs_src/bigger_applications/app_an_py39/dependencies.py hl[3,6:8] title["app/dependencies.py"] *}
    
    /// tip
    
    We are using an invented header to simplify this example.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 10 08:55:32 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  3. scripts/notify_translations.py

        discussion_id: Union[str, None] = None,
        comment_id: Union[str, None] = None,
        body: Union[str, None] = None,
    ) -> dict[str, Any]:
        headers = {"Authorization": f"token {settings.github_token.get_secret_value()}"}
        variables = {
            "after": after,
            "category_id": category_id,
            "discussion_number": discussion_number,
            "discussion_id": discussion_id,
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  4. docs/es/docs/tutorial/security/index.md

      * Un parámetro de query.
      * Un header.
      * Una cookie.
    * `http`: sistemas de autenticación HTTP estándar, incluyendo:
      * `bearer`: un header `Authorization` con un valor de `Bearer ` más un token. Esto se hereda de OAuth2.
      * Autenticación básica HTTP.
      * Digest HTTP, etc.
    * `oauth2`: todas las formas de OAuth2 para manejar la seguridad (llamadas "flujos").
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 10:15:01 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  5. samples/slack/src/main/java/okhttp3/slack/SlackApi.java

        }
      }
    
      /** See https://api.slack.com/methods/rtm.start. */
      public RtmStartResponse rtmStart(String accessToken) throws IOException {
        HttpUrl url = baseUrl.newBuilder("rtm.start")
            .addQueryParameter("token", accessToken)
            .build();
        Request request = new Request.Builder()
            .url(url)
            .build();
        Call call = httpClient.newCall(request);
        try (Response response = call.execute()) {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Jul 06 19:30:55 UTC 2018
    - 4.4K bytes
    - Viewed (0)
  6. src/main/resources/fess_config.properties

    # Length of API access token.
    api.access.token.length=60
    # Whether API access token is required.
    api.access.token.required=false
    # API access token request parameter.
    api.access.token.request.parameter=
    # Permissions for API admin access.
    api.admin.access.permissions=Radmin-api
    # Accepted referers for API search.
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Dec 11 09:47:03 UTC 2025
    - 54.8K bytes
    - Viewed (0)
  7. docs/en/docs/_llm-test.md

    ### The abbr gives a full phrase { #the-abbr-gives-a-full-phrase }
    
    * <abbr title="Getting Things Done">GTD</abbr>
    * <abbr title="less than"><code>lt</code></abbr>
    * <abbr title="XML Web Token">XWT</abbr>
    * <abbr title="Parallel Server Gateway Interface">PSGI</abbr>
    
    ### The abbr gives an explanation { #the-abbr-gives-an-explanation }
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Thu Dec 11 14:48:47 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  8. compat/maven-embedder/src/main/java/org/apache/maven/cli/props/MavenPropertiesLoader.java

                            tokStarted = true;
                            tokBuf.append(tok.trim());
                            break;
                    }
                }
    
                // Handle case where end of token stream and
                // still got data
                if ((!exit) && (tokStarted)) {
                    retVal = tokBuf.toString();
                }
            }
    
            return optional ? "?" + retVal : retVal;
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jan 24 17:29:44 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  9. docs/iam/access-management-plugin.md

    By default this plugin uses HTTP 1.x. To enable HTTP2 use the `MINIO_POLICY_PLUGIN_ENABLE_HTTP2` environment variable.
    
    ## Request and Response
    
    MinIO will make a `POST` request with a JSON body to the given plugin URL. If the auth token parameter is set, it will be sent as an authorization header.
    
    The JSON body structure can be seen from this sample:
    
    <details><summary>Request Body Sample</summary>
    
    ```json
    {
      "input": {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue Dec 13 22:28:48 UTC 2022
    - 4.4K bytes
    - Viewed (1)
  10. docs/pt/docs/tutorial/testing.md

    Ele tem uma operação `GET` que pode retornar um erro.
    
    Ele tem uma operação `POST` que pode retornar vários erros.
    
    Ambas as *operações de rotas* requerem um cabeçalho `X-Token`.
    
    {* ../../docs_src/app_testing/app_b_an_py310/main.py *}
    
    ### Arquivo de teste estendido { #extended-testing-file }
    
    Você pode então atualizar `test_main.py` com os testes estendidos:
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 6.5K bytes
    - Viewed (0)
Back to top