from django.urls import path, include
from . import views

urlpatterns = [
    path('send_a_verification_code', views.SendAVerificationCode.as_view()),
    # the name LoginOrVerificationCodeCheck has been kept deliberately to explain the functionality of this API
    path('authenticate', views.LoginOrVerificationCodeCheck.as_view()),
    path('register', views.RegisterUser.as_view()),
    path('login_with_password', views.LoginWithPassword.as_view()),
    path('logout', views.LogoutUser.as_view()),
    path('change_password', views.ChangeUserPassword.as_view()),
    path('forget_password', views.ForgetUserPassword.as_view()),
    path('edit', views.EditUser.as_view()),
    path('profile', views.UserProfile.as_view()),
    path('account', views.UserAccount.as_view()),
    path('google_login', views.UserGoogleLogin.as_view()),
    path('facebook_login', views.UserFacebookLogin.as_view()),
    path('balance', views.UserBalance.as_view()),
]
