Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for _security_scheme (0.07 sec)

  1. fastapi/openapi/utils.py

                )
                if result:
                    path, security_schemes, path_definitions = result
                    if path:
                        paths.setdefault(route.path_format, {}).update(path)
                    if security_schemes:
                        components.setdefault("securitySchemes", {}).update(
                            security_schemes
                        )
                    if path_definitions:
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 23.2K bytes
    - Viewed (0)
  2. fastapi/dependencies/models.py

            unwrapped = _unwrapped_call(self.call)
            return isinstance(unwrapped, SecurityBase)
    
        # Mainly to get the type of SecurityBase, but it's the same self.call
        @cached_property
        def _security_scheme(self) -> SecurityBase:
            unwrapped = _unwrapped_call(self.call)
            assert isinstance(unwrapped, SecurityBase)
            return unwrapped
    
        @cached_property
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  3. fastapi/openapi/models.py

    
    class OpenIdConnect(SecurityBase):
        type_: SecuritySchemeType = Field(
            default=SecuritySchemeType.openIdConnect, alias="type"
        )
        openIdConnectUrl: str
    
    
    SecurityScheme = Union[APIKey, HTTPBase, OAuth2, OpenIdConnect, HTTPBearer]
    
    
    class Components(BaseModelWithConfig):
        schemas: Optional[dict[str, Union[Schema, Reference]]] = None
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 15.1K bytes
    - Viewed (0)
Back to top