Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
@pyramid-embed/embed-react
Advanced tools
The wrapper for [@pyramid-embed/embed-js](https://www.npmjs.com/package/@pyramid-embed/embed-js)
The wrapper for @pyramid-embed/embed-js
yarn add @pyramid-embed/embed-react
npm i @pyramid-embed/embed-react
Please check online help for the general documentation.
import { PyramidEmbedContainer } from '@pyramid-embed/embed-react';
<PyramidEmbedContainer host="http://pyramid:8181" options={embedOptions} />
host: string
- URL of the Pyramid instanceoptions: EmbedOptions
- embed optionsloginType?: "none" | "forms" | "windows" | "saml"
- authentication typeuserName?: string
- username, used when loginType="forms"
password?: string
- password, used when loginType="forms"
authToken?: string
- Pyramid authentication tokensamlToken?: string
- SAML tokenstyle?: object
- apply styles to the container elementclassName?: string
- apply a className to the container elementauthFailureCallback?: Function
- a function that will be called when the embed token has expiredconst embedOptions = {
contentId: 'f5366b40-fbc7-4773-8180-7759bb0760df'
}
<PyramidEmbedContainer
host="http://pyramid:8181"
options={embedOptions}
style={{width: 1280, height: 720}}
/>
const embedOptions = {
contentId: 'f5366b40-fbc7-4773-8180-7759bb0760df'
}
<PyramidEmbedContainer
host="http://pyramid:8181"
options={embedOptions}
loginType="windows"
style={{width: 1280, height: 720}}
/>
import { PyramidEmbedContainer, Filter } from '@pyramid-embed/embed-react';
const filter = Filter.create().addUniqueName('[customer].[country].[France]');
const embedOptions = {
contentId: 'f5366b40-fbc7-4773-8180-7759bb0760df',
filters: filter
}
<PyramidEmbedContainer
host="http://pyramid:8181"
options={embedOptions}
style={{width: 1280, height: 720}}
/>
For more help on embedding with Pyramid, especially instructions on authentication, scenarios and use of REST APIs together with embedding, please see online help.
FAQs
The wrapper for [@pyramid-embed/embed-js](https://www.npmjs.com/package/@pyramid-embed/embed-js)
The npm package @pyramid-embed/embed-react receives a total of 52 weekly downloads. As such, @pyramid-embed/embed-react popularity was classified as not popular.
We found that @pyramid-embed/embed-react 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.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.