MCPcopy Create free account
hub / github.com/fabioz/PyDev.Debugger / login

Method login

pydevd.py:542–550  ·  view source on GitHub ↗
(self, access_token)

Source from the content-addressed store, hash-verified

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.
544 return
545
546 self._authenticated = access_token == self.access_token
547 if not self._authenticated:
548 self._wrong_attempts += 1
549 else:
550 self._wrong_attempts = 0
551
552 def logout(self):
553 self._authenticated = None

Callers 2

cmd_authenticateMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected