Skip to content

quiches-group/back-js-package

Repository files navigation

Filer Server Module

npm GitHub Workflow Status

Description

Documentation

1- Installation

Using npm:

$ npm install @quiches/back --save

Using yarn:

$ yarn add @quiches/back

2- Examples

Usage

The private key is generated on the dashboard at : https://dashboard.quiches.ovh.

import QuichesStack from '@quiches/back';

const PRIVATE_KEY = 'priv_xxxxx';
const quiches = QuichesStack(PRIVATE_KEY);
const auth = quiches.auth;

// or
import { Authentication } from '@quiches/back';

const PRIVATE_KEY = 'priv_xxxxx';
const auth = new Authentication(PUBLIC_KEY);

3- Authentication

The Authentication class has 3 available methods.