Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/iMerica/dj-rest-auth
/ functions
Functions
296 in github.com/iMerica/dj-rest-auth
⨍
Functions
296
◇
Types & classes
85
↳
Endpoints
2
Method
test_login_jwt_sets_cookie
(self)
dj_rest_auth/tests/test_api.py:714
Method
test_login_with_mfa_returns_ephemeral_token
Login with MFA enabled should return ephemeral_token.
dj_rest_auth/tests/test_mfa.py:192
Method
test_login_with_no_token_model
(self)
dj_rest_auth/tests/test_api.py:1175
Method
test_login_without_mfa
Login without MFA should return normal token response.
dj_rest_auth/tests/test_mfa.py:185
Method
test_logout_jwt_deletes_cookie
(self)
dj_rest_auth/tests/test_api.py:725
Method
test_logout_jwt_deletes_cookie_refresh
(self)
dj_rest_auth/tests/test_api.py:738
Method
test_logout_on_get
(self)
dj_rest_auth/tests/test_api.py:687
Method
test_logout_on_post_only
(self)
dj_rest_auth/tests/test_api.py:700
Method
test_mfa_status_enabled
MFA status should indicate enabled after activation.
dj_rest_auth/tests/test_mfa.py:363
Method
test_mfa_status_last_used_at_updated_by_recovery_code
MFA status should reflect recovery-code usage as last used.
dj_rest_auth/tests/test_mfa.py:372
Method
test_mfa_status_not_enabled
MFA status should indicate not enabled.
dj_rest_auth/tests/test_mfa.py:357
Method
test_mfa_verify_inactive_user
Verify MFA should fail if user is deactivated after first step.
dj_rest_auth/tests/test_mfa.py:334
Method
test_mfa_verify_invalid_code
Verify MFA with invalid code should fail.
dj_rest_auth/tests/test_mfa.py:303
Method
test_mfa_verify_invalid_token
Verify MFA with invalid ephemeral token should fail.
dj_rest_auth/tests/test_mfa.py:322
Method
test_mfa_verify_with_recovery_code
Verify MFA with a valid recovery code should return auth token.
dj_rest_auth/tests/test_mfa.py:265
Method
test_mfa_verify_with_recovery_code_logs_usage
Using a recovery code should emit an MFA audit event.
dj_rest_auth/tests/test_mfa.py:282
Method
test_mfa_verify_with_totp
Verify MFA with valid TOTP code should return auth token.
dj_rest_auth/tests/test_mfa.py:203
Method
test_mfa_verify_with_totp_jwt_response
Verify MFA with TOTP should return JWT response when enabled.
dj_rest_auth/tests/test_mfa.py:223
Method
test_mfa_verify_with_totp_jwt_sets_cookies
Verify MFA with TOTP should set configured JWT cookies.
dj_rest_auth/tests/test_mfa.py:246
Method
test_misconfigured_token_model
(self)
dj_rest_auth/tests/test_api.py:1198
Method
test_password_change
(self)
dj_rest_auth/tests/test_api.py:295
Method
test_password_change_honors_password_validators
(self)
dj_rest_auth/tests/test_api.py:338
Method
test_password_change_with_old_password
(self)
dj_rest_auth/tests/test_api.py:347
Method
test_password_reset_allauth
(self)
dj_rest_auth/tests/test_api.py:440
Method
test_password_reset_honors_password_validators
(self)
dj_rest_auth/tests/test_api.py:471
Method
test_password_reset_no_allauth
(self)
dj_rest_auth/tests/test_api.py:444
Method
test_password_reset_with_email_in_different_case
(self)
dj_rest_auth/tests/test_api.py:447
Method
test_password_reset_with_invalid_email
Invalid email should not raise error, as this would leak users
dj_rest_auth/tests/test_api.py:456
Method
test_recovery_codes_activate
(self)
dj_rest_auth/tests/test_mfa.py:68
Method
test_recovery_codes_deactivate
(self)
dj_rest_auth/tests/test_mfa.py:89
Method
test_recovery_codes_get_unused
(self)
dj_rest_auth/tests/test_mfa.py:81
Method
test_recovery_codes_regenerate
Should regenerate new recovery codes.
dj_rest_auth/tests/test_mfa.py:539
Method
test_recovery_codes_regenerate_without_mfa
Should fail to regenerate when MFA is not enabled.
dj_rest_auth/tests/test_mfa.py:553
Method
test_recovery_codes_validate
(self)
dj_rest_auth/tests/test_mfa.py:74
Method
test_recovery_codes_view
Should list unused recovery codes.
dj_rest_auth/tests/test_mfa.py:529
Method
test_refresh_cookie_name
(self)
dj_rest_auth/tests/test_api.py:1078
Method
test_registration
(self)
dj_rest_auth/tests/test_api.py:514
Method
test_registration_allowed_with_custom_no_password_serializer
(self)
dj_rest_auth/tests/test_api.py:550
Method
test_registration_honors_password_validators
(self)
dj_rest_auth/tests/test_api.py:533
Method
test_registration_with_custom_permission_class
(self)
dj_rest_auth/tests/test_api.py:537
Method
test_registration_with_email_verification
(self)
dj_rest_auth/tests/test_api.py:605
Method
test_registration_with_invalid_password
(self)
dj_rest_auth/tests/test_api.py:594
Method
test_registration_with_jwt
(self)
dj_rest_auth/tests/test_api.py:582
Method
test_rest_session_login_sets_session_cookie
(self)
dj_rest_auth/tests/test_api.py:1185
Method
test_return_expiration
(self)
dj_rest_auth/tests/test_api.py:1059
Method
test_rotate_token_refresh_view
(self)
dj_rest_auth/tests/test_api.py:1150
Method
test_should_not_resend_email_verification_for_nonexistent_email
(self)
dj_rest_auth/tests/test_api.py:671
Method
test_social_auth
(self)
dj_rest_auth/tests/test_social.py:102
Method
test_social_connect
(self)
dj_rest_auth/tests/test_social.py:396
Method
test_social_connect_no_auth
(self)
dj_rest_auth/tests/test_social.py:378
Method
test_totp_activate_deactivate
(self)
dj_rest_auth/tests/test_mfa.py:47
Method
test_totp_activate_get
GET TOTP activate should return secret and totp_url.
dj_rest_auth/tests/test_mfa.py:393
Method
test_totp_activate_post
POST TOTP activate should activate TOTP and return recovery codes.
dj_rest_auth/tests/test_mfa.py:401
Method
test_totp_activate_post_when_already_enabled
POST TOTP activate should not overwrite an existing MFA secret.
dj_rest_auth/tests/test_mfa.py:439
Method
test_totp_activate_post_with_invalid_activation_token
POST TOTP activate should reject invalid activation tokens.
dj_rest_auth/tests/test_mfa.py:423
Method
test_totp_activate_signs_secret
(self)
dj_rest_auth/tests/test_mfa.py:112
Method
test_totp_activation_token
(self)
dj_rest_auth/tests/test_mfa.py:105
Method
test_totp_deactivate
Deactivating TOTP should remove MFA.
dj_rest_auth/tests/test_mfa.py:469
Method
test_totp_deactivate_invalid_code
Deactivating TOTP with invalid code should fail.
dj_rest_auth/tests/test_mfa.py:498
Method
test_totp_deactivate_when_not_enabled
Deactivating TOTP when disabled should return clear error.
dj_rest_auth/tests/test_mfa.py:514
Method
test_totp_get_secret
(self)
dj_rest_auth/tests/test_mfa.py:62
Method
test_totp_validate_code
(self)
dj_rest_auth/tests/test_mfa.py:54
Method
test_totp_validate_code_rejects_replay
(self)
dj_rest_auth/tests/test_mfa.py:122
Method
test_twitter_social_auth
(self)
dj_rest_auth/tests/test_social.py:173
Method
test_twitter_social_auth_no_adapter
(self)
dj_rest_auth/tests/test_social.py:233
Method
test_twitter_social_auth_no_view_in_context
(self)
dj_rest_auth/tests/test_social.py:209
Method
test_twitter_social_auth_request_error
(self)
dj_rest_auth/tests/test_social.py:184
Method
test_twitter_social_auth_without_auto_signup
(self)
dj_rest_auth/tests/test_social.py:179
Method
test_user_details
(self)
dj_rest_auth/tests/test_api.py:482
Method
test_user_details_using_jwt
(self)
dj_rest_auth/tests/test_api.py:499
Method
test_validate_no_adapter_class_present
(self)
dj_rest_auth/tests/test_serializers.py:142
Method
test_validate_no_view_submit
(self)
dj_rest_auth/tests/test_serializers.py:137
Method
test_validate_totp_code
(self)
dj_rest_auth/tests/test_mfa.py:40
Method
test_validate_username_with_all_auth_failure
(self)
dj_rest_auth/tests/test_serializers.py:39
Method
test_validate_username_with_all_auth_success
(self)
dj_rest_auth/tests/test_serializers.py:54
Method
test_validate_username_without_all_auth
(self)
dj_rest_auth/tests/test_serializers.py:63
Method
test_wo_csrf_enforcement
(self)
dj_rest_auth/tests/test_api.py:876
Function
twitter_login_view
(request)
dj_rest_auth/tests/urls.py:80
Method
validate
(self, attrs)
dj_rest_auth/serializers.py:127
Method
validate
(self, attrs)
dj_rest_auth/serializers.py:284
Method
validate
(self, attrs)
dj_rest_auth/social_serializers.py:44
Method
validate
(self, attrs)
dj_rest_auth/social_serializers.py:116
Method
validate
(self, attrs)
dj_rest_auth/jwt_auth.py:88
Method
validate
(self, attrs)
dj_rest_auth/registration/serializers.py:93
Method
validate
(self, data)
dj_rest_auth/registration/serializers.py:259
Method
validate
(self, attrs)
dj_rest_auth/mfa/serializers.py:17
Method
validate
(self, attrs)
dj_rest_auth/mfa/serializers.py:86
Method
validate_code
(user, code)
dj_rest_auth/mfa/recovery_codes.py:55
Method
validate_email
(self, value)
dj_rest_auth/serializers.py:239
Method
validate_email
(self, email)
dj_rest_auth/registration/serializers.py:247
Function
validate_is_lower
(username: str)
dj_rest_auth/tests/test_serializers.py:21
Method
validate_old_password
(self, value)
dj_rest_auth/serializers.py:336
Method
validate_password1
(self, password)
dj_rest_auth/registration/serializers.py:256
Method
validate_password1
(self, password)
dj_rest_auth/tests/urls.py:69
Method
validate_username
(username)
dj_rest_auth/serializers.py:164
Method
validate_username
(self, username)
dj_rest_auth/registration/serializers.py:243
← previous
201–296 of 296, ranked by callers