(name: string, source?: Secret | Credential)
| 119 | export function header(name: string): (source: Secret | Credential) => Auth |
| 120 | export function header(name: string, source: Secret | Credential): Auth |
| 121 | export function header(name: string, source?: Secret | Credential) { |
| 122 | if (source === undefined) { |
| 123 | return (next: Secret | Credential) => credentialInput(next).header(name) |
| 124 | } |
| 125 | return credentialInput(source).header(name) |
| 126 | } |
| 127 | |
| 128 | export function bearerHeader(name: string): (source: Secret | Credential) => Auth |
| 129 | export function bearerHeader(name: string, source: Secret | Credential): Auth |
nothing calls this directly
no test coverage detected