Package Camelot :: Package camelot :: Package model :: Module authentication :: Class UsernameAuthenticationMechanism |
[frames] | no frames]

# Class UsernameAuthenticationMechanism

source code

Nested Classes
| Admin
Inherited from `elixir.entity.Entity`: `__metaclass__`

Instance Methods
__unicode__(self) | source code
Inherited from `elixir.entity.Entity`: `__init__`, `delete`, `expire`, `expunge`, `flush`, `from_dict`, `merge`, `refresh`, `save`, `save_or_update`, `set`, `to_dict`, `update` Inherited from `object`: `__delattr__`, `__format__`, `__getattribute__`, `__hash__`, `__new__`, `__reduce__`, `__reduce_ex__`, `__repr__`, `__setattr__`, `__sizeof__`, `__str__`, `__subclasshook__`

Class Methods
getOrCreateAuthentication(cls, username) | source code
Inherited from `elixir.entity.Entity`: `get`, `get_by`, `update_or_create`

Class Variables
| username = `Field(Unicode(40), required= True, index= True, uni`...``
| password = `Field(Unicode(200), required= False, index= False, `...``
| __elixir_mutators__ = ``[``(`<elixir.statements.ClassMutator object`...``
Inherited from `AuthenticationMechanism`: `is_active`, `last_login`, `mapper`, `table`

Properties
Inherited from `object`: `__class__`

Class Variable Details

  ### username Value:
      Field(Unicode(40), required= True, index= True, unique= True)

  ### password Value:
      Field(Unicode(200), required= False, index= False, default= None)

  ### __elixir_mutators__ Value:
      [(<elixir.statements.ClassMutator object at 0x9804e0c>,
        (),
        {'inheritance': 'multi',
         'tablename': 'authentication_mechanism_username'})]