auths
g

auths Methods

auths object provides utility functions to retrieve the credentials for the integrations you added to the app. This may be necessary if you want to make request to the service using your own methods without leveraging the libs libraries or if we do not provide default library for the particular service.
The method mirrors the libs object but instead of returning a usable library instance, auths returns the credential object.
For every integration added, you can use auths.<integration>.get(<integrationName) to get the credential for the integration
For example, you can do the following:
1
// get shopify auths
2
const shopifyAuth = auths.shopify.get();
3
​
4
​
5
// get mysql auth
6
const mysqlAuth = auths.mysql.get();
Copied!
Last modified 7mo ago
Copy link