# encoding: utf-8 from __future__ import unicode_literals from django.conf.urls import url from badgeuser.api import BadgeUserToken, BadgeUserForgotPassword, BadgeUserEmailConfirm, BadgeUserDetail, \ AccessTokenList, AccessTokenDetail urlpatterns = [ url(r'^auth/token$', BadgeUserToken.as_view(), name='v2_api_auth_token'), url(r'^auth/forgot-password$', BadgeUserForgotPassword.as_view(), name='v2_api_auth_forgot_password'), url(r'^auth/confirm-email/(?P<confirm_id>[^/]+)$', BadgeUserEmailConfirm.as_view(), name='v2_api_auth_confirm_email'), url(r'^auth/tokens$', AccessTokenList.as_view(), name='v2_api_access_token_list'), url(r'^auth/tokens/(?P<entity_id>[^/]+)$', AccessTokenDetail.as_view(), name='v2_api_access_token_detail'), url(r'^users/(?P<entity_id>self)$', BadgeUserDetail.as_view(), name='v2_api_user_self'), url(r'^users/(?P<entity_id>[^/]+)$', BadgeUserDetail.as_view(), name='v2_api_user_detail'), ]
# encoding: utf-8 from __future__ import unicode_literals from django.conf.urls import url from badgeuser.api import (BadgeUserAccountConfirm, BadgeUserToken, BadgeUserForgotPassword, BadgeUserEmailConfirm, BadgeUserDetail, AccessTokenList, AccessTokenDetail,) urlpatterns = [ url(r'^auth/token$', BadgeUserToken.as_view(), name='v2_api_auth_token'), url(r'^auth/forgot-password$', BadgeUserForgotPassword.as_view(), name='v2_api_auth_forgot_password'), url(r'^auth/confirm-email/(?P<confirm_id>[^/]+)$', BadgeUserEmailConfirm.as_view(), name='v2_api_auth_confirm_email'), url(r'^auth/confirm-account/(?P<authcode>[^/]+)$', BadgeUserAccountConfirm.as_view(), name='v2_api_account_confirm'), url(r'^auth/tokens$', AccessTokenList.as_view(), name='v2_api_access_token_list'), url(r'^auth/tokens/(?P<entity_id>[^/]+)$', AccessTokenDetail.as_view(), name='v2_api_access_token_detail'), url(r'^users/(?P<entity_id>self)$', BadgeUserDetail.as_view(), name='v2_api_user_self'), url(r'^users/(?P<entity_id>[^/]+)$', BadgeUserDetail.as_view(), name='v2_api_user_detail'), ]
from django.conf.urls import url from badgeuser.api import BadgeUserToken, BadgeUserForgotPassword, BadgeUserEmailConfirm, BadgeUserDetail, \ BadgeUserList, BadgeUserManagementDetail from badgeuser.api_v1 import BadgeUserEmailList, BadgeUserEmailDetail, BadgeUserFacultyList urlpatterns = [ url(r'^auth-token$', BadgeUserToken.as_view(), name='v1_api_user_auth_token'), url(r'^profile$', BadgeUserDetail.as_view(), name='v1_api_user_profile'), url(r'^forgot-password$', BadgeUserForgotPassword.as_view(), name='v1_api_auth_forgot_password'), url(r'^emails$', BadgeUserEmailList.as_view(), name='v1_api_user_emails'), url(r'^faculties$', BadgeUserFacultyList.as_view(), name='v1_api_user_faculties'), url(r'^emails/(?P<id>[^/]+)$', BadgeUserEmailDetail.as_view(), name='v1_api_user_email_detail'), url(r'^legacyconfirmemail/(?P<confirm_id>[^/]+)$', BadgeUserEmailConfirm.as_view(), name='legacy_user_email_confirm'), url(r'^confirmemail/(?P<confirm_id>[^/]+)$', BadgeUserEmailConfirm.as_view(), name='v1_api_user_email_confirm'), url(r'^users$', BadgeUserList.as_view(), name='v1_api_user_list'), url(r'^users/(?P<slug>[^/]+)$', BadgeUserManagementDetail.as_view(), name='v1_api_user_management_detail'), ]
from django.conf.urls import url from badgeuser.api import BadgeUserToken, BadgeUserForgotPassword, BadgeUserEmailConfirm, BadgeUserDetail from badgeuser.api_v1 import BadgeUserEmailList, BadgeUserEmailDetail urlpatterns = [ url(r'^auth-token$', BadgeUserToken.as_view(), name='v1_api_user_auth_token'), url(r'^profile$', BadgeUserDetail.as_view(), name='v1_api_user_profile'), url(r'^forgot-password$', BadgeUserForgotPassword.as_view(), name='v1_api_auth_forgot_password'), url(r'^emails$', BadgeUserEmailList.as_view(), name='v1_api_user_emails'), url(r'^emails/(?P<id>[^/]+)$', BadgeUserEmailDetail.as_view(), name='v1_api_user_email_detail'), url(r'^legacyconfirmemail/(?P<confirm_id>[^/]+)$', BadgeUserEmailConfirm.as_view(), name='legacy_user_email_confirm'), url(r'^confirmemail/(?P<confirm_id>[^/]+)$', BadgeUserEmailConfirm.as_view(), name='v1_api_user_email_confirm') ]