This package has been deprecated

Author message:

not compatible with current auth-server-helper, not necessary since you design those auth endpoints yourself

@sapphirecode/auth-client-helper

1.1.3 • Public • Published

@sapphirecode/auth-client-helper

version: 1.1.x

client helper to authenticate on servers using the auth-server-helper

Installation

npm:

npm i --save @sapphirecode/auth-client-helper

yarn:

yarn add @sapphirecode/auth-client-helper

Usage

const client = require('@sapphirecode/auth-client-helper');

// if using in the browser, will send a request to the current host
const session_id = client.login('user','passw');

// specify a host manually
const session_id = client.login('user','passw','https://example.com');

License

MIT © Timo Hocker timo@scode.ovh

Package Sidebar

Install

npm i @sapphirecode/auth-client-helper

Weekly Downloads

1

Version

1.1.3

License

MIT

Unpacked Size

4.39 kB

Total Files

6

Last publish

Collaborators

  • timoho01