equal
deleted
inserted
replaced
286 |
286 |
287 do nothing by default |
287 do nothing by default |
288 """ |
288 """ |
289 pass |
289 pass |
290 |
290 |
291 def authenticate(self, session, login, password): |
291 def authenticate(self, session, login, **kwargs): |
292 """if the source support CWUser entity type, it should implements |
292 """if the source support CWUser entity type, it should implements |
293 this method which should return CWUser eid for the given login/password |
293 this method which should return CWUser eid for the given login/password |
294 if this account is defined in this source and valid login / password is |
294 if this account is defined in this source and valid login / password is |
295 given. Else raise `AuthenticationError` |
295 given. Else raise `AuthenticationError` |
296 """ |
296 """ |