This guide provides a sample customized authentication extension for the kdb VS Code extension.
Customized authentication for the kdb VS Code extension allows you to add custom logic when authenticating with kdb. This enhances security by enabling you to authenticate by various identity providers.
Update the auth function in extension.ts according to the custom requirements. The kdb VS Code extension passes the configuration parameters to auth, as defined in customAuth.ts.
The following commands build the extension and output kdb-auth-1.0.0.vsix to the workspace. It's recommended to install this file as an extension on the target VS Code instances that requires custom authentication.
npm test
npm run vsixA simple test case is provided in extension.test.ts.
The extension name and publisher in package.json should not be changed.