New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

limes

Package Overview
Dependencies
Maintainers
6
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

limes - npm Package Compare versions

Comparing version 4.1.0 to 5.0.0

7

lib/Limes.ts

@@ -20,6 +20,2 @@ import IdentityProvider from './IdentityProvider';

class Limes {
/* eslint-disable @typescript-eslint/member-naming */
public static IdentityProvider = IdentityProvider;
/* eslint-enable @typescript-eslint/member-naming */
public identityProviders: IdentityProvider[];

@@ -211,1 +207,4 @@

export default Limes;
export {
IdentityProvider
};
{
"name": "limes",
"version": "4.1.0",
"version": "5.0.0",
"description": "limes authenticates users.",

@@ -30,3 +30,3 @@ "contributors": [

"express": "4.17.1",
"roboter": "7.1.2",
"roboter": "7.1.5",
"supertest": "4.0.2",

@@ -33,0 +33,0 @@ "uuidv4": "5.0.0"

@@ -26,2 +26,4 @@ # limes

```javascript
const { default: Limes, IdentityProvider } = require('limes');
// or just
const Limes = require('limes').default;

@@ -33,9 +35,9 @@ ```

```typescript
import Limes from 'limes';
import Limes, { IdentityProvider } from 'limes';
```
Now you need to create one or more identity providers. For each identity provider call the `Limes.IdentityProvider` constructor and hand over the `issuer` as well as a `privateKey` or a `certificate`, each in `.pem` format. Optionally, you may provide both:
Now you need to create one or more identity providers. For each identity provider call the `IdentityProvider` constructor and hand over the `issuer` as well as a `privateKey` or a `certificate`, each in `.pem` format. Optionally, you may provide both:
```javascript
const identityProvider = new Limes.IdentityProvider({
const identityProvider = new IdentityProvider({
issuer: 'https://auth.thenativeweb.io',

@@ -42,0 +44,0 @@ privateKey: await readFile(path.join(__dirname, 'privateKey.pem')),

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc