This repository has been archived on 2021-04-12 . You can view files and clone it, but cannot push or open issues or pull requests.
Timo Hocker
1ee5ede443
update-scanner: automatic update
@sapphirecode/consts: 1.1.18 ==> 1.1.19 minor @sapphirecode/crypto-helper: 1.1.44 ==> 1.1.46 minor @sapphirecode/eslint-config: 2.1.4 ==> 2.1.6 minor
@sapphirecode/auth-client-helper
version: 1.0.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
Description
Languages
JavaScript
100%