MCPcopy Index your code
hub / github.com/fastapi-users/fastapi-users / add_oauth_account

Method add_oauth_account

fastapi_users/db/base.py:34–38  ·  view source on GitHub ↗

Create an OAuth account and add it to the user.

(
        self: "BaseUserDatabase[UOAP, ID]", user: UOAP, create_dict: dict[str, Any]
    )

Source from the content-addressed store, hash-verified

32 raise NotImplementedError()
33
34 async def add_oauth_account(
35 self: "BaseUserDatabase[UOAP, ID]", user: UOAP, create_dict: dict[str, Any]
36 ) -> UOAP:
37 """Create an OAuth account and add it to the user."""
38 raise NotImplementedError()
39
40 async def update_oauth_account(
41 self: "BaseUserDatabase[UOAP, ID]",

Callers 2

oauth_callbackMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected