(self, request, token: str, get_token_details)
| 299 | |
| 300 | class UserToken(AuthBaseHandle): |
| 301 | def support(self, request, token: str, get_token_details): |
| 302 | auth_details = get_token_details() |
| 303 | if auth_details is None: |
| 304 | return False |
| 305 | return 'id' in auth_details and auth_details.get('type') == AuthenticationType.SYSTEM_USER.value |
| 306 | |
| 307 | def handle(self, request, token: str, get_token_details): |
| 308 | version, get_key = Cache_Version.TOKEN.value |
no test coverage detected