-------------------- Calls and returns data from API: auth/logout, which invalidates Access_Token and Refresh_Token. Returns: bool: Success flag (True/False) indicating the api call worked as expected. object: Response information from the Spa
(self)
| 491 | |
| 492 | |
| 493 | def auth_logout(self): |
| 494 | """-------------------- |
| 495 | Calls and returns data from API: auth/logout, which invalidates Access_Token and Refresh_Token. |
| 496 | |
| 497 | Returns: |
| 498 | bool: Success flag (True/False) indicating the api call worked as expected. |
| 499 | object: Response information from the Space and Time network, as list or dict(json). |
| 500 | """ |
| 501 | success, rtn = self.call_api('auth/logout', True) |
| 502 | return success, rtn if success else [rtn] |
| 503 | |
| 504 | |
| 505 | def auth_validtoken(self): |