Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@deephaven/auth-plugin

Package Overview
Dependencies
Maintainers
6
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@deephaven/auth-plugin

Deephaven Auth Plugin

  • 0.32.1-auth-plugins.8
  • canary
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
6
Weekly downloads
 
Created
Source

@deephaven/auth-plugin

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.

Install

npm install --save @deephaven/auth-plugin

Usage

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.

Keywords

FAQs

Package last updated on 28 Mar 2023

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc