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