Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 131 - 140 of 783 for securely (0.07 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

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

    Si el token es inválido, devuelve un error HTTP de inmediato.
    
    {* ../../docs_src/security/tutorial004_an_py310.py hl[90:107] *}
    
    ## Actualizar la *path operation* `/token` { #update-the-token-path-operation }
    
    Crea un `timedelta` con el tiempo de expiración del token.
    
    Crea un verdadero token de acceso JWT y devuélvelo.
    
    {* ../../docs_src/security/tutorial004_an_py310.py hl[118:133] *}
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Dec 16 16:33:45 GMT 2025
    - 11.3K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/core/security/MessageDigestUtil.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.core.security;
    
    import static org.codelibs.core.misc.AssertionUtil.assertArgumentNotEmpty;
    
    import java.io.UnsupportedEncodingException;
    import java.security.MessageDigest;
    import java.security.NoSuchAlgorithmException;
    
    import org.codelibs.core.exception.ClIllegalStateException;
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 3.1K bytes
    - Click Count (0)
  3. src/test/java/jcifs/pac/kerberos/KerberosEncDataTest.java

    import java.io.IOException;
    import java.net.InetAddress;
    import java.net.UnknownHostException;
    import java.security.GeneralSecurityException;
    import java.security.Key;
    import java.security.NoSuchAlgorithmException;
    import java.util.Collections;
    
    import javax.crypto.KeyGenerator;
    import javax.crypto.SecretKey;
    import javax.security.auth.kerberos.KerberosKey;
    
    import org.bouncycastle.asn1.ASN1EncodableVector;
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 7.7K bytes
    - Click Count (0)
  4. docs/en/docs/deployment/concepts.md

    In the next chapters, I'll give you more **concrete recipes** to deploy FastAPI applications.
    
    But for now, let's check these important **conceptual ideas**. These concepts also apply to any other type of web API. 💡
    
    ## Security - HTTPS { #security-https }
    
    In the [previous chapter about HTTPS](https.md){.internal-link target=_blank} we learned about how HTTPS provides encryption for your API.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sun Aug 31 09:15:41 GMT 2025
    - 18.6K bytes
    - Click Count (1)
  5. tests/test_security_api_key_header.py

    from fastapi import Depends, FastAPI, Security
    from fastapi.security import APIKeyHeader
    from fastapi.testclient import TestClient
    from pydantic import BaseModel
    
    app = FastAPI()
    
    api_key = APIKeyHeader(name="key")
    
    
    class User(BaseModel):
        username: str
    
    
    def get_current_user(oauth_header: str = Security(api_key)):
        user = User(username=oauth_header)
        return user
    
    
    @app.get("/users/me")
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Nov 24 19:03:06 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  6. tests/test_security_api_key_header_description.py

    from fastapi import Depends, FastAPI, Security
    from fastapi.security import APIKeyHeader
    from fastapi.testclient import TestClient
    from pydantic import BaseModel
    
    app = FastAPI()
    
    api_key = APIKeyHeader(name="key", description="An API Key Header")
    
    
    class User(BaseModel):
        username: str
    
    
    def get_current_user(oauth_header: str = Security(api_key)):
        user = User(username=oauth_header)
        return user
    
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Nov 24 19:03:06 GMT 2025
    - 2.1K bytes
    - Click Count (0)
  7. docs/ru/docs/tutorial/security/first-steps.md

    **FastAPI** будет знать, что может использовать класс `OAuth2PasswordBearer` (объявленный в зависимости) для определения схемы безопасности в OpenAPI, потому что он наследуется от `fastapi.security.oauth2.OAuth2`, который, в свою очередь, наследуется от `fastapi.security.base.SecurityBase`.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Sep 30 11:24:39 GMT 2025
    - 14.2K bytes
    - Click Count (0)
  8. docs/pt/docs/tutorial/security/first-steps.md

    /// info | Detalhes Técnicos
    
    O **FastAPI** saberá que pode usar a classe `OAuth2PasswordBearer` (declarada em uma dependência) para definir o esquema de segurança no OpenAPI porque ela herda de `fastapi.security.oauth2.OAuth2`, que por sua vez herda de `fastapi.security.base.SecurityBase`.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Nov 12 16:23:57 GMT 2025
    - 8.9K bytes
    - Click Count (0)
  9. .github/ISSUE_TEMPLATE/config.yml

    blank_issues_enabled: false
    contact_links:
      - name: Security Contact
        about: Please report security vulnerabilities to security@tiangolo.com
      - name: Question or Problem
        about: Ask a question or ask about a problem in GitHub Discussions.
        url: https://github.com/fastapi/fastapi/discussions/categories/questions
      - name: Feature Request
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Jul 29 23:35:07 GMT 2024
    - 926 bytes
    - Click Count (0)
  10. docs/zh/docs/tutorial/security/get-current-user.md

    {* ../../docs_src/security/tutorial002.py hl[25] *}
    
    ## 获取用户
    
    `get_current_user` 使用创建的(伪)工具函数,该函数接收 `str` 类型的令牌,并返回 Pydantic 的 `User` 模型:
    
    {* ../../docs_src/security/tutorial002.py hl[19:22,26:27] *}
    
    ## 注入当前用户
    
    在*路径操作* 的 `Depends` 中使用 `get_current_user`:
    
    {* ../../docs_src/security/tutorial002.py hl[31] *}
    
    注意,此处把 `current_user` 的类型声明为 Pydantic 的 `User` 模型。
    
    L46
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Nov 18 02:25:44 GMT 2024
    - 3.4K bytes
    - Click Count (0)
Back to Top