Within Spectre, a login can have one of the following statuses:
active- the current set of credentials is valid and allows us to properly fetch the data;
inactive- an error appeared while fetching the login. An inactive login cannot be refreshed;
disabled- in case of non-compliance with our Terms of Service, we can contact the application’s owner and disable the login.
The login supports four main operations:
Connecting is used whenever a new login has to be created. In order to Connect a new login, you should obtain a token and redirect the user to the Salt Edge Connect page.
You can find out more about the creation and redirect process in the Salt Edge Connect section of this guide.
Once your application has received a success callback, you can query the information about the login, its accounts and transactions.
Reconnecting is used in two cases:
In order to Reconnect a specific login, your application should supply the
login_id during the token request process.
We recommend you trigger a
refresh on the user’s logins when the user signs in. This way, they will always have up-to-date data.
You can remove all the data associated with a login – the login itself, all of its accounts and transactions.