👋
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