Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
@advanced-rest-client/cc-authorization-method
Advanced tools
Changelog
0.1.3 (2019-12-31)
importButton
option 1b64287 by Pawel Psztyc:host
css definition 3081be1 by PawelReadme
A web component that extends @advanced-rest-client/authorization-method
to allow to select a client certificate as an authorization method.
The component mixes in @advanced-rest-client/client-certificates-consumer-mixin
that communicates with the application by using DOM events.
The application has to handle the following events for this element to work:
Note that -insert
and -delete
events are not dispatched by this element but are defined in the mixin interface.
Default storage interface is provided with @advanced-rest-client/arc-models/client-certificate-model.js
see implementation.
An UI to manage installed certificates is provided by @advanced-rest-client/client-certificates-panel
.
npm install --save @advanced-rest-client/cc-authorization-method
<html>
<head>
<script type="module">
import '@advanced-rest-client/cc-authorization-method/cc-authorization-method.js';
import '@advanced-rest-client/arc-models/client-certificate-model.js';
</script>
</head>
<body>
<client-certificate-model></client-certificate-model>
<cc-authorization-method></cc-authorization-method>
</body>
</html>
import { LitElement, html } from 'lit-element';
import '@advanced-rest-client/cc-authorization-method/cc-authorization-method.js';
class SampleElement extends LitElement {
render() {
const { amfModel, security } = this;
return html`
<cc-authorization-method
type="client certificate"
@change="${this._securityChangeHandler}"></cc-authorization-method>
`;
}
_securityChangeHandler(e) {
console.log('current authorization settings', e.target.serialize());
}
}
customElements.define('sample-element', SampleElement);
git clone https://github.com/advanced-rest-client/cc-authorization-method
cd cc-authorization-method
npm install
npm start
npm test
This components is a part of API components ecosystem
FAQs
An element to render an UI for client certificate authorization method
The npm package @advanced-rest-client/cc-authorization-method receives a total of 7 weekly downloads. As such, @advanced-rest-client/cc-authorization-method popularity was classified as not popular.
We found that @advanced-rest-client/cc-authorization-method demonstrated a not healthy version release cadence and project activity because the last version was released 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.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.