
Product
Introducing Rust Support in Socket
Socket now supports Rust and Cargo, offering package search for all users and experimental SBOM generation for enterprise projects.
@berlingske-media/bm.node-module.user-api-sdk
Advanced tools
This repository contains SDK for user API instances signed with OAuth 2.0 Bearer token.
Available currently only for backend -> backend communication, usage would be as follows
import { configure, isErrorResponse } from '@berlingske-media/bm.node-module.user-api-sdk';
import { getAccessToken } from '@berlingske-media/bm.node-module.auth_plugin';
const authToken = getAccessToken();
const sdk = configure(
'https://usa-qa1--usersegment--idm.berlingskemedia-testing.net',
authToken,
'source_service_name',
);
const result = await sdk.getBySSOUID('db1d8395d96f473984ea2f7ab947dcf8');
if (isErrorResponse(result)) {
console.log(result.errorCode);
} else {
console.log(result.body);
}
FAQs
User Service backend sdk
The npm package @berlingske-media/bm.node-module.user-api-sdk receives a total of 19 weekly downloads. As such, @berlingske-media/bm.node-module.user-api-sdk popularity was classified as not popular.
We found that @berlingske-media/bm.node-module.user-api-sdk 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.
Product
Socket now supports Rust and Cargo, offering package search for all users and experimental SBOM generation for enterprise projects.
Product
Socket’s precomputed reachability slashes false positives by flagging up to 80% of vulnerabilities as irrelevant, with no setup and instant results.
Product
Socket is launching experimental protection for Chrome extensions, scanning for malware and risky permissions to prevent silent supply chain attacks.