summaryrefslogtreecommitdiff
path: root/django/srpproject/urls.py
blob: 07f446f38fdb1201952a571096ce4dfd640c70c7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
from django.conf.urls.defaults import *

# Uncomment the next two lines to enable the admin:
# from django.contrib import admin
# admin.autodiscover()
from srpproject.srp import views

urlpatterns = patterns('',
    # Example:
    # (r'^srpproject/', include('srpproject.foo.urls')),

    # Uncomment the admin/doc line below and add 'django.contrib.admindocs' 
    # to INSTALLED_APPS to enable admin documentation:
    # (r'^admin/doc/', include('django.contrib.admindocs.urls')),

    # Uncomment the next line to enable the admin:
    # (r'^admin/(.*)', admin.site.root),
    (r'^srp/register/salt/$', views.register_salt),
    (r'^srp/register/user/$', views.register_user),
    (r'^srp/handshake/$', views.handshake),
    (r'^srp/authenticate/$', views.verify),
    (r'^srp/login/$', views.login_page),
    (r'^srp/register/$', views.register_page),
    (r'^srp/upgrade/authenticate/$', views.upgrade_auth),
    (r'^srp/upgrade/verifier/$', views.upgrade_add_verifier),
    (r'^srp/aes/$', views.test_aes),
    (r'^srp/aes/post/$', views.doaes),
)