(accessToken: string)
| 274 | * @returns Headers object with Authorization, Content-Type, and anthropic-version |
| 275 | */ |
| 276 | export function getOAuthHeaders(accessToken: string): Record<string, string> { |
| 277 | return { |
| 278 | Authorization: `Bearer ${accessToken}`, |
| 279 | 'Content-Type': 'application/json', |
| 280 | 'anthropic-version': '2023-06-01', |
| 281 | } |
| 282 | } |
| 283 | |
| 284 | /** |
| 285 | * Fetches a single session by ID from the Sessions API |
no outgoing calls
no test coverage detected