-
Notifications
You must be signed in to change notification settings - Fork 7
Examples
CI edited this page Apr 2, 2019
·
6 revisions
- Session establishment — an identity logs in and out.
-
Identity's registration — an identity registration.
-
Identities sharing graph creation — an identities sharing graph creation
- Delegating access — requesting and resolving delegated access to an identity.
Here you can find the instructions on how to run the examples on different platforms.
You need to take the following steps to run examples on your Linux machine:
-
Create a new directory for DataPeps examples, change to it and run the following command to fetch examples code:
wget https://gist.githubusercontent.com/SergeyShpak/0310f86effc65370f0301ea3a61de927/raw/ba8d60a51b724f80ca5ab355720e861df9b433fa/getting-examples.sh && bash getting-examples.sh
Each examples are run with:
node <example-name>
Exact commands to run the examples are given in the examples' sections.
All examples use the identities that should be registered with DataPeps. To achieve that run:
npm run example-registration
in the examples directory before running other examples.
- Session
- Identity
- Resource
- Delegated access