| 58 | } |
| 59 | |
| 60 | interface AuthHook { |
| 61 | provider: string; |
| 62 | methods: AuthMethod[]; |
| 63 | authorize?: (method: AuthMethod, inputs?: Record<string, string>) => Promise<AuthorizeResult>; |
| 64 | loader?: () => Promise<{ |
| 65 | apiKey?: string; |
| 66 | fetch?: typeof globalThis.fetch; |
| 67 | [key: string]: unknown; |
| 68 | }>; |
| 69 | } |
| 70 | |
| 71 | // --------------------------------------------------------------------------- |
| 72 | // Content-Length framing |
nothing calls this directly
no outgoing calls
no test coverage detected