(user: string, pass: string)
| 3912 | const secretHash = crypto.createHash('sha256').update(secret).digest('hex'); |
| 3913 | |
| 3914 | function basicHeader(user: string, pass: string): string { |
| 3915 | return `Basic ${Buffer.from(`${user}:${pass}`).toString('base64')}`; |
| 3916 | } |
| 3917 | |
| 3918 | beforeEach(() => { |
| 3919 | service = new McpOAuthService({ knex: db, schema }); |
no test coverage detected