
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
@deephaven/auth-plugin
Advanced tools
A library for using types related to AuthPlugins. Authentication plugins are used to provide custom authentication to the Web UI, and can log the user in using custom authentication handlers in deephaven-core
.
npm install --save @deephaven/auth-plugin
To create your own authentication plugin, you must build and export your own module. You can start with the deephaven-js-plugin-template to get started, and export an AuthPlugin
property conforming to the AuthPlugin
interface. In your AuthPlugin
, you must specify a Component
which will display when the plugin is loaded, and the isAvailable
method for specifying whether the plugin is available given the current server configuration. Login plugins installed on the server will take priority in the order specified, falling back to the core plugins if none of the login plugins are available for the current server configuration. If you wish to create your own plugin that always takes priority, just return true
from your isAvailable
method.
For an example of a basic authentication plugin, take a look at AuthPluginAnonymous which just displays a loading spinner and tries to login anonymously. You can display your own UI instead of a loading spinner with input fields and then attempt to login.
FAQs
Deephaven Auth Plugin
We found that @deephaven/auth-plugin demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 6 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.