MCPcopy Create free account

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

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

↓ 187 callersMethodpost
(self, *args, **kwargs)
dj_rest_auth/tests/mixins.py:67
↓ 49 callersMethodget
(self, *args, **kwargs)
dj_rest_auth/tests/mixins.py:70
↓ 38 callersMethodactivate
(user, secret)
dj_rest_auth/mfa/totp.py:34
↓ 26 callersFunctiongenerate_totp_secret
()
dj_rest_auth/mfa/totp.py:12
↓ 22 callersMethodget
(self, request, *args, **kwargs)
dj_rest_auth/views.py:141
↓ 15 callersMethodget
(self, request, *args, **kwargs)
dj_rest_auth/mfa/views.py:233
↓ 14 callersFunctionlog_mfa_event
(event, *, user=None, request=None, level=logging.INFO, **details)
dj_rest_auth/mfa/audit.py:12
↓ 12 callersFunctionis_mfa_enabled
(user)
dj_rest_auth/mfa/utils.py:41
↓ 11 callersMethodget_serializer
(self, *args, **kwargs)
dj_rest_auth/registration/views.py:109
↓ 10 callersMethodget
(self, *args, **kwargs)
dj_rest_auth/registration/views.py:112
↓ 8 callersMethod_login_get_token
Login without MFA and get auth token.
dj_rest_auth/tests/test_mfa.py:163
↓ 8 callersMethodsave
(self, request)
dj_rest_auth/registration/serializers.py:274
↓ 7 callersFunctionget_token_model
()
dj_rest_auth/models.py:8
↓ 7 callersMethodvalidate_code
(user, code)
dj_rest_auth/mfa/totp.py:60
↓ 5 callersMethodcreate
(self, request, *args, **kwargs)
dj_rest_auth/registration/views.py:65
↓ 5 callersFunctionoverride_api_settings
(**settings)
dj_rest_auth/tests/utils.py:7
↓ 5 callersMethodpost
(self, request, *args, **kwargs)
dj_rest_auth/views.py:122
↓ 5 callersMethodsave
(self, request, **kwargs)
dj_rest_auth/forms.py:49
↓ 4 callersMethod_login
(self, expected_status_code=status.HTTP_200_OK)
dj_rest_auth/tests/mixins.py:97
↓ 4 callersMethod_logout
(self)
dj_rest_auth/tests/mixins.py:104
↓ 4 callersMethod_mfa_login_get_token
Login with MFA: get ephemeral token, verify with TOTP, return auth token.
dj_rest_auth/tests/test_mfa.py:170
↓ 4 callersMethodauthenticate
(self, **kwargs)
dj_rest_auth/serializers.py:26
↓ 4 callersFunctioncheckAuth
()
demo/spa-client/context/AuthContext.tsx:33
↓ 4 callersMethoddeactivate
(user)
dj_rest_auth/mfa/totp.py:43
↓ 4 callersMethodget_secret
(user)
dj_rest_auth/mfa/totp.py:49
↓ 4 callersMethodget_unused_codes
(user)
dj_rest_auth/mfa/recovery_codes.py:38
↓ 4 callersFunctionuseAuth
()
demo/spa-client/context/AuthContext.tsx:116
↓ 4 callersFunctionvalidate_totp_code
(secret, code)
dj_rest_auth/mfa/totp.py:25
↓ 3 callersMethod_generate_codes
(seed, count)
dj_rest_auth/mfa/recovery_codes.py:15
↓ 3 callersMethod_get_request
(self)
dj_rest_auth/registration/serializers.py:57
↓ 3 callersFunction_signup_field_required
Get field 'required' from SIGNUP_FIELDS (allauth>=65.5) with fallback.
dj_rest_auth/registration/serializers.py:24
↓ 3 callersFunctioncreate_ephemeral_token
(user)
dj_rest_auth/mfa/utils.py:12
↓ 3 callersFunctioncreate_totp_activation_token
(user, secret)
dj_rest_auth/mfa/utils.py:25
↓ 3 callersMethodinit
(self)
dj_rest_auth/tests/mixins.py:76
↓ 3 callersFunctionjwt_encode
(user)
dj_rest_auth/utils.py:9
↓ 3 callersMethodsend_request
(self, request_method, *args, **kwargs)
dj_rest_auth/tests/mixins.py:38
↓ 3 callersFunctionverify_ephemeral_token
(token, max_age=None)
dj_rest_auth/mfa/utils.py:17
↓ 2 callersMethod_generate_uid_and_token
(self, user)
dj_rest_auth/tests/test_api.py:75
↓ 2 callersMethod_get_request
(self)
dj_rest_auth/social_serializers.py:20
↓ 2 callersMethod_get_request
(self)
dj_rest_auth/social_serializers.py:92
↓ 2 callersMethod_password_reset
(self)
dj_rest_auth/tests/test_api.py:385
↓ 2 callersFunction_sanitize
(value)
dj_rest_auth/mfa/audit.py:6
↓ 2 callersMethod_twitter_social_auth
(self)
dj_rest_auth/tests/test_social.py:140
↓ 2 callersMethod_validate_username_email
(self, username, email, password)
dj_rest_auth/serializers.py:47
↓ 2 callersMethoddispatch
(self, *args, **kwargs)
dj_rest_auth/views.py:47
↓ 2 callersMethodenforce_csrf
Enforce CSRF validation for session based authentication.
dj_rest_auth/jwt_auth.py:121
↓ 2 callersFunctionformat_lazy
(s, *args, **kwargs)
dj_rest_auth/utils.py:18
↓ 2 callersMethodget
(self, *args, **kwargs)
dj_rest_auth/tests/urls.py:30
↓ 2 callersFunctionget_refresh_view
Returns a Token Refresh CBV without a circular import
dj_rest_auth/jwt_auth.py:93
↓ 2 callersMethodget_response
(self)
dj_rest_auth/views.py:77
↓ 2 callersMethodget_social_login
:param adapter: allauth.socialaccount Adapter subclass. Usually OAuthAdapter or Auth2Adapter :param app: `allauth.sociala
dj_rest_auth/registration/serializers.py:63
↓ 2 callersMethodlogin
(self)
dj_rest_auth/mfa/views.py:33
↓ 2 callersMethodlogout
(self, request)
dj_rest_auth/views.py:152
↓ 2 callersMethodpatch
(self, path, data='', content_type=MULTIPART_CONTENT, follow=False, **extra)
dj_rest_auth/tests/mixins.py:25
↓ 2 callersMethodprocess_login
(self)
dj_rest_auth/views.py:50
↓ 2 callersMethodsave
(self)
dj_rest_auth/serializers.py:247
↓ 2 callersFunctionset_jwt_access_cookie
(response, access_token)
dj_rest_auth/jwt_auth.py:12
↓ 2 callersFunctionset_jwt_refresh_cookie
(response, refresh_token)
dj_rest_auth/jwt_auth.py:33
↓ 2 callersMethodvalidate
(self, attrs)
dj_rest_auth/serializers.py:351
↓ 2 callersMethodvalidate_code
(self, code)
dj_rest_auth/mfa/serializers.py:133
↓ 2 callersFunctionverify_totp_activation_token
(token, max_age=None)
dj_rest_auth/mfa/utils.py:30
↓ 1 callersMethod_generate_qr_data_uri
(data)
dj_rest_auth/mfa/views.py:168
↓ 1 callersFunction_has_oauth_query_bug
Check if allauth's OAuth.query() has a broken sess.request() call signature.
dj_rest_auth/tests/test_social.py:33
↓ 1 callersMethod_validate_email
(self, email, password)
dj_rest_auth/serializers.py:29
↓ 1 callersMethod_validate_username
(self, username, password)
dj_rest_auth/serializers.py:38
↓ 1 callersFunctionbuild_totp_uri
(user, secret)
dj_rest_auth/mfa/totp.py:16
↓ 1 callersMethodclean_email
Invalid email should not raise error, as this would leak users for unit test: test_password_reset_with_invalid_email
dj_rest_auth/forms.py:39
↓ 1 callersMethodcustom_signup
(self, request, user)
dj_rest_auth/registration/serializers.py:264
↓ 1 callersMethodcustom_validation
(self, attrs)
dj_rest_auth/serializers.py:281
↓ 1 callersMethodcustom_validation
(self, attrs)
dj_rest_auth/serializers.py:348
↓ 1 callersMethodextract_refresh_token
(self)
dj_rest_auth/jwt_auth.py:77
↓ 1 callersFunctionfetchSetupData
()
demo/spa-client/app/mfa/setup/page.tsx:23
↓ 1 callersMethodfinalize_response
(self, request, response, *args, **kwargs)
dj_rest_auth/jwt_auth.py:101
↓ 1 callersMethodget_auth_user
Retrieve the auth user from given POST payload by using either `allauth` auth scheme or bare Django auth scheme. Returns the
dj_rest_auth/serializers.py:94
↓ 1 callersMethodget_auth_user_using_allauth
(self, username, email, password)
dj_rest_auth/serializers.py:58
↓ 1 callersMethodget_auth_user_using_orm
(self, username, email, password)
dj_rest_auth/serializers.py:82
↓ 1 callersMethodget_cleaned_data
(self)
dj_rest_auth/registration/serializers.py:267
↓ 1 callersMethodget_email_options
Override this method to change default e-mail options
dj_rest_auth/serializers.py:235
↓ 1 callersMethodget_object
(self)
dj_rest_auth/views.py:232
↓ 1 callersMethodget_queryset
(self)
dj_rest_auth/registration/views.py:200
↓ 1 callersMethodget_queryset
(self)
dj_rest_auth/registration/views.py:212
↓ 1 callersMethodget_response_data
(self, user)
dj_rest_auth/registration/views.py:49
↓ 1 callersMethodget_response_serializer
(self)
dj_rest_auth/views.py:53
↓ 1 callersMethodget_serializer_class
(self)
dj_rest_auth/mfa/views.py:112
↓ 1 callersMethodget_serializer_class
(self)
dj_rest_auth/mfa/views.py:230
↓ 1 callersMethodget_serializer_class
(self)
dj_rest_auth/mfa/views.py:266
↓ 1 callersMethodget_serializer_class
(self)
dj_rest_auth/mfa/views.py:281
↓ 1 callersMethodget_social_login
:param adapter: allauth.socialaccount Adapter subclass. Usually OAuthAdapter or Auth2Adapter :param app: `allauth.sociala
dj_rest_auth/social_serializers.py:26
↓ 1 callersMethodget_social_login
:param adapter: allauth.socialaccount Adapter subclass. Usually OAuthAdapter or Auth2Adapter :param app: `allauth.sociala
dj_rest_auth/social_serializers.py:98
↓ 1 callersMethodget_token
(cls, user)
dj_rest_auth/tests/test_api.py:29
↓ 1 callersMethodget_user
Required to allow using custom USER_DETAILS_SERIALIZER in JWTSerializer. Defining it here to avoid circular imports
dj_rest_auth/serializers.py:201
↓ 1 callersMethodinit_mfa
(self)
dj_rest_auth/tests/test_mfa.py:148
↓ 1 callersFunctionlogin
(data: any)
demo/spa-client/context/AuthContext.tsx:48
↓ 1 callersMethodlogin
(self)
dj_rest_auth/views.py:65
↓ 1 callersMethodpassword_reset_form_class
(self)
dj_rest_auth/serializers.py:229
↓ 1 callersMethodperform_create
(self, serializer)
dj_rest_auth/registration/views.py:83
↓ 1 callersMethodpost_signup
Inject behavior when the user signs up with a social account. :param login: The social login instance being registered. :typ
dj_rest_auth/registration/serializers.py:205
↓ 1 callersFunctionregister
(data: any)
demo/spa-client/context/AuthContext.tsx:95
↓ 1 callersFunctionruntests
()
runtests.py:16
↓ 1 callersMethodset_callback_url
(self, view, adapter_class)
dj_rest_auth/registration/serializers.py:78
next →1–100 of 296, ranked by callers