8/3/2023 0 Comments Digime create pdf![]() This example was built upon the Node.js SDK. To run the application, please run the command: npm start:write-example Checking out our SDK In order to obtain an application ID, please fill out the registration form. We've provided an example contract ID and private key for testing out private sharing.Ĭontract ID : Cb1JC2tIatLfF7LH1ksmdNx4AfYPszIn ![]() Before you can run the application you'll need: ![]() In this example you will see how we are able to push data into a user's. ![]() You should see the number of items that have been shared, all the objects listed per file, and a description of what kind of data has been listed under each file. See data shared - After consent has been given, in the console log you should see a list of all the data that was received from the user. Give access - Click on the Give access button in the SaaS page you user should be brought back to the partner app and presented with a screen of partner choice congratulation or given access data. Navigate to the example app - Once you initialize the flow our SaaS webpage will be opened where we request from user authorization and user should be permitted to Give access for requested data. To run the application, please run the command: npm start:read-example Two user private sharing flows In order to obtain an application ID, please fill out the registration form.Ĭontract ID : fJI8P5Z4cIhP3HawlXVvxWBrbyj5QkTF We've provided an example contract ID and private key for testing out private sharing. From, you'll need to obtain the following: In order to run this example app, you'll need to perform some preparation steps. To run the private share example application You should be able to open the example app from your phone with it, assuming that both machines are on the same network. The second URL is our best guess as to what your local network IP is.First URL should be able to be opened on the same machine you started the server (So you can be sure it's running).You should now be able to access the example app □: This should print out something along these lines: Run npm start:read-example or npm start:write-example in your terminal to run the read or write example: Open the desired example in the examples//index.js file in your favourite code editor, and replace the placeholders with the values you received from (described in the code comments as well). In your terminal, navigate to the directory where you cloned/extracted this example (If you see this README in it, you're in the correct place!) Preparation On the machine that will run the example you'll need:ĭownload and extract, or clone the master branch on this repo with the following command: You can find out more able both of these in our documentation. One showcases private sharing, and the other showcasing postbox. There are two example applications in this repository. This repository contains example applications built on the Node.js SDK. Once youve been assisted with linking the cards, your credit card will appear as a tile on. Please be advised that you are able to link your credit card and current account, youll need to contact customer care on 0860 123 000 in order to link the accounts. Note that for the same user, if you'd like to authorize another contract, you'll need to provide the User Access Token when authorizing for the next contract.Example applications built on the Node.js SDK. How do you pay your standard bank credit card from your standard bank account online. You will be able to perform read/write tasks from their library. Once the above steps are completed, you will have an User Access Token for this user for this contract. Getting a authorization URL and a code verifier import ) // Store the userAccessToken against the current user. You should now be able to access the example app. Exchanging the result for an user access token.Redirecting the user to this authorization URL.Getting a authorization URL and a code verifier.For an existing user when their user access token has expired and we need to renew it.eg, They have shared data but now we would like to write data in their. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |