equal
deleted
inserted
replaced
305 do nothing by default |
305 do nothing by default |
306 """ |
306 """ |
307 pass |
307 pass |
308 |
308 |
309 def authenticate(self, session, login, **kwargs): |
309 def authenticate(self, session, login, **kwargs): |
310 """if the source support CWUser entity type, it should implements |
310 """if the source support CWUser entity type, it should implement |
311 this method which should return CWUser eid for the given login/password |
311 this method which should return CWUser eid for the given login/password |
312 if this account is defined in this source and valid login / password is |
312 if this account is defined in this source and valid login / password is |
313 given. Else raise `AuthenticationError` |
313 given. Else raise `AuthenticationError` |
314 """ |
314 """ |
315 raise NotImplementedError() |
315 raise NotImplementedError() |