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:
Last updated