1.1.1 • Published 1 year ago
@nuskin/login-helper v1.1.1
@nuskin/login-helper
This sdk is helping the NuSkin login.
Installing
Usng npm:
npm add @nuskin/login-helper
Usng yarn:
yarn add @nuskin/login-helper
Example usage for oktaLogin
const {
oktaLogin
} = require('@nuskin/login-helper');
const data = {'accessToken': 'xxxxx', 'idToken': 'xxxxx'};
const username = '';
try {
const result = await oktaLogin(data, username);
console.log('result is:', result);
} catch (e) {
console.log('Error: ', e);
}
Example usage for logout
const {
logout
} = require('@nuskin/login-helper');
logout();
Resources
License
1.1.1
1 year ago
1.1.0
1 year ago
1.1.0-cx13-17202.2
1 year ago
1.1.0-cx13-17202.1
1 year ago
1.0.2
1 year ago
1.0.1
1 year ago
1.0.1-cx13-16645.1
1 year ago
1.0.0
1 year ago
1.0.0-cx13-16645.1
1 year ago