Skip to content

LinkedAccountOAuth2

Union Type

LinkedAccountOAuth2 module-attribute

Authentication method using OAuth2 providers. Supports Google, Apple, X, Telegram, and GitHub providers.

Union Member Types

LinkedAccountOAuth2Google dataclass

Bases: _SerdeShape

Google OAuth2 authentication.

Attributes

value instance-attribute

LinkedAccountOAuth2Apple dataclass

Bases: _SerdeShape

Apple OAuth2 authentication.

Attributes

value instance-attribute

LinkedAccountOAuth2X dataclass

Bases: _SerdeShape

X (formerly Twitter) OAuth2 authentication.

Attributes

value instance-attribute

LinkedAccountOAuth2Telegram dataclass

Bases: _SerdeShape

Telegram OAuth2 authentication.

Attributes

value instance-attribute

LinkedAccountOAuth2Github dataclass

Bases: _SerdeShape

GitHub OAuth2 authentication.

Attributes

value instance-attribute

LinkedAccountOAuth2Unknown dataclass

Bases: _SerdeShape

Represents an unknown variant. If you receive this value, you will need to update your library to receive the parsed value. This value may not be deliberately sent.

Attributes

tag instance-attribute
tag: str