thunderbird_accounts.authentication.api

Functions

get_login_code(request, *args, **kwargs)

get_user_profile(request, *args, **kwargs)

is_in_allow_list(request, *args, **kwargs)

Is the user in the allow list? If the client_env is public we just say yes.

logout_user(request, *args, **kwargs)

Logs out an authenticated user (via jwt), destroys the fxa token and logs out the user's session

thunderbird_accounts.authentication.api.logout_user(request, *args, **kwargs)

Logs out an authenticated user (via jwt), destroys the fxa token and logs out the user’s session

thunderbird_accounts.authentication.api.is_in_allow_list(request, *args, **kwargs)

Is the user in the allow list? If the client_env is public we just say yes.