(
self, client_id: str, client_secret: str, app_id: str, private_key: str
)
| 7 | |
| 8 | class GitHubService: |
| 9 | def __init__( |
| 10 | self, client_id: str, client_secret: str, app_id: str, private_key: str |
| 11 | ): |
| 12 | self.client_id = client_id |
| 13 | self.client_secret = client_secret |
| 14 | self.app_id = app_id |
| 15 | self.private_key = private_key |
| 16 | self._jwt_token = None |
| 17 | self._jwt_expires_at = None |
| 18 | self._time_offset = None |
| 19 | self._time_offset_checked_at = None |
| 20 | |
| 21 | def _check_time_offset(self) -> int: |
| 22 | """Check time offset between server and GitHub. Returns offset in seconds.""" |
nothing calls this directly
no outgoing calls
no test coverage detected