Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 39 for oauth2 (0.14 sec)

  1. fastapi/security/oauth2.py

                client_id=client_id,
                client_secret=client_secret,
            )
    
    
    class OAuth2(SecurityBase):
        """
        This is the base class for OAuth2 authentication, an instance of it would be used
        as a dependency. All other OAuth2 classes inherit from it and customize it for
        each OAuth2 flow.
    
        You normally would not create a new class inheriting from it but use one of the
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Oct 23 18:30:18 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  2. docs/pt/docs/tutorial/security/simple-oauth2.md

    * `instagram_basic` é usado pelo Facebook e Instagram.
    * `https://www.googleapis.com/auth/drive` é usado pelo Google.
    
    /// info | Informação
    
    No OAuth2, um "scope" é apenas uma string que declara uma permissão específica necessária.
    
    Não importa se tem outros caracteres como `:` ou se é uma URL.
    
    Esses detalhes são específicos da implementação.
    
    Para OAuth2 são apenas strings.
    
    ///
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Oct 31 12:17:45 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  3. docs/en/docs/advanced/security/oauth2-scopes.md

    # OAuth2 scopes
    
    You can use OAuth2 scopes directly with **FastAPI**, they are integrated to work seamlessly.
    
    This would allow you to have a more fine-grained permission system, following the OAuth2 standard, integrated into your OpenAPI application (and the API docs).
    
    OAuth2 with scopes is the mechanism used by many big authentication providers, like Facebook, Google, GitHub, Microsoft, Twitter, etc. They use it to provide specific permissions to users and applications.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Oct 29 11:02:16 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  4. docs/en/docs/tutorial/security/oauth2-jwt.md

    And you can use and implement secure, standard protocols, like OAuth2 in a relatively simple way.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Oct 26 11:45:10 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  5. docs/en/docs/how-to/custom-docs-ui-assets.md

    /// tip
    
    The *path operation* for `swagger_ui_redirect` is a helper for when you use OAuth2.
    
    If you integrate your API with an OAuth2 provider, you will be able to authenticate and come back to the API docs with the acquired credentials. And interact with it using the real OAuth2 authentication.
    
    Swagger UI will handle it behind the scenes for you, but it needs this "redirect" helper.
    
    ///
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Oct 28 10:42:34 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  6. docs/en/mkdocs.yml

        - Security:
          - tutorial/security/index.md
          - tutorial/security/first-steps.md
          - tutorial/security/get-current-user.md
          - tutorial/security/simple-oauth2.md
          - tutorial/security/oauth2-jwt.md
        - tutorial/middleware.md
        - tutorial/cors.md
        - tutorial/sql-databases.md
        - tutorial/bigger-applications.md
        - tutorial/background-tasks.md
        - tutorial/metadata.md
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Oct 22 20:28:02 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  7. docs/en/docs/how-to/conditional-openapi.md

    * Never store plaintext passwords, only password hashes.
    * Implement and use well-known cryptographic tools, like Passlib and JWT tokens, etc.
    * Add more granular permission controls with OAuth2 scopes where needed.
    * ...etc.
    
    Nevertheless, you might have a very specific use case where you really need to disable the API docs for some environment (e.g. for production) or depending on configurations from environment variables.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Oct 28 11:21:54 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  8. fastapi/param_functions.py

        ] = None,
        *,
        scopes: Annotated[
            Optional[Sequence[str]],
            Doc(
                """
                OAuth2 scopes required for the *path operation* that uses this Security
                dependency.
    
                The term "scope" comes from the OAuth2 specification, it seems to be
                intentionally vague and interpretable. It normally refers to permissions,
                in cases to roles.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Oct 23 18:30:18 UTC 2024
    - 62.5K bytes
    - Viewed (0)
  9. fastapi/dependencies/utils.py

        contextmanager_in_threadpool,
    )
    from fastapi.dependencies.models import Dependant, SecurityRequirement
    from fastapi.logger import logger
    from fastapi.security.base import SecurityBase
    from fastapi.security.oauth2 import OAuth2, SecurityScopes
    from fastapi.security.open_id_connect_url import OpenIdConnect
    from fastapi.utils import create_model_field, get_path_param_names
    from pydantic import BaseModel
    from pydantic.fields import FieldInfo
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 21:46:26 UTC 2024
    - 34.7K bytes
    - Viewed (0)
  10. go.mod

    	go.etcd.io/etcd/client/v3 v3.5.16
    	go.uber.org/atomic v1.11.0
    	go.uber.org/zap v1.27.0
    	goftp.io/server/v2 v2.0.1
    	golang.org/x/crypto v0.27.0
    	golang.org/x/exp v0.0.0-20240823005443-9b4947da3948
    	golang.org/x/oauth2 v0.22.0
    	golang.org/x/sync v0.8.0
    	golang.org/x/sys v0.25.0
    	golang.org/x/term v0.24.0
    	golang.org/x/time v0.6.0
    	google.golang.org/api v0.194.0
    	gopkg.in/yaml.v2 v2.4.0
    	gopkg.in/yaml.v3 v3.0.1
    )
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 11.1K bytes
    - Viewed (0)
Back to top