@gydeone/sso-client
TypeScript icon, indicating that this package has built-in type declarations

0.0.15 • Public • Published

Welcome to @gydeone/sso-client 👋

Version License: MIT

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!

/@gydeone/sso-client/

    Package Sidebar

    Install

    npm i @gydeone/sso-client

    Weekly Downloads

    2

    Version

    0.0.15

    License

    MIT

    Unpacked Size

    22.9 kB

    Total Files

    19

    Last publish

    Collaborators

    • denispopov
    • uxname
    • dlogunov.gydeone
    • arth_gyde
    • dev.gyde.one
    • jkarik
    • odiinnn