Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1101 - 1110 of 1,755 for Gson (0.02 sec)

  1. docs/zh/docs/tutorial/security/oauth2-jwt.md

    # OAuth2 实现密码哈希与 Bearer  JWT 令牌验证
    
    至此,我们已经编写了所有安全流,本章学习如何使用 <abbr title="JSON Web Tokens">JWT</abbr> 令牌(Token)和安全密码哈希(Hash)实现真正的安全机制。
    
    本章的示例代码真正实现了在应用的数据库中保存哈希密码等功能。
    
    接下来,我们紧接上一章,继续完善安全机制。
    
    ## JWT 简介
    
    JWT 即**JSON 网络令牌**(JSON Web Tokens)。
    
    JWT 是一种将 JSON 对象编码为没有空格,且难以理解的长字符串的标准。JWT 的内容如下所示:
    
    ```
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 11K bytes
    - Viewed (0)
  2. docs/pt/docs/tutorial/request-forms-and-files.md

    /// warning | "Aviso"
    
    Você pode declarar vários parâmetros `File` e `Form` em uma *operação de caminho*, mas não é possível declarar campos `Body` para receber como JSON, pois a requisição terá o corpo codificado usando `multipart/form-data` ao invés de `application/json`.
    
    Isso não é uma limitação do **FastAPI** , é parte do protocolo HTTP.
    
    ///
    
    ## Recapitulando
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  3. tests/test_custom_middleware_exception.py

        with client:
            with open(path, "rb") as file:
                response = client.post("/middleware", files={"file": file})
            assert response.status_code == 422, response.text
            assert response.json() == {
                "detail": {
                    "name": "ContentSizeLimitExceeded",
                    "code": 999,
                    "message": "File limit exceeded",
                }
            }
    
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Aug 25 21:44:40 UTC 2022
    - 2.8K bytes
    - Viewed (0)
  4. tests/test_no_swagger_ui_redirect.py

        response = client.get("/docs/oauth2-redirect")
        assert response.status_code == 404, response.text
    
    
    def test_response():
        response = client.get("/items/")
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Apr 08 04:37:38 UTC 2020
    - 786 bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/helper/NotificationHelper.java

            StreamUtil.split(slackWebhookUrls, "[,\\s]").of(stream -> stream.filter(StringUtil::isNotBlank).forEach(url -> {
                try (CurlResponse response = Curl.post(url).header("Content-Type", "application/json").body(body).execute()) {
                    if (response.getHttpStatusCode() == 200) {
                        if (logger.isDebugEnabled()) {
                            logger.debug("Sent {} to {}.", body, url);
                        }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  6. fastapi/_compat.py

                        errors=exc.errors(include_url=False), loc_prefix=loc
                    )
    
            def serialize(
                self,
                value: Any,
                *,
                mode: Literal["json", "python"] = "json",
                include: Union[IncEx, None] = None,
                exclude: Union[IncEx, None] = None,
                by_alias: bool = True,
                exclude_unset: bool = False,
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Oct 12 09:36:32 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  7. internal/bucket/replication/replication.go

    // https://docs.aws.amazon.com/AmazonS3/latest/dev/replication-add-config.html
    type Config struct {
    	XMLName xml.Name `xml:"ReplicationConfiguration" json:"-"`
    	Rules   []Rule   `xml:"Rule" json:"Rules"`
    	// RoleArn is being reused for MinIO replication ARN
    	RoleArn string `xml:"Role" json:"Role"`
    }
    
    // Maximum 2MiB size per replication config.
    const maxReplicationConfigSize = 2 << 20
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Mar 28 17:44:56 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/suggest/settings/SuggestSettings.java

    import org.opensearch.action.get.GetResponse;
    import org.opensearch.client.Client;
    import org.opensearch.common.collect.Tuple;
    import org.opensearch.common.xcontent.XContentType;
    import org.opensearch.common.xcontent.json.JsonXContent;
    import org.opensearch.core.xcontent.XContentBuilder;
    import org.opensearch.index.IndexNotFoundException;
    
    public class SuggestSettings {
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  9. docs/fr/README.md

     - [Git](https://github.com/codelibs/fess-ds-git)
     - [Gitbucket](https://github.com/codelibs/fess-ds-gitbucket)
     - [G Suite](https://github.com/codelibs/fess-ds-gsuite)
     - [JSON](https://github.com/codelibs/fess-ds-json)
     - [Office 365](https://github.com/codelibs/fess-ds-office365)
     - [S3](https://github.com/codelibs/fess-ds-s3)
     - [Salesforce](https://github.com/codelibs/fess-ds-salesforce)
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 07:19:47 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  10. docs/pt-BR/README.md

     - [Git](https://github.com/codelibs/fess-ds-git)
     - [Gitbucket](https://github.com/codelibs/fess-ds-gitbucket)
     - [G Suite](https://github.com/codelibs/fess-ds-gsuite)
     - [JSON](https://github.com/codelibs/fess-ds-json)
     - [Office 365](https://github.com/codelibs/fess-ds-office365)
     - [S3](https://github.com/codelibs/fess-ds-s3)
     - [Salesforce](https://github.com/codelibs/fess-ds-salesforce)
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 07:19:47 UTC 2024
    - 7.4K bytes
    - Viewed (0)
Back to top