0.1.3-env-fix-690a5a0df4bff6349fe85fa4ec4e467d32a1ee56 • Published 4 years ago

@balena/jellyfish-plugin-oauth v0.1.3-env-fix-690a5a0df4bff6349fe85fa4ec4e467d32a1ee56

Weekly downloads
-
License
AGPL-3.0
Repository
github
Last release
4 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.