<s> from django . contrib . auth . models import User <EOL> from django . db import models <EOL> class Nonce ( models . Model ) : <EOL> server_url = models . CharField ( max_length = <NUM_LIT:1000> ) <EOL> timestamp = models . IntegerField ( ) <EOL> salt = models . CharField ( max_length = <NUM_LIT> ) <EOL> def __unicode__ ( self ) : <EOL> return u"<STR_LIT>" % ( self . server_url , self . salt ) <EOL> class Association ( models . Model ) : <EOL> server_url = models . TextField ( max_length = <NUM_LIT:1000> ) <EOL> handle = models . CharField ( max_length = <NUM_LIT:255> ) <EOL> secret = models . TextField ( max_length = <NUM_LIT:255> ) <EOL> issued = models . IntegerField ( ) <EOL> lifetime = models . IntegerField ( ) <EOL> assoc_type = models . TextField ( max_length = <NUM_LIT:64> ) <EOL> def __unicode__ ( self ) : <EOL> return u"<STR_LIT>" % ( self . server_url , self . handle ) <EOL> class UserOpenID ( models . Model ) : <EOL> user = models . ForeignKey ( User ) <EOL> claimed_id = models . CharField ( max_length = <NUM_LIT:255> , unique = True ) <EOL> display_id = models . TextField ( max_length = <NUM_LIT:1000> ) </s>
