Mercurial > libervia-web
comparison libervia/server/restricted_bridge.py @ 1315:991ff12241e0
server (restricted_bridge): added `FISInvite`, `FISAffiliationsSet` and `invitationSimpleCreate`
author | Goffi <goffi@goffi.org> |
---|---|
date | Sat, 01 Aug 2020 16:47:24 +0200 |
parents | 0930b06f022f |
children | ed28ad7d484c |
comparison
equal
deleted
inserted
replaced
1314:8998f01088ac | 1315:991ff12241e0 |
---|---|
45 self, service_jid, item_id, profile | 45 self, service_jid, item_id, profile |
46 ): | 46 ): |
47 return await self.host.bridgeCall( | 47 return await self.host.bridgeCall( |
48 "interestRetract", service_jid, item_id, profile) | 48 "interestRetract", service_jid, item_id, profile) |
49 | 49 |
50 async def FISInvite( | |
51 self, invitee_jid_s, service_s, repos_type, namespace, path, name, extra_s, | |
52 profile | |
53 ): | |
54 return await self.host.bridgeCall( | |
55 "FISInvite", invitee_jid_s, service_s, repos_type, namespace, path, name, | |
56 extra_s, profile | |
57 ) | |
58 | |
59 async def FISAffiliationsSet( | |
60 self, service_s, namespace, path, affiliations, profile | |
61 ): | |
62 return await self.host.bridgeCall( | |
63 "FISAffiliationsSet", service_s, namespace, path, affiliations, profile | |
64 ) | |
65 | |
66 async def invitationSimpleCreate(self, invitee_email, url_template, extra_s, profile): | |
67 return await self.host.bridgeCall( | |
68 "invitationSimpleCreate", invitee_email, url_template, extra_s, profile | |
69 ) |