OAuth2Authentication¶
Structure Class¶
OAuth2Authentication
dataclass
¶
OAuth2 authentication information for third-party providers.
Attributes¶
email_address
class-attribute
instance-attribute
¶
email_address: str | None = field(repr=False, default=None)
The email address from the OAuth2 provider.
name
class-attribute
instance-attribute
¶
name: str | None = None
The user's name from the OAuth2 provider.
sub
instance-attribute
¶
sub: str
The subject (sub) claim from the OAuth2 provider. Uniquely identifies the user at the provider.
username
class-attribute
instance-attribute
¶
username: str | None = None
The username from the OAuth2 provider.