2017-04-16 02:15:26 +00:00
|
|
|
#!/usr/bin/env python3
|
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
|
|
|
|
from django.conf.urls import url
|
|
|
|
|
2017-04-18 07:19:26 +00:00
|
|
|
from ..views.user import (UserInfoAPI, UserProfileAPI,
|
|
|
|
SSOAPI, TwoFactorAuthAPI)
|
2017-04-16 02:15:26 +00:00
|
|
|
|
|
|
|
urlpatterns = [
|
2017-04-18 07:19:26 +00:00
|
|
|
url(r"^user$", UserInfoAPI.as_view(), name="user_info_api"),
|
|
|
|
url(r"^profile$", UserProfileAPI.as_view(), name="user_profile_api"),
|
|
|
|
url(r"^sso$", SSOAPI.as_view(), name="sso_api"),
|
|
|
|
url(r"^two_factor_auth$", TwoFactorAuthAPI.as_view(), name="two_factor_auth_api")
|
2017-04-16 02:15:26 +00:00
|
|
|
]
|