1.1.3 • Published 4 years ago

raintech-auth-client v1.1.3

Weekly downloads
3
License
ISC
Repository
github
Last release
4 years ago

Raintech Auth Client for Node JS and browsers

Client Part of Raintech Auth Project. It can read and verify certificates from Raintech Auth Server


How to install

npm install raintech-auth-client


How to use

Node JS Login by password to obtain certificate

const client = require('raintech-auth-client');
const response = client.loginByPassword({
    loginOrEmail: 'Your login',
    password: 'Your password',
    referer: 'link to your resource'
})
const certificate = response.certificate;
console.log(certificate);

Check certificate

const client = require('raintech-auth-client');
const certificate = //Your certificate
const session = await client.check(cypherCert);
console.log(certificate);
1.1.3

4 years ago

1.1.2

4 years ago

1.1.1

4 years ago

1.1.0

4 years ago

1.0.4

4 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

6 years ago

1.0.0

6 years ago