return 'http://openid.aol.com/' + uname
class AolAuthContext(ConsumerTemplateContext):
- mode = 'BIGICON'
+ mode = 'SMALLICON'
type = 'SIMPLE_FORM'
simple_form_context = {
'your_what': 'AOL screen name'
}
- weight = 400
+ weight = 200
human_name = 'AOL'
- icon = '/media/images/openid/aol.gif'
+ icon = '/media/images/openid/aol.png'
class MyOpenIdAuthConsumer(OpenIdAbstractAuthConsumer):
+ dataype2ax_schema = {
+ #'username': ('http://schema.openid.net/namePerson/friendly', 'friendly'),
+ 'email': 'http://schema.openid.net/contact/email',
+ #'web': 'http://schema.openid.net/contact/web/default',
+ #'birthdate': ('http://schema.openid.net/birthDate', 'birthDate'),
+ }
+
def get_user_url(self, request):
blog_name = request.POST['input_field']
return "http://%s.myopenid.com/" % blog_name
class MyOpenIdAuthContext(ConsumerTemplateContext):
- mode = 'SMALLICON'
+ mode = 'BIGICON'
type = 'SIMPLE_FORM'
simple_form_context = {
'your_what': 'MyOpenID user name'
}
- weight = 200
+ weight = 400
human_name = 'MyOpenID'
- icon = '/media/images/openid/myopenid.ico'
+ icon = '/media/images/openid/myopenid_big.png'
class FlickrAuthConsumer(OpenIdAbstractAuthConsumer):
}
weight = 250
human_name = 'Flickr'
- icon = '/media/images/openid/flickr.ico'
+ icon = '/media/images/openid/flickr.png'
class TechnoratiAuthConsumer(OpenIdAbstractAuthConsumer):
}
weight = 260
human_name = 'Technorati'
- icon = '/media/images/openid/technorati.ico'
+ icon = '/media/images/openid/technorati.png'
class WordpressAuthConsumer(OpenIdAbstractAuthConsumer):
}
weight = 270
human_name = 'Wordpress'
- icon = '/media/images/openid/wordpress.ico'
+ icon = '/media/images/openid/wordpress.png'
class BloggerAuthConsumer(OpenIdAbstractAuthConsumer):
}
weight = 300
human_name = 'Blogger'
- icon = '/media/images/openid/blogger.ico'
+ icon = '/media/images/openid/blogger.png'
class LiveJournalAuthConsumer(OpenIdAbstractAuthConsumer):
}
weight = 310
human_name = 'LiveJournal'
- icon = '/media/images/openid/livejournal.ico'
+ icon = '/media/images/openid/livejournal.png'
class ClaimIdAuthConsumer(OpenIdAbstractAuthConsumer):
}
weight = 320
human_name = 'ClaimID'
- icon = '/media/images/openid/claimid.ico'
-
-class VidoopAuthConsumer(OpenIdAbstractAuthConsumer):
- def get_user_url(self, request):
- blog_name = request.POST['input_field']
- return "http://%s.myvidoop.com/" % blog_name
-
-class VidoopAuthContext(ConsumerTemplateContext):
- mode = 'SMALLICON'
- type = 'SIMPLE_FORM'
- simple_form_context = {
- 'your_what': 'Vidoop user name'
- }
- weight = 330
- human_name = 'Vidoop'
- icon = '/media/images/openid/vidoop.ico'
+ icon = '/media/images/openid/claimid.png'
class VerisignAuthConsumer(OpenIdAbstractAuthConsumer):
def get_user_url(self, request):
}
weight = 340
human_name = 'Verisign'
- icon = '/media/images/openid/verisign.ico'
+ icon = '/media/images/openid/verisign.png'
class OpenIdUrlAuthConsumer(OpenIdAbstractAuthConsumer):
weight = 300
human_name = 'OpenId url'
stack_item_template = 'modules/openidauth/openidurl.html'
- icon = '/media/images/openid/openid-inputicon.gif'
\ No newline at end of file
+ icon = '/media/images/openid/openid-inputicon.gif'