thunderbird_accounts.authentication.views
Functions
|
The user returns from the OAuth sequence to us here, where we will check the state retrieve the token, and give them profile information. |
|
Logout of fxa |
|
Initiate the Mozilla Account OAuth dance |
|
Main for webhooks regarding fxa |
|
This view is called on any @login_required decorator while the user isn't logged in. |
- thunderbird_accounts.authentication.views.login_view(request: AccountsHttpRequest)[source]
This view is called on any @login_required decorator while the user isn’t logged in. We generate a login url for the current instance, and either pass the ‘next’ query param to redirect_to, or default them to redirect_home.
- thunderbird_accounts.authentication.views.fxa_start(request: AccountsHttpRequest, login_code: str, redirect_to: str | None = None)[source]
Initiate the Mozilla Account OAuth dance
- thunderbird_accounts.authentication.views.fxa_logout(request: AccountsHttpRequest)[source]
Logout of fxa
- thunderbird_accounts.authentication.views.fxa_callback(request: AccountsHttpRequest)[source]
The user returns from the OAuth sequence to us here, where we will check the state retrieve the token, and give them profile information.
- thunderbird_accounts.authentication.views.fxa_webhook(request, *args, **kwargs)
Main for webhooks regarding fxa