-------------------- Calls and returns data from API: auth/validtoken, which returns information on a valid token. Returns: bool: Success flag (True/False) indicating the api call worked as expected. object: Response information from the Space
(self)
| 503 | |
| 504 | |
| 505 | def auth_validtoken(self): |
| 506 | """-------------------- |
| 507 | Calls and returns data from API: auth/validtoken, which returns information on a valid token. |
| 508 | |
| 509 | Returns: |
| 510 | bool: Success flag (True/False) indicating the api call worked as expected. |
| 511 | object: Response information from the Space and Time network, as list or dict(json). |
| 512 | """ |
| 513 | success, rtn = self.call_api('auth/validtoken', True, SXTApiCallTypes.GET) |
| 514 | return success, rtn if success else [rtn] |
| 515 | |
| 516 | |
| 517 | def auth_idexists(self, user_id:str ): |
no test coverage detected