Re: Multiple Authentication Backends (updated)

2006-04-11 Thread Joseph Kocherhans
On 4/11/06, Ivan Sagalaev <[EMAIL PROTECTED]> wrote: > > Joseph Kocherhans wrote: > > >The authentication api has been simplified into 5 functions in > >django.contrib.auth.utils > > > >authenticate(request) > >Returns a user if valid credentials were found in the request. > > > >login(request, us

Re: Multiple Authentication Backends (updated)

2006-04-10 Thread Ivan Sagalaev
Joseph Kocherhans wrote: >The authentication api has been simplified into 5 functions in >django.contrib.auth.utils > >authenticate(request) >Returns a user if valid credentials were found in the request. > >login(request, user) >Persist a user id and a backend name in the session. This way a use

Multiple Authentication Backends (updated)

2006-04-10 Thread Joseph Kocherhans
There is a new patch available for multiple auth backends. http://code.djangoproject.com/attachment/ticket/1428/multiauth.diff Authentication is handled by two lists of plugins. These are defined by the AUTHENTICATION_BACKENDS and CREDENTIAL_PLUGINS settings. Each should be a tuple of strings, s