@gydeone/sso-client
v0.0.15
Published
![Version](https://img.shields.io/badge/version-1.0.0-blue.svg?cacheSeconds=2592000) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](#)
Downloads
5
Keywords
Readme
Welcome to @gydeone/sso-client 👋
Install
npm install @gydeone/sso-client
Usage
const client = new SsoClient({
public: {
url: 'http://localhost:3000/graphql',
accessToken: 'public_iKZkjSG#w&2ou%K*GkjsPmfg'
},
private: {
url: 'http://localhost:3001/graphql',
accessToken: 'private_aA4ESq3Gc7hk*q^%vwK4VVZa'
}
});
const challengeResult = await client.challenge({params: {did: 'qwe'}, schema: SchemaType.Did})
console.log(challengeResult.challenge);
Run tests
npm run test
Author
Show your support
Give a ⭐️ if this project helped you!