MCPcopy Create free account

hub / github.com/iMerica/dj-rest-auth / functions

Functions296 in github.com/iMerica/dj-rest-auth

Methodtest_login_jwt_sets_cookie
(self)
dj_rest_auth/tests/test_api.py:714
Methodtest_login_with_mfa_returns_ephemeral_token
Login with MFA enabled should return ephemeral_token.
dj_rest_auth/tests/test_mfa.py:192
Methodtest_login_with_no_token_model
(self)
dj_rest_auth/tests/test_api.py:1175
Methodtest_login_without_mfa
Login without MFA should return normal token response.
dj_rest_auth/tests/test_mfa.py:185
Methodtest_logout_jwt_deletes_cookie
(self)
dj_rest_auth/tests/test_api.py:725
Methodtest_logout_jwt_deletes_cookie_refresh
(self)
dj_rest_auth/tests/test_api.py:738
Methodtest_logout_on_get
(self)
dj_rest_auth/tests/test_api.py:687
Methodtest_logout_on_post_only
(self)
dj_rest_auth/tests/test_api.py:700
Methodtest_mfa_status_enabled
MFA status should indicate enabled after activation.
dj_rest_auth/tests/test_mfa.py:363
Methodtest_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
Methodtest_mfa_status_not_enabled
MFA status should indicate not enabled.
dj_rest_auth/tests/test_mfa.py:357
Methodtest_mfa_verify_inactive_user
Verify MFA should fail if user is deactivated after first step.
dj_rest_auth/tests/test_mfa.py:334
Methodtest_mfa_verify_invalid_code
Verify MFA with invalid code should fail.
dj_rest_auth/tests/test_mfa.py:303
Methodtest_mfa_verify_invalid_token
Verify MFA with invalid ephemeral token should fail.
dj_rest_auth/tests/test_mfa.py:322
Methodtest_mfa_verify_with_recovery_code
Verify MFA with a valid recovery code should return auth token.
dj_rest_auth/tests/test_mfa.py:265
Methodtest_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
Methodtest_mfa_verify_with_totp
Verify MFA with valid TOTP code should return auth token.
dj_rest_auth/tests/test_mfa.py:203
Methodtest_mfa_verify_with_totp_jwt_response
Verify MFA with TOTP should return JWT response when enabled.
dj_rest_auth/tests/test_mfa.py:223
Methodtest_mfa_verify_with_totp_jwt_sets_cookies
Verify MFA with TOTP should set configured JWT cookies.
dj_rest_auth/tests/test_mfa.py:246
Methodtest_misconfigured_token_model
(self)
dj_rest_auth/tests/test_api.py:1198
Methodtest_password_change
(self)
dj_rest_auth/tests/test_api.py:295
Methodtest_password_change_honors_password_validators
(self)
dj_rest_auth/tests/test_api.py:338
Methodtest_password_change_with_old_password
(self)
dj_rest_auth/tests/test_api.py:347
Methodtest_password_reset_allauth
(self)
dj_rest_auth/tests/test_api.py:440
Methodtest_password_reset_honors_password_validators
(self)
dj_rest_auth/tests/test_api.py:471
Methodtest_password_reset_no_allauth
(self)
dj_rest_auth/tests/test_api.py:444
Methodtest_password_reset_with_email_in_different_case
(self)
dj_rest_auth/tests/test_api.py:447
Methodtest_password_reset_with_invalid_email
Invalid email should not raise error, as this would leak users
dj_rest_auth/tests/test_api.py:456
Methodtest_recovery_codes_activate
(self)
dj_rest_auth/tests/test_mfa.py:68
Methodtest_recovery_codes_deactivate
(self)
dj_rest_auth/tests/test_mfa.py:89
Methodtest_recovery_codes_get_unused
(self)
dj_rest_auth/tests/test_mfa.py:81
Methodtest_recovery_codes_regenerate
Should regenerate new recovery codes.
dj_rest_auth/tests/test_mfa.py:539
Methodtest_recovery_codes_regenerate_without_mfa
Should fail to regenerate when MFA is not enabled.
dj_rest_auth/tests/test_mfa.py:553
Methodtest_recovery_codes_validate
(self)
dj_rest_auth/tests/test_mfa.py:74
Methodtest_recovery_codes_view
Should list unused recovery codes.
dj_rest_auth/tests/test_mfa.py:529
Methodtest_refresh_cookie_name
(self)
dj_rest_auth/tests/test_api.py:1078
Methodtest_registration
(self)
dj_rest_auth/tests/test_api.py:514
Methodtest_registration_allowed_with_custom_no_password_serializer
(self)
dj_rest_auth/tests/test_api.py:550
Methodtest_registration_honors_password_validators
(self)
dj_rest_auth/tests/test_api.py:533
Methodtest_registration_with_custom_permission_class
(self)
dj_rest_auth/tests/test_api.py:537
Methodtest_registration_with_email_verification
(self)
dj_rest_auth/tests/test_api.py:605
Methodtest_registration_with_invalid_password
(self)
dj_rest_auth/tests/test_api.py:594
Methodtest_registration_with_jwt
(self)
dj_rest_auth/tests/test_api.py:582
Methodtest_rest_session_login_sets_session_cookie
(self)
dj_rest_auth/tests/test_api.py:1185
Methodtest_return_expiration
(self)
dj_rest_auth/tests/test_api.py:1059
Methodtest_rotate_token_refresh_view
(self)
dj_rest_auth/tests/test_api.py:1150
Methodtest_should_not_resend_email_verification_for_nonexistent_email
(self)
dj_rest_auth/tests/test_api.py:671
Methodtest_social_auth
(self)
dj_rest_auth/tests/test_social.py:102
Methodtest_social_connect
(self)
dj_rest_auth/tests/test_social.py:396
Methodtest_social_connect_no_auth
(self)
dj_rest_auth/tests/test_social.py:378
Methodtest_totp_activate_deactivate
(self)
dj_rest_auth/tests/test_mfa.py:47
Methodtest_totp_activate_get
GET TOTP activate should return secret and totp_url.
dj_rest_auth/tests/test_mfa.py:393
Methodtest_totp_activate_post
POST TOTP activate should activate TOTP and return recovery codes.
dj_rest_auth/tests/test_mfa.py:401
Methodtest_totp_activate_post_when_already_enabled
POST TOTP activate should not overwrite an existing MFA secret.
dj_rest_auth/tests/test_mfa.py:439
Methodtest_totp_activate_post_with_invalid_activation_token
POST TOTP activate should reject invalid activation tokens.
dj_rest_auth/tests/test_mfa.py:423
Methodtest_totp_activate_signs_secret
(self)
dj_rest_auth/tests/test_mfa.py:112
Methodtest_totp_activation_token
(self)
dj_rest_auth/tests/test_mfa.py:105
Methodtest_totp_deactivate
Deactivating TOTP should remove MFA.
dj_rest_auth/tests/test_mfa.py:469
Methodtest_totp_deactivate_invalid_code
Deactivating TOTP with invalid code should fail.
dj_rest_auth/tests/test_mfa.py:498
Methodtest_totp_deactivate_when_not_enabled
Deactivating TOTP when disabled should return clear error.
dj_rest_auth/tests/test_mfa.py:514
Methodtest_totp_get_secret
(self)
dj_rest_auth/tests/test_mfa.py:62
Methodtest_totp_validate_code
(self)
dj_rest_auth/tests/test_mfa.py:54
Methodtest_totp_validate_code_rejects_replay
(self)
dj_rest_auth/tests/test_mfa.py:122
Methodtest_twitter_social_auth
(self)
dj_rest_auth/tests/test_social.py:173
Methodtest_twitter_social_auth_no_adapter
(self)
dj_rest_auth/tests/test_social.py:233
Methodtest_twitter_social_auth_no_view_in_context
(self)
dj_rest_auth/tests/test_social.py:209
Methodtest_twitter_social_auth_request_error
(self)
dj_rest_auth/tests/test_social.py:184
Methodtest_twitter_social_auth_without_auto_signup
(self)
dj_rest_auth/tests/test_social.py:179
Methodtest_user_details
(self)
dj_rest_auth/tests/test_api.py:482
Methodtest_user_details_using_jwt
(self)
dj_rest_auth/tests/test_api.py:499
Methodtest_validate_no_adapter_class_present
(self)
dj_rest_auth/tests/test_serializers.py:142
Methodtest_validate_no_view_submit
(self)
dj_rest_auth/tests/test_serializers.py:137
Methodtest_validate_totp_code
(self)
dj_rest_auth/tests/test_mfa.py:40
Methodtest_validate_username_with_all_auth_failure
(self)
dj_rest_auth/tests/test_serializers.py:39
Methodtest_validate_username_with_all_auth_success
(self)
dj_rest_auth/tests/test_serializers.py:54
Methodtest_validate_username_without_all_auth
(self)
dj_rest_auth/tests/test_serializers.py:63
Methodtest_wo_csrf_enforcement
(self)
dj_rest_auth/tests/test_api.py:876
Functiontwitter_login_view
(request)
dj_rest_auth/tests/urls.py:80
Methodvalidate
(self, attrs)
dj_rest_auth/serializers.py:127
Methodvalidate
(self, attrs)
dj_rest_auth/serializers.py:284
Methodvalidate
(self, attrs)
dj_rest_auth/social_serializers.py:44
Methodvalidate
(self, attrs)
dj_rest_auth/social_serializers.py:116
Methodvalidate
(self, attrs)
dj_rest_auth/jwt_auth.py:88
Methodvalidate
(self, attrs)
dj_rest_auth/registration/serializers.py:93
Methodvalidate
(self, data)
dj_rest_auth/registration/serializers.py:259
Methodvalidate
(self, attrs)
dj_rest_auth/mfa/serializers.py:17
Methodvalidate
(self, attrs)
dj_rest_auth/mfa/serializers.py:86
Methodvalidate_code
(user, code)
dj_rest_auth/mfa/recovery_codes.py:55
Methodvalidate_email
(self, value)
dj_rest_auth/serializers.py:239
Methodvalidate_email
(self, email)
dj_rest_auth/registration/serializers.py:247
Functionvalidate_is_lower
(username: str)
dj_rest_auth/tests/test_serializers.py:21
Methodvalidate_old_password
(self, value)
dj_rest_auth/serializers.py:336
Methodvalidate_password1
(self, password)
dj_rest_auth/registration/serializers.py:256
Methodvalidate_password1
(self, password)
dj_rest_auth/tests/urls.py:69
Methodvalidate_username
(username)
dj_rest_auth/serializers.py:164
Methodvalidate_username
(self, username)
dj_rest_auth/registration/serializers.py:243
← previous201–296 of 296, ranked by callers