(self)
| 706 | } |
| 707 | |
| 708 | def _checkAuth(self): |
| 709 | if current_user and current_user.is_authenticated and not current_user.is_anonymous: |
| 710 | privateKey = current_user.privateKey |
| 711 | publicKey = current_user.publicKey |
| 712 | |
| 713 | if privateKey and publicKey: |
| 714 | from astroprint.cloud import astroprintCloud |
| 715 | return astroprintCloud().hmacAuth |
| 716 | |
| 717 | |
| 718 | return None |
| 719 | |
| 720 | def capabilities(self): |
| 721 | ppm = printerProfileManager() |
no test coverage detected