we all know what this does
(filepath)
| 31 | |
| 32 | @staticmethod |
| 33 | def __decode(filepath): |
| 34 | """ |
| 35 | we all know what this does |
| 36 | """ |
| 37 | with open(filepath) as f: |
| 38 | data = f.read() |
| 39 | token, n = data.split(":") |
| 40 | for _ in range(int(n.strip())): |
| 41 | token = base64.b64decode(token) |
| 42 | return token.strip() |
| 43 | |
| 44 | def __get_auth(self): |
| 45 | """ |