1.0.0 • Published 2 years ago

@balena/jellyfish-plugin-oauth v1.0.0

Weekly downloads
-
License
AGPL-3.0
Repository
github
Last release
2 years ago

Jellyfish OAuth Plugin

Provides OAuth related contracts and Jellyfish auth integration.

Usage

Below is an example how to use this library:

import { defaultPlugin } from '@balena/jellyfish-plugin-default';
import { oauthPlugin } from '@balena/jellyfish-plugin-oauth';
import { PluginManager } from '@balena/jellyfish-worker';

// Load contracts from this plugin
const pluginManager = new PluginManager([
	defaultPlugin(),
	oauthPlugin(),
]);
const contracts = pluginManager.getCards();
console.dir(contracts);

Documentation

Publish Documentation

Visit the website for complete documentation: https://product-os.github.io/jellyfish-plugin-oauth

Testing

Unit tests can be easily run with the command npm test.