(self, auth_token)
| 2112 | return {'Authorization': auth_token} |
| 2113 | |
| 2114 | def _validate_auth_token(self, auth_token): |
| 2115 | if "\r" in auth_token or "\n" in auth_token: |
| 2116 | raise ValueError("Auth token value is not a legal header value") |
| 2117 | |
| 2118 | def _create_fetcher(self, full_uri, headers): |
| 2119 | def fetch_creds(): |