Skip to content

Customized authentication for kdb VS Code extension

License

Notifications You must be signed in to change notification settings

vcalescu/kx-vscode-auth

 
 

Repository files navigation

Customized authentication for kdb VS Code extension

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.

Set up customization

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.

Build

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 vsix

Tests

A simple test case is provided in extension.test.ts.

Note

The extension name and publisher in package.json should not be changed.

About

Customized authentication for kdb VS Code extension

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 62.6%
  • JavaScript 37.4%