Method
__init__
(self, username, passwordHash, active, roles, publicKey=None, privateKey=None, apikey=None, orgId = None, groupId = None, pinHash= None)
Source from the content-addressed store, hash-verified
| 322 | |
| 323 | class User(UserMixin): |
| 324 | def __init__(self, username, passwordHash, active, roles, publicKey=None, privateKey=None, apikey=None, orgId = None, groupId = None, pinHash= None): |
| 325 | self._username = username |
| 326 | self._passwordHash = passwordHash |
| 327 | self._active = active |
| 328 | self._roles = roles |
| 329 | self._apikey = apikey |
| 330 | self._pinHash = pinHash |
| 331 | |
| 332 | self.publicKey = publicKey |
| 333 | self.privateKey = privateKey |
| 334 | self.orgId = orgId |
| 335 | self.groupId = groupId |
| 336 | |
| 337 | def asDict(self): |
| 338 | return { |
Tested by
no test coverage detected