Changeset 6297
- Timestamp:
- 09/15/07 12:48:59 (1 year ago)
- Files:
-
- django/trunk/docs/authentication.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
django/trunk/docs/authentication.txt
r6206 r6297 993 993 994 994 An authentication backend is a class that implements two methods: 995 ``get_user( id)`` and ``authenticate(**credentials)``.996 997 The ``get_user`` method takes a n ``id`` -- which could be a username, database998 ID or whatever -- and returns a ``User`` object.995 ``get_user(user_id)`` and ``authenticate(**credentials)``. 996 997 The ``get_user`` method takes a ``user_id`` -- which could be a username, 998 database ID or whatever -- and returns a ``User`` object. 999 999 1000 1000 The ``authenticate`` method takes credentials as keyword arguments. Most of
