
Research
/Security News
Weaponizing Discord for Command and Control Across npm, PyPI, and RubyGems.org
Socket researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.
@pyramid-embed/embed-angular
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-angular
npm i @pyramid-embed/embed-angular
Please check online help for the general documentation.
import { Component } from '@angular/core';
import { EmbedOptions } from '@pyramid-embed/embed-angular';
@Component({
selector: 'app-root',
templateUrl: './app.component.html',
})
export class AppComponent {
title = 'embed-angular-example';
options: EmbedOptions;
constructor() {
this.options = {
contentId: 'a4c7902d-f0e8-4e3c-8030-8330adf79a2c',
};
}
}
<div>
<pyramid-embed-angular
host="http://pyramid:8181"
[options]="options"
width="1280px"
height="720px">
</pyramid-embed-angular>
</div>
import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import { AppComponent } from './app.component';
import { EmbedAngularModule } from '@pyramid-embed/embed-angular';
@NgModule({
declarations: [AppComponent],
imports: [BrowserModule, EmbedAngularModule],
providers: [],
bootstrap: [AppComponent],
})
export class AppModule {}
host: string
- URL of the Pyramid instanceoptions: EmbedOptions
- embed optionswidth: string
- container widthheight: string
- container heightloginType?: "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 tokenclassName?: string
- apply a className to the container elementauthFailureCallback?: Function
- a function that will be called when the embed token has expiredimport { Component } from '@angular/core';
import { EmbedOptions, Filter } from '@pyramid-embed/embed-angular';
@Component({
selector: 'app-root',
templateUrl: './app.component.html',
})
export class AppComponent {
title = 'embed-angular-example';
options: EmbedOptions;
constructor() {
const filter = Filter.create().addUniqueName('[customer].[country].[France]');
this.options = {
contentId: 'a4c7902d-f0e8-4e3c-8030-8330adf79a2c',
filters: filter
};
}
}
<div>
<pyramid-embed-angular
host="http://pyramid:8181"
[options]='options'
width="1280px"
height="720px">
</pyramid-embed-angular>
</div>
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)
We found that @pyramid-embed/embed-angular demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer 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 researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.
Security News
Socket now integrates with Bun 1.3’s Security Scanner API to block risky packages at install time and enforce your organization’s policies in local dev and CI.
Research
The Socket Threat Research Team is tracking weekly intrusions into the npm registry that follow a repeatable adversarial playbook used by North Korean state-sponsored actors.