![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
@azure-tools/test-credential
Advanced tools
Note: This project is a test utility that assits with testing the packages maintained at the Azure SDK for JavaScript repository. This is not intended for the public utilization.
This library provides a TokenCredential
implementation for testing Azure SDK packages. This library is supposed to be utilized along with the @azure-tools/test-recorder
library for testing Azure SDKs.
Add this library as a dev dependency in your project.
rush add -p @azure-tools/test-credential --dev
import { createTestCredential } from "@azure-tools/test-credential";
const credential = createTestCredential();
This library provides the credential to be used in the tests
In playback mode
NoOpCredential
(does not make a request to AAD and produces a fake access_token)In record/live modes
ClientSecretCredential
from @azure/identity
(expects AZURE_TENANT_ID, AZURE_CLIENT_ID, AZURE_CLIENT_SECRET in your environment or in the .env file)Try out this package in your application and provide feedback!
Log an issue at https://github.com/Azure/azure-sdk-for-js/issues
If you'd like to contribute to this library, please read the contributing guide to learn more about how to build and test the code.
FAQs
Test utilities library that provides the test credential
The npm package @azure-tools/test-credential receives a total of 13,912 weekly downloads. As such, @azure-tools/test-credential popularity was classified as popular.
We found that @azure-tools/test-credential demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.