auths
g
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 integrationFor example, you can do the following:
// get shopify auths
const shopifyAuth = auths.shopify.get();
// get mysql auth
const mysqlAuth = auths.mysql.get();
Last modified 2yr ago