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.
@orbis-systems/orbis-api-client
Advanced tools
This library comes comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law.
This library comes comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law.
npm install orbis-api-client --save
const APIClient = require("orbis-api-client");
or
import APIClient from 'orbis-api-client';
<script src="browser-bundle.js"></script>
const config = {
cert: fs.readFileSync('./cert.pem'), //Obtained from Orbis
token: '123456', //Obtained from Orbis. Must be string (not int)
domain: 'https://example.com/', //Obtained from Orbis
base_url: 'https://example.com/', //Obtained from Orbis
};
(async () =>
{
let client = new APIClient(config);
await client.login('username', 'password');
});
const config = {
cert: fs.readFileSync('./cert.pem'), //Obtained from Orbis
token: '123456', //Obtained from Orbis. Must be string (not int)
domain: 'https://example.com/', //Obtained from Orbis
base_url: 'https://example.com/', //Obtained from Orbis
};
var client = new APIClient(config)
client.login('username', 'password');
By default, the session store will use LocalStorage. In the browser, LocalStorage
will utilize localStorage
, and in NodeJS it will store them in ./session
.
You can create a custom session store by extending the SessionStore
class. To use it, pass it as the session_store
on the config like:
const config = {
...
session_store: CustomStore,
...
};
You must implement the methods:
get(key)
set(key, value, expiration_in_minutes)
has(key)
(Returns boolean. Should also return false if it has expired)FAQs
This library comes comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law.
The npm package @orbis-systems/orbis-api-client receives a total of 92 weekly downloads. As such, @orbis-systems/orbis-api-client popularity was classified as not popular.
We found that @orbis-systems/orbis-api-client demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 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.
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.