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
09cbd6d93c
update-scanner: automatic update
All checks were successful
continuous-integration/drone/push Build is passing
@sapphirecode/consts: 1.1.25 ==> 1.1.27 minor @sapphirecode/crypto-helper: 1.1.53 ==> 1.1.55 minor @sapphirecode/eslint-config: 2.1.13 ==> 2.1.15 minor @stryker-mutator/core: 3.3.0 ==> 3.3.1 minor @stryker-mutator/javascript-mutator: 3.3.0 ==> 3.3.1 minor ava: 3.9.0 ==> 3.10.1 minor eslint: 7.3.1 ==> 7.4.0 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%