388 B
388 B
Auth Client Helper
a module to make logging in to servers using the auth-server-helper easier
Usage
const client = require('@scode/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');