Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 71 - 80 of 135 for authorized (0.07 seconds)

  1. src/main/config/openapi/openapi-user.yaml

          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        Unauthorized:
          description: Unauthorized request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        NotFound:
          description: Page not found
          content:
            application/json:
              schema:
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu May 09 06:31:27 GMT 2024
    - 21.6K bytes
    - Click Count (0)
  2. tests/test_security_oauth2_authorization_code_bearer_scopes_openapi.py

    from fastapi.security import OAuth2AuthorizationCodeBearer
    from fastapi.testclient import TestClient
    from inline_snapshot import snapshot
    
    oauth2_scheme = OAuth2AuthorizationCodeBearer(
        authorizationUrl="authorize",
        tokenUrl="token",
        auto_error=True,
        scopes={"read": "Read access", "write": "Write access"},
    )
    
    
    async def get_token(token: Annotated[str, Depends(oauth2_scheme)]) -> str:
        return token
    
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 6.6K bytes
    - Click Count (0)
  3. tests/test_security_oauth2_authorization_code_bearer.py

    from fastapi import FastAPI, Security
    from fastapi.security import OAuth2AuthorizationCodeBearer
    from fastapi.testclient import TestClient
    
    app = FastAPI()
    
    oauth2_scheme = OAuth2AuthorizationCodeBearer(
        authorizationUrl="authorize", tokenUrl="token", auto_error=True
    )
    
    
    @app.get("/items/")
    async def read_items(token: Optional[str] = Security(oauth2_scheme)):
        return {"token": token}
    
    
    client = TestClient(app)
    
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Jun 30 18:25:16 GMT 2023
    - 2.3K bytes
    - Click Count (0)
  4. docs/pt/docs/tutorial/security/first-steps.md

    Você verá algo deste tipo:
    
    <img src="/img/tutorial/security/image01.png">
    
    /// check | Botão Autorizar!
    
    Você já tem um novo botão 'Authorize'.
    
    E sua operação de rota tem um pequeno cadeado no canto superior direito em que você pode clicar.
    
    ///
    
    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)
  5. docs/es/docs/tutorial/security/first-steps.md

    Verás algo así:
    
    <img src="/img/tutorial/security/image01.png">
    
    /// check | ¡Botón de autorización!
    
    Ya tienes un nuevo y brillante botón de "Authorize".
    
    Y tu *path operation* tiene un pequeño candado en la esquina superior derecha que puedes pulsar.
    
    ///
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Dec 16 16:33:45 GMT 2025
    - 8.9K bytes
    - Click Count (0)
  6. CHANGELOG/CHANGELOG-1.34.md

    Kube-apiserver: Added support for disabling caching of authorization webhook decisions in the `--authorization-config` file. The new fields `cacheAuthorizedRequests` and `cacheUnauthorizedRequests` could be set to `false` to prevent caching for authorized or unauthorized requests. See the https://kubernetes.io/docs/reference/access-authn-authz/authorization/#using-configuration-file-for-authorization for more details. ([#129237](https://github.com/kubernetes/kubernetes/pull/129237), [@rfranzke](https://...
    Created: Fri Dec 26 09:05:12 GMT 2025
    - Last Modified: Wed Dec 10 01:13:50 GMT 2025
    - 333.3K bytes
    - Click Count (2)
  7. CHANGELOG/CHANGELOG-1.29.md

    - Fixed an issue where the `vsphere` cloud provider would not trust a certificate if:
      - The issuer of the certificate was unknown (`x509.UnknownAuthorityError`)
      - The requested name did not match the set of authorized names (`x509.HostnameError`)
    Created: Fri Dec 26 09:05:12 GMT 2025
    - Last Modified: Wed Mar 12 00:36:01 GMT 2025
    - 429.6K bytes
    - Click Count (1)
  8. docs/es/docs/how-to/authentication-error-status-code.md

    A partir de FastAPI versión `0.122.0`, usan el código de estado HTTP `401 Unauthorized`, más apropiado, y devuelven un `WWW-Authenticate` header adecuado en la response, siguiendo las especificaciones HTTP, <a href="https://datatracker.ietf.org/doc/html/rfc7235#section-3.1" class="external-link" target="_blank">RFC 7235</a>, <a href="https://datatracker.ietf.org/doc/html/rfc9110#name-401-unauthorized" class="external-link" target="_blank">RFC 9110</a>.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Dec 16 16:16:35 GMT 2025
    - 1.3K bytes
    - Click Count (0)
  9. docs/de/docs/how-to/authentication-error-status-code.md

    Ab FastAPI-Version `0.122.0` verwenden sie den passenderen HTTP-Statuscode `401 Unauthorized` und geben in der Response einen sinnvollen `WWW-Authenticate`-Header zurück, gemäß den HTTP-Spezifikationen, <a href="https://datatracker.ietf.org/doc/html/rfc7235#section-3.1" class="external-link" target="_blank">RFC 7235</a>, <a href="https://datatracker.ietf.org/doc/html/rfc9110#name-401-unauthorized" class="external-link" target="_blank">RFC 9110</a>.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Dec 02 17:32:56 GMT 2025
    - 1.4K bytes
    - Click Count (0)
  10. docs/zh/docs/tutorial/security/simple-oauth2.md

    ///
    
    ## 实际效果
    
    打开 API 文档:<a href="http://127.0.0.1:8000/docs" class="external-link" target="_blank">http://127.0.0.1:8000/docs</a>。
    
    ### 身份验证
    
    点击**Authorize**按钮。
    
    使用以下凭证:
    
    用户名:`johndoe`
    
    密码:`secret`
    
    <img src="https://fastapi.tiangolo.com/img/tutorial/security/image04.png">
    
    通过身份验证后,显示下图所示的内容:
    
    <img src="https://fastapi.tiangolo.com/img/tutorial/security/image05.png">
    
    ### 获取当前用户数据
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Nov 18 02:25:44 GMT 2024
    - 8.6K bytes
    - Click Count (0)
Back to Top