(authMetadata: AuthMetadata)
| 54 | } |
| 55 | |
| 56 | function createDefaultHTTPRequestHeaders(authMetadata: AuthMetadata): { |
| 57 | [string]: string, |
| 58 | } { |
| 59 | const authorization = createHTTPAuthorizationHeader(authMetadata); |
| 60 | return { |
| 61 | Authorization: authorization, |
| 62 | }; |
| 63 | } |
| 64 | |
| 65 | function httpResponseIsInvalidCSAT(response: Response): boolean { |
| 66 | const { status } = response; |
no test coverage detected