(self)
| 383 | return token_expires_at < datetime.now(timezone.utc) |
| 384 | |
| 385 | def _get_installation_authorization(self) -> InstallationAuthorization: |
| 386 | assert self.__integration is not None, "Method withRequester(Requester) must be called first" |
| 387 | return self.__integration.get_access_token( |
| 388 | self._installation_id, |
| 389 | permissions=self._token_permissions, |
| 390 | ) |
| 391 | |
| 392 | @property |
| 393 | def _masked_token(self) -> str: |