Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/iMerica/dj-rest-auth
/ types & classes
Types & classes
85 in github.com/iMerica/dj-rest-auth
⨍
Functions
296
◇
Types & classes
85
↳
Endpoints
2
↓ 8 callers
Class
APIClient
dj_rest_auth/tests/mixins.py:23
↓ 3 callers
Class
SocialLoginSerializer
dj_rest_auth/registration/serializers.py:52
↓ 3 callers
Class
UserDetailsSerializer
User model w/o password
dj_rest_auth/serializers.py:158
↓ 2 callers
Class
PasswordChangeSerializer
dj_rest_auth/serializers.py:316
↓ 2 callers
Class
SocialLoginView
class used for social authentications example usage for facebook with access_token ------------- from allauth.socialaccount.providers
dj_rest_auth/registration/views.py:145
↓ 1 callers
Class
APISettings
dj_rest_auth/app_settings.py:84
↓ 1 callers
Class
LoginView
Check the credentials and return the REST Token if the credentials are valid and authenticated. Calls Django Auth login method to registe
dj_rest_auth/views.py:28
↓ 1 callers
Class
TwitterLoginSerializerFoo
dj_rest_auth/tests/urls.py:55
↓ 1 callers
Class
VerifyEmailSerializer
dj_rest_auth/registration/serializers.py:292
Class
APIBasicTests
Case #1: - user profile: defined - custom registration: backend defined
dj_rest_auth/tests/test_api.py:39
Class
AllAuthPasswordResetForm
dj_rest_auth/forms.py:38
Interface
AuthContextType
demo/spa-client/context/AuthContext.tsx:16
Class
Authenticator
dj_rest_auth/mfa/models.py:6
Class
CookieTokenRefreshSerializer
dj_rest_auth/jwt_auth.py:74
Class
CustomPermissionClass
dj_rest_auth/tests/mixins.py:16
Class
CustomRegisterView
dj_rest_auth/tests/test_api.py:538
Class
ExampleProtectedView
dj_rest_auth/tests/urls.py:27
Class
FacebookConnect
dj_rest_auth/tests/urls.py:46
Class
FacebookLogin
dj_rest_auth/tests/urls.py:37
Class
JWTCookieAuthentication
An authentication plugin that hopefully authenticates requests through a JSON web token provided in a request cookie (and through the heade
dj_rest_auth/jwt_auth.py:115
Class
JWTSerializer
Serializer for JWT authentication.
dj_rest_auth/serializers.py:193
Class
JWTSerializerWithExpiration
Serializer for JWT authentication with expiration times.
dj_rest_auth/serializers.py:212
Class
LoginSerializer
dj_rest_auth/serializers.py:21
Class
LogoutView
Calls Django logout method and delete the Token object assigned to the current User object. Accepts/Returns nothing.
dj_rest_auth/views.py:131
Class
MFAConfig
dj_rest_auth/mfa/apps.py:5
Class
MFALoginFlowTests
Integration tests for MFA login flow.
dj_rest_auth/tests/test_mfa.py:138
Class
MFALoginView
Subclass of LoginView that checks for MFA. If the user has MFA enabled, returns an ephemeral token instead of completing login. The clie
dj_rest_auth/mfa/views.py:24
Class
MFAStatusSerializer
dj_rest_auth/mfa/serializers.py:149
Class
MFAStatusView
Check whether the current user has MFA enabled.
dj_rest_auth/mfa/views.py:225
Class
MFAUnitTests
Unit tests for MFA utilities, TOTP, and recovery codes.
dj_rest_auth/tests/test_mfa.py:28
Class
MFAVerifySerializer
dj_rest_auth/mfa/serializers.py:13
Class
MFAVerifyView
Exchange ephemeral_token + TOTP/recovery code for a real auth token.
dj_rest_auth/mfa/views.py:56
Class
Meta
dj_rest_auth/serializers.py:153
Class
Meta
dj_rest_auth/serializers.py:174
Class
Meta
dj_rest_auth/registration/serializers.py:41
Class
Meta
dj_rest_auth/mfa/models.py:21
Interface
MfaSetupData
demo/spa-client/app/mfa/setup/page.tsx:8
Class
MicrosoftLoginSerializer
dj_rest_auth/social_serializers.py:89
Class
Migration
dj_rest_auth/mfa/migrations/0001_initial.py:8
Class
NoPassowrdRegisterSerializer
dj_rest_auth/tests/urls.py:59
Class
NoPasswordRegisterView
dj_rest_auth/tests/urls.py:75
Class
PasswordChangeView
Calls Django Auth SetPasswordForm save method. Accepts the following POST parameters: new_password1, new_password2 Returns the success/f
dj_rest_auth/views.py:293
Class
PasswordResetConfirmSerializer
Serializer for confirming a password reset attempt.
dj_rest_auth/serializers.py:266
Class
PasswordResetConfirmView
Password reset e-mail link is confirmed, therefore this resets the user's password. Accepts the following POST parameters: token, uid,
dj_rest_auth/views.py:267
Class
PasswordResetSerializer
Serializer for requesting a password reset e-mail.
dj_rest_auth/serializers.py:220
Class
PasswordResetView
Calls Django Auth PasswordResetForm save method. Accepts the following POST parameters: email Returns the success/fail message.
dj_rest_auth/views.py:243
Class
RecoveryCodes
dj_rest_auth/mfa/recovery_codes.py:13
Class
RecoveryCodesRegenerateView
Regenerate recovery codes. Invalidates all previous codes.
dj_rest_auth/mfa/views.py:276
Class
RecoveryCodesSerializer
dj_rest_auth/mfa/serializers.py:155
Class
RecoveryCodesView
View unused recovery codes.
dj_rest_auth/mfa/views.py:261
Class
RefreshViewWithCookieSupport
dj_rest_auth/jwt_auth.py:98
Class
RegisterSerializer
dj_rest_auth/registration/serializers.py:233
Class
RegisterView
Registers a new user. Accepts the following POST parameters: username, email, password1, password2.
dj_rest_auth/registration/views.py:34
Class
ResendEmailVerificationSerializer
dj_rest_auth/registration/serializers.py:296
Class
ResendEmailVerificationView
Resends another email to an unverified email. Accepts the following POST parameter: email.
dj_rest_auth/registration/views.py:124
Class
SocialAccountDisconnectView
Disconnect SocialAccount from remote service for the currently logged in user
dj_rest_auth/registration/views.py:204
Class
SocialAccountListView
List SocialAccounts for the currently logged in user
dj_rest_auth/registration/views.py:193
Class
SocialAccountSerializer
serialize allauth SocialAccounts for use with a REST API
dj_rest_auth/registration/serializers.py:36
Class
SocialConnectMixin
dj_rest_auth/registration/serializers.py:217
Class
SocialConnectSerializer
dj_rest_auth/registration/serializers.py:229
Class
SocialConnectView
class used for social account linking example usage for facebook with access_token ------------- from allauth.socialaccount.provider
dj_rest_auth/registration/views.py:174
Class
TESTTokenObtainPairSerializer
dj_rest_auth/tests/test_api.py:27
Class
TOTP
dj_rest_auth/mfa/totp.py:32
Class
TOTPActivateConfirmSerializer
dj_rest_auth/mfa/serializers.py:82
Class
TOTPActivateInitSerializer
dj_rest_auth/mfa/serializers.py:75
Class
TOTPActivateView
GET: Generate a new TOTP secret + provisioning URI + QR code. POST: Confirm TOTP activation with activation_token and a valid code.
dj_rest_auth/mfa/views.py:104
Class
TOTPDeactivateSerializer
dj_rest_auth/mfa/serializers.py:130
Class
TOTPDeactivateView
Deactivate TOTP MFA. Requires a valid TOTP code to confirm.
dj_rest_auth/mfa/views.py:186
Class
TestFormatLazy
dj_rest_auth/tests/test_utils.py:6
Class
TestPasswordChangeSerializer
dj_rest_auth/tests/test_serializers.py:71
Class
TestSocialAuth
dj_rest_auth/tests/test_social.py:50
Class
TestSocialConnectAuth
dj_rest_auth/tests/test_social.py:342
Class
TestSocialLoginSerializer
dj_rest_auth/tests/test_serializers.py:109
Class
TestUserDetailsSerializer
dj_rest_auth/tests/test_serializers.py:31
Class
TestsMixin
base for API tests: * easy request calls, f.e.: self.post(url, data), self.get(url) * easy status check, f.e.: self.post(url, dat
dj_rest_auth/tests/mixins.py:32
Class
TokenSerializer
Serializer for Token model.
dj_rest_auth/serializers.py:148
Class
TwitterConnect
dj_rest_auth/tests/urls.py:50
Class
TwitterConnectSerializer
dj_rest_auth/social_serializers.py:85
Class
TwitterLogin
dj_rest_auth/tests/urls.py:41
Class
TwitterLoginNoAdapter
dj_rest_auth/tests/urls.py:88
Class
TwitterLoginSerializer
dj_rest_auth/social_serializers.py:16
Class
Type
dj_rest_auth/mfa/models.py:7
Interface
User
demo/spa-client/context/AuthContext.tsx:8
Class
UserDetailsView
Reads and updates UserModel fields Accepts GET, PUT, PATCH methods. Default accepted fields: username, first_name, last_name Default
dj_rest_auth/views.py:218
Class
VerifyEmailView
Verifies the email associated with the provided key. Accepts the following POST parameter: key.
dj_rest_auth/registration/views.py:100