MCPcopy Create free account
hub / github.com/Keeper-Security/Commander / ScimUser

Class ScimUser

keepercommander/scim/models.py:7–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5
6@dataclass
7class ScimUser:
8 id: str = ''
9 external_id: str = ''
10 login: str = ''
11 email: str = ''
12 domain: str = ''
13 full_name: str = ''
14 first_name: str = ''
15 last_name: str = ''
16 active: bool = False
17 groups: List[str] = field(default_factory=list)
18
19 def __str__(self):
20 scim_user = {
21 'id': self.id,
22 'external_id': self.external_id,
23 'login': self.login,
24 'email': self.email,
25 'domain': self.domain,
26 'full_name': self.full_name,
27 'first_name': self.first_name,
28 'last_name': self.last_name,
29 'active': self.active,
30 'groups': self.groups,
31 }
32 return 'SCIM USER: ' + json.dumps(scim_user)
33
34
35@dataclass

Callers 6

populateMethod · 0.85
populateMethod · 0.85
parse_google_userMethod · 0.85
_parse_userMethod · 0.85
sync_usersMethod · 0.85
scim_keeperMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected