예제 #1
0
 def get_tms_properties(self):
     return TokenManagerProperties(
         resource_type=PNResourceType.USER,
         resource_id=self._data['id'] if self._data is not None else "")
예제 #2
0
 def get_tms_properties(self):
     return TokenManagerProperties(
         resource_type=PNResourceType.SPACE,
         resource_id=self._space_id if self._space_id is not None else "")
예제 #3
0
 def get_tms_properties(self):
     return TokenManagerProperties(resource_type=PNResourceType.USER,
                                   resource_id="")