Module accounts_api Copy item path Source Accounts2faAuthEmailCreateError struct for typed errors of method accounts2fa_auth_email_create
Accounts2faAuthSessionCreateError struct for typed errors of method accounts2fa_auth_session_create
Accounts2faAuthTokenCreateError struct for typed errors of method accounts2fa_auth_token_create
AccountsEmailWaitlistCreateError struct for typed errors of method accounts_email_waitlist_create
AccountsLoginCreateError struct for typed errors of method accounts_login_create
AccountsLogoutCreateError struct for typed errors of method accounts_logout_create
AccountsPasswordChangeCreateError struct for typed errors of method accounts_password_change_create
AccountsPasswordResetConfirmCreateError struct for typed errors of method accounts_password_reset_confirm_create
AccountsPasswordResetCreateError struct for typed errors of method accounts_password_reset_create
AccountsRegistrationCreateError struct for typed errors of method accounts_registration_create
AccountsRegistrationResendEmailCreateError struct for typed errors of method accounts_registration_resend_email_create
AccountsRegistrationVerifyEmailCreateError struct for typed errors of method accounts_registration_verify_email_create
AccountsUserNkeyRetrieveError struct for typed errors of method accounts_user_nkey_retrieve
AccountsUserPartialUpdateError struct for typed errors of method accounts_user_partial_update
AccountsUserRetrieveError struct for typed errors of method accounts_user_retrieve
AccountsUserUpdateError struct for typed errors of method accounts_user_update
accounts2fa_auth_email_create This returns a 6-digit callback token we can trade for a user’s Auth Token. accounts2fa_auth_session_create Persist a user id and a backend in the request. This way a user doesn’t have to reauthenticate on every request. Note that data set during the anonymous session is retained when the user logs in. accounts2fa_auth_token_create This is a duplicate of rest_framework’s own ObtainAuthToken method. Instead, this returns an Auth Token based on our callback token and source. accounts_email_waitlist_create A device (Raspberry Pi) running Print Nanny OS accounts_login_create Check the credentials and return the REST Token if the credentials are valid and authenticated. Calls Django Auth login method to register User ID in Django session framework Accept the following POST parameters: username, password Return the REST Framework Token Object’s key. accounts_logout_create Calls Django logout method and delete the Token object assigned to the current User object. Accepts/Returns nothing. accounts_password_change_create Calls Django Auth SetPasswordForm save method. Accepts the following POST parameters: new_password1, new_password2 Returns the success/fail message. accounts_password_reset_confirm_create Password reset e-mail link is confirmed, therefore this resets the user’s password. Accepts the following POST parameters: token, uid, new_password1, new_password2 Returns the success/fail message. accounts_password_reset_create Calls Django Auth PasswordResetForm save method. Accepts the following POST parameters: email Returns the success/fail message. accounts_registration_create accounts_registration_resend_email_create accounts_registration_verify_email_create accounts_user_nkey_retrieve Providers user nkey credentials accounts_user_partial_update Reads and updates UserModel fields Accepts GET, PUT, PATCH methods. Default accepted fields: username, first_name, last_name Default display fields: pk, username, email, first_name, last_name Read-only fields: pk, email Returns UserModel fields. accounts_user_retrieve Reads and updates UserModel fields Accepts GET, PUT, PATCH methods. Default accepted fields: username, first_name, last_name Default display fields: pk, username, email, first_name, last_name Read-only fields: pk, email Returns UserModel fields. accounts_user_update Reads and updates UserModel fields Accepts GET, PUT, PATCH methods. Default accepted fields: username, first_name, last_name Default display fields: pk, username, email, first_name, last_name Read-only fields: pk, email Returns UserModel fields.