module/oauth.py¶
module.oauth ¶
OAuth
OAuth ¶
OAuth
Parameters:
Name | Type | Description | Default |
---|---|---|---|
mail |
str
|
Mail address |
required |
Source code in module/oauth.py
add
staticmethod
¶
add(
mail: str,
data: Optional[dict[str, Any]] = None,
token: Optional[Credentials] = None,
) -> None
add data, token
Parameters:
Name | Type | Description | Default |
---|---|---|---|
mail |
str
|
Mail address. |
required |
data |
dict
|
The data from the oauth response. |
None
|
token |
dict
|
OAuth token. |
None
|