Skip to content

OAuth2AuthenticationDict

Dictionary Type

OAuth2AuthenticationDict

Bases: TypedDict

Dictionary form of OAuth2Authentication.

Attributes

email_address instance-attribute
email_address: str | None

The email address from the OAuth2 provider.

name instance-attribute
name: str | None

The user's name from the OAuth2 provider.

sub instance-attribute
sub: Required[str]

The subject (sub) claim from the OAuth2 provider. Uniquely identifies the user at the provider.

username instance-attribute
username: str | None

The username from the OAuth2 provider.