In order to push or read data from digi.me, we first need to create an access token. Access tokens are linked to a contract, and it is possible to create multiple access tokens that access to the same digi.me libary. This function is called when:
// run typedoc --help for a list of supported languages
const instance = new MyClass();
This is called when we already have a valid user access token for this user and we want to add more services to this user’s library.
This is called when we need to reauthorize specific account due to Service authorization required error
This is called when user receives InvalidToken error (401 - The token (refresh_token) is invalid). We can use this method to get new AT/RT pair.
Revoke account permission
This is called if you want to issue new token
Deletes account on digi.me
Deletes user data on digi.me
Get Portability Report.
Push something to the user's digi.me library or to provider
Get a list of datasets for given sourceId.
Get a list of possible categories
Get a list of possible countries
Get a list of possible platforms
Get a list of possible sources a user can onboard
Get a list of accounts that exist of current user's library.
Handy util function to download all available user files.
Download a file.
Get a list of files that are ready to be downloaded.
Download a file metadata.
Start a new read session. When we already have an user access token.
Create provisional storage
Download file from storage by path
Download file from storage by path
Get storage for existing user
List storage files
Upload file to storage by path
Generated using TypeDoc
This is called when authorization flow successfully completed, and you have been given an authorization code. We can then use this function to exchange for an access token.