0.0.15 ā¢ Published 1 year ago
@gydeone/sso-client v0.0.15
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
š¤ uxname@gmail.com
Show your support
Give a āļø if this project helped you!