(self, token)
| 591 | "invalid username/password") |
| 592 | |
| 593 | def is_valid(self, token): |
| 594 | token = base64.b64decode(token) |
| 595 | if not token.startswith(b'secret:'): |
| 596 | raise flight.FlightUnauthenticatedError("invalid token") |
| 597 | return token[7:] |
| 598 | |
| 599 | |
| 600 | class TokenClientAuthHandler(ClientAuthHandler): |
nothing calls this directly
no outgoing calls
no test coverage detected