Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
@obelisk/client
Advanced tools
Typescript client to interact with Obelisk on a higher level than with regular ReST API calls.
A client library written in Typescript to interact with Obelisk. Link back to the full documentation here.
This library makes use of RxJS (Reactive Extensions for JavaScript). RxJS comes as a peer dependency.
The client has a clear purpose:
The client help with authorization to the Obelisk keycloak authorization Server. This should handle:
With the client you create Endpoints. These endpoints can be acted on with methods like execute()
or get()
. An endpoint takes an API uri as argument. This means that the HTTP REST api is as important to you, as this API.
npm install @obelisk/client rxjs --save
To start you need to create an IotClient instance with a proper options object.
import { ClientOptions, IotClient } from '@obelisk/client';
// Create shareable observable. (caches the client object)
const options: ClientOptions = {
host: 'https://obelisk.ilabt.imec.be',
apiVersion: 'v1',
realm: 'idlab-iot',
clientId: 'my-client'
}
let client = new IotClient(options);
Now init the client to connect to the Obelisk back-end and start using it. init() returns an Observable that copmletes once initialization is over.
this.client.init().subscribe({
next: _ => {
// do something with the client.
}
})
If you are logged in it will handle all the tokens in the headers for you.
There is an optional angular package to use in conjunction with the client packages. More information can be found at @obelisk/ngx.
FAQs
Typescript client to interact with Obelisk on a higher level than the regular ReST API calls.
The npm package @obelisk/client receives a total of 42 weekly downloads. As such, @obelisk/client popularity was classified as not popular.
We found that @obelisk/client 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
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.