(self)
| 535 | self._wrong_attempts = 0 |
| 536 | |
| 537 | def is_authenticated(self): |
| 538 | if self._authenticated is None: |
| 539 | return self.access_token is None |
| 540 | return self._authenticated |
| 541 | |
| 542 | def login(self, access_token): |
| 543 | if self._wrong_attempts >= 10: # A user can fail to authenticate at most 10 times. |
no outgoing calls
no test coverage detected