MCPcopy Create free account

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

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

↓ 1 callersFunctionset_jwt_cookies
(response, access_token, refresh_token)
dj_rest_auth/jwt_auth.py:56
↓ 1 callersFunctionunset_jwt_cookies
(response)
dj_rest_auth/jwt_auth.py:61
↓ 1 callersMethodvalidate_auth_user_status
(user)
dj_rest_auth/serializers.py:114
↓ 1 callersMethodvalidate_email_verification_status
(user, email=None)
dj_rest_auth/serializers.py:120
↓ 1 callersFunctionverifyMfa
(code: string, ephemeralToken: string)
demo/spa-client/context/AuthContext.tsx:66
FunctionAuthProvider
({ children }: { children: React.ReactNode })
demo/spa-client/context/AuthContext.tsx:28
FunctionHome
()
demo/spa-client/app/page.tsx:8
FunctionLoginPage
()
demo/spa-client/app/login/page.tsx:7
FunctionMfaSetupPage
()
demo/spa-client/app/mfa/setup/page.tsx:15
FunctionMfaVerifyPage
()
demo/spa-client/app/mfa/verify/page.tsx:66
FunctionRegisterPage
()
demo/spa-client/app/register/page.tsx:6
FunctionRootLayout
({ children, }: Readonly<{ children: React.ReactNode; }>)
demo/spa-client/app/layout.tsx:14
FunctionVerifyContent
()
demo/spa-client/app/mfa/verify/page.tsx:7
Method__check_user_settings
(self, user_settings)
dj_rest_auth/app_settings.py:85
Method__init__
(self, *args, **kwargs)
dj_rest_auth/serializers.py:325
Method__str__
(self)
dj_rest_auth/mfa/models.py:24
Methodactivate
(user)
dj_rest_auth/mfa/recovery_codes.py:27
Methodauthenticate
(self, request)
dj_rest_auth/jwt_auth.py:135
Methodcreate
(self, request, *args, **kwargs)
dj_rest_auth/registration/views.py:134
Methoddeactivate
(user)
dj_rest_auth/mfa/recovery_codes.py:81
Functiondefault_create_token
(token_model, user, serializer)
dj_rest_auth/utils.py:4
Functiondefault_url_generator
(request, user, temp_key)
dj_rest_auth/forms.py:22
Methoddispatch
(self, *args, **kwargs)
dj_rest_auth/views.py:281
Methoddispatch
(self, *args, **kwargs)
dj_rest_auth/views.py:305
Methoddispatch
(self, *args, **kwargs)
dj_rest_auth/registration/views.py:46
Methoddummy_get_response
(request)
dj_rest_auth/jwt_auth.py:125
Methodget
(self, request, *args, **kwargs)
dj_rest_auth/mfa/views.py:117
Methodget_cleaned_data
(self)
dj_rest_auth/tests/urls.py:63
Functionget_csrf_cookie
(request)
dj_rest_auth/tests/urls.py:94
Methodget_queryset
Adding this method since it is sometimes called when using django-rest-swagger
dj_rest_auth/views.py:235
Methodget_response
(self)
dj_rest_auth/mfa/views.py:40
Methodget_serializer_class
(self)
dj_rest_auth/mfa/views.py:62
Methodget_serializer_class
(self)
dj_rest_auth/mfa/views.py:191
Methodget_social_login
Set the social login process state to connect rather than login Refer to the implementation of get_social_login in base class and to
dj_rest_auth/registration/serializers.py:218
FunctionhandleChange
(e: React.ChangeEvent<HTMLInputElement>)
demo/spa-client/app/register/page.tsx:16
FunctionhandleChange
(e: React.ChangeEvent<HTMLInputElement>)
demo/spa-client/app/login/page.tsx:16
FunctionhandleSubmit
(e: React.FormEvent)
demo/spa-client/app/mfa/verify/page.tsx:21
FunctionhandleSubmit
(e: React.FormEvent)
demo/spa-client/app/mfa/setup/page.tsx:36
FunctionhandleSubmit
(e: React.FormEvent)
demo/spa-client/app/register/page.tsx:23
FunctionhandleSubmit
(e: React.FormEvent)
demo/spa-client/app/login/page.tsx:23
Methodhas_permission
(self, request, view)
dj_rest_auth/tests/mixins.py:19
Functionlogout
()
demo/spa-client/context/AuthContext.tsx:83
Methodoptions
(self, path, data='', content_type=MULTIPART_CONTENT, follow=False, **extra)
dj_rest_auth/tests/mixins.py:28
Methodpatch
(self, *args, **kwargs)
dj_rest_auth/tests/mixins.py:73
Methodpost
(self, request, *args, **kwargs)
dj_rest_auth/views.py:149
Methodpost
(self, request, *args, **kwargs)
dj_rest_auth/views.py:254
Methodpost
(self, request, *args, **kwargs)
dj_rest_auth/views.py:284
Methodpost
(self, request, *args, **kwargs)
dj_rest_auth/views.py:308
Methodpost
(self, request, *args, **kwargs)
dj_rest_auth/registration/views.py:115
Methodpost
(self, request, *args, **kwargs)
dj_rest_auth/registration/views.py:215
Methodpost
(self, request, *args, **kwargs)
dj_rest_auth/mfa/views.py:65
Methodpost
(self, request, *args, **kwargs)
dj_rest_auth/mfa/views.py:131
Methodpost
(self, request, *args, **kwargs)
dj_rest_auth/mfa/views.py:194
Methodpost
(self, request, *args, **kwargs)
dj_rest_auth/mfa/views.py:269
Methodpost
(self, request, *args, **kwargs)
dj_rest_auth/mfa/views.py:284
Methodpost
(self, *args, **kwargs)
dj_rest_auth/tests/urls.py:33
Methodprocess_login
(self)
dj_rest_auth/registration/views.py:170
Methodprocess_login
(self)
dj_rest_auth/registration/views.py:189
Methodsave
(self)
dj_rest_auth/serializers.py:312
Methodsave
(self)
dj_rest_auth/serializers.py:361
MethodsetUp
(self)
dj_rest_auth/tests/test_social.py:62
MethodsetUp
(self)
dj_rest_auth/tests/test_social.py:354
MethodsetUp
(self)
dj_rest_auth/tests/test_mfa.py:31
MethodsetUp
(self)
dj_rest_auth/tests/test_mfa.py:145
MethodsetUp
(self)
dj_rest_auth/tests/test_api.py:72
MethodsetUpTestData
(cls)
dj_rest_auth/tests/test_serializers.py:33
MethodsetUpTestData
(cls)
dj_rest_auth/tests/test_serializers.py:73
MethodsetUpTestData
(cls)
dj_rest_auth/tests/test_serializers.py:116
Methodtest_allauth_login_with_email
(self)
dj_rest_auth/tests/test_api.py:225
Methodtest_allauth_login_with_email_deprecated_setting
(self)
dj_rest_auth/tests/test_api.py:205
Methodtest_allauth_login_with_username
(self)
dj_rest_auth/tests/test_api.py:168
Methodtest_blacklisting
(self)
dj_rest_auth/tests/test_api.py:790
Methodtest_blacklisting_not_installed
(self)
dj_rest_auth/tests/test_api.py:772
Methodtest_cookie_authentication
(self)
dj_rest_auth/tests/test_api.py:759
Methodtest_csrf_w_login_csrf_enforcement
(self)
dj_rest_auth/tests/test_api.py:972
Methodtest_csrf_w_login_csrf_enforcement_2
(self)
dj_rest_auth/tests/test_api.py:1021
Methodtest_csrf_wo_login_csrf_enforcement
(self)
dj_rest_auth/tests/test_api.py:918
Methodtest_custom_jwt_claims
(self)
dj_rest_auth/tests/test_api.py:820
Methodtest_custom_jwt_claims_cookie_w_authentication
(self)
dj_rest_auth/tests/test_api.py:846
Methodtest_custom_token_refresh_view
(self)
dj_rest_auth/tests/test_api.py:1097
Methodtest_custom_token_refresh_view_with_http_only_cookie_and_refresh_token_rotation
(self)
dj_rest_auth/tests/test_api.py:1122
Methodtest_custom_validation
(self)
dj_rest_auth/tests/test_serializers.py:87
Methodtest_email_clash_with_existing_account
(self)
dj_rest_auth/tests/test_social.py:263
Methodtest_ephemeral_token
(self)
dj_rest_auth/tests/test_mfa.py:94
Methodtest_ephemeral_token_expired
(self)
dj_rest_auth/tests/test_mfa.py:99
Methodtest_failed_social_auth
(self)
dj_rest_auth/tests/test_social.py:86
Methodtest_full_mfa_flow
End-to-end: activate MFA, login with TOTP, login with recovery code, regenerate recovery codes, deactivate MFA, login normally.
dj_rest_auth/tests/test_mfa.py:558
Methodtest_generate_totp_secret
(self)
dj_rest_auth/tests/test_mfa.py:36
Methodtest_http_error
(self)
dj_rest_auth/tests/test_serializers.py:148
Methodtest_is_mfa_enabled
(self)
dj_rest_auth/tests/test_mfa.py:129
Methodtest_it_should_work
(self)
dj_rest_auth/tests/test_utils.py:7
Methodtest_jwt
(self)
dj_rest_auth/tests/test_social.py:319
Methodtest_login_by_email
(self)
dj_rest_auth/tests/test_api.py:253
Methodtest_login_failed_email_validation
(self)
dj_rest_auth/tests/test_api.py:106
Methodtest_login_failed_email_validation_deprecated_setting
(self)
dj_rest_auth/tests/test_api.py:92
Methodtest_login_failed_username_email_validation
(self)
dj_rest_auth/tests/test_api.py:160
Methodtest_login_failed_username_email_validation_deprecated_setting
(self)
dj_rest_auth/tests/test_api.py:144
Methodtest_login_failed_username_validation
(self)
dj_rest_auth/tests/test_api.py:132
Methodtest_login_failed_username_validation_deprecated_setting
(self)
dj_rest_auth/tests/test_api.py:118
Methodtest_login_jwt
(self)
dj_rest_auth/tests/test_api.py:241
← previousnext →101–200 of 296, ranked by callers