(self, token)
| 550 | outgoing.write(tobytes(auth.username)) |
| 551 | |
| 552 | def is_valid(self, token): |
| 553 | if not token: |
| 554 | raise flight.FlightUnauthenticatedError("token not provided") |
| 555 | if token not in self.creds: |
| 556 | raise flight.FlightUnauthenticatedError("unknown user") |
| 557 | return token |
| 558 | |
| 559 | |
| 560 | class HttpBasicClientAuthHandler(ClientAuthHandler): |
nothing calls this directly
no outgoing calls
no test coverage detected