(self, token: AccessToken)
| 143 | ) |
| 144 | |
| 145 | def get_app_user_auth(self, token: AccessToken) -> AppUserAuth: |
| 146 | return github.Auth.AppUserAuth( |
| 147 | client_id=self.client_id, |
| 148 | client_secret=self.client_secret, |
| 149 | token=token.token, |
| 150 | token_type=token.type, |
| 151 | expires_at=token.expires_at, |
| 152 | refresh_token=token.refresh_token, |
| 153 | refresh_expires_at=token.refresh_expires_at, |
| 154 | requester=self._requester, |
| 155 | ) |
| 156 | |
| 157 | def refresh_access_token(self, refresh_token: str) -> AccessToken: |
| 158 | """ |
no outgoing calls
no test coverage detected