from django.conf.urls.defaults import *
import views

urlpatterns = patterns('',
     ('^/?$', views.main_login, {}, 'openid_main_login'),                             
     ('^create_account/?$', views.create_account, {}, 'openid_create_account'),

     ('^facebook/?$', views.facebook_login, {}, 'facebook_login'),
     ('^google/?$', views.google_login, {}, 'openid_google_login'),
     ('^yahoo/?$', views.yahoo_login, {}, 'openid_yahoo_login'),
     ('^django/?$', views.django_login, {}, 'openid_django_login'),
     ('^myopenid/?$', views.myopenid_login, {}, 'openid_myopenid_login'),

     ('^facebook/login', views.do_facebook_login, {}, 'do_facebook_login'),    
     ('^login/?$', views.do_login, {}, 'openid_login'),                             
     ('^logout/?$', views.do_logout, {}, 'openid_logout'),                             
     ('^verify/?$', views.verify, {}, 'openid_verify'),                             

     ('^ajax/test/?$', views.ajax_test, {}, 'openid_ajax_test'),                                   #ajax login test for gae user
     ('^ajax/test_django/?$', views.ajax_test_django, {}, 'openid_ajax_django_test'),                  #ajax login test for gae user
)
