Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
@langchain/google-gauth
Advanced tools
This package contains resources to access Google AI/ML models and other Google services. Authorization to these services use either an API Key or service account credentials that are either stored on the local file system or are provided through the Google Cloud Platform environment it is running on.
If you are running this on a platform where the credentials cannot be provided this way, consider using the @langchain/google-webauth package instead. You do not need to use both packages. See the section on Authorization below.
$ yarn add @langchain/google-gauth
Authorization is either done through the use of an API Key, if it is supported for the service you're using, or a Google Cloud Service Account.
To handle service accounts, this package uses the google-auth-library
package, and you may wish to consult the documentation for that library
about how it does so. But in short, classes in this package will use
credentials from the first of the following that apply:
apiKey
attributeauthInfo
attributeAPI_KEY
GOOGLE_APPLICATION_CREDENTIALS
environment
variable.gcloud auth application-default login
, then the
default credentials.FAQs
Google auth based authentication support for Google services
The npm package @langchain/google-gauth receives a total of 57,601 weekly downloads. As such, @langchain/google-gauth popularity was classified as popular.
We found that @langchain/google-gauth demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 10 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.