(token_info)
| 91 | |
| 92 | @staticmethod |
| 93 | def is_token_expired(token_info): |
| 94 | now = int(time.time()) |
| 95 | return token_info["expires_at"] - now < 60 |
| 96 | |
| 97 | @staticmethod |
| 98 | def _is_scope_subset(needle_scope, haystack_scope): |
no outgoing calls
no test coverage detected