Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@vertx/auth-common

Package Overview
Dependencies
Maintainers
1
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vertx/auth-common - npm Package Compare versions

Comparing version 3.9.1 to 3.9.2

index.mjs

71

options.d.ts

@@ -27,2 +27,73 @@ /*

/**
* Options related to creation of new tokens.
*
* If any expiresInMinutes, audience, subject, issuer are not provided, there is no default.
* The jwt generated won't include those properties in the payload.
*
* Generated JWTs will include an iat claim by default unless noTimestamp is specified.
*/
export class JWTOptions {
constructor();
constructor(obj: JWTOptions);
getAlgorithm(): string;
setAlgorithm(algorithm: string): JWTOptions;
getAudience(): string;
setAudience(audience: string): JWTOptions;
addAudience(audiences: string): JWTOptions;
setExpiresInMinutes(expiresInMinutes: number): JWTOptions;
getExpiresInSeconds(): number;
setExpiresInSeconds(expiresInSeconds: number): JWTOptions;
getHeader(): { [key: string]: any };
setHeader(header: { [key: string]: any }): JWTOptions;
isIgnoreExpiration(): boolean;
setIgnoreExpiration(ignoreExpiration: boolean): JWTOptions;
getIssuer(): string;
setIssuer(issuer: string): JWTOptions;
getLeeway(): number;
setLeeway(leeway: number): JWTOptions;
isNoTimestamp(): boolean;
setNoTimestamp(noTimestamp: boolean): JWTOptions;
/**
* The permissions of this token.
*/
getPermissions(): string;
/**
* The permissions of this token.
*/
setPermissions(permissions: string): JWTOptions;
/**
* The permissions of this token.
*/
addPermission(permissions: string): JWTOptions;
getSubject(): string;
setSubject(subject: string): JWTOptions;
}
/**
* Options describing how an JWT KeyStore should behave.

@@ -29,0 +100,0 @@ */

1

options.js

@@ -24,2 +24,3 @@ /*

AuthOptions: Java.type('io.vertx.ext.auth.AuthOptions'),
JWTOptions: Java.type('io.vertx.ext.auth.JWTOptions'),
KeyStoreOptions: Java.type('io.vertx.ext.auth.KeyStoreOptions'),

@@ -26,0 +27,0 @@ PubSecKeyOptions: Java.type('io.vertx.ext.auth.PubSecKeyOptions'),

8

package.json
{
"name" : "@vertx/auth-common",
"description" : "Generated Eclipse Vert.x bindings for 'vertx-auth-common'",
"version" : "3.9.1",
"version" : "3.9.2",
"license" : "Apache-2.0",

@@ -10,9 +10,9 @@ "public" : true,

"artifactId" : "vertx-auth-common",
"version" : "3.9.1"
"version" : "3.9.2"
},
"dependencies" : {
"@vertx/core" : "3.9.1"
"@vertx/core" : "3.9.2"
},
"main" : "index.js",
"module" : "module.mjs",
"module" : "index.mjs",
"types" : "index.d.ts",

@@ -19,0 +19,0 @@ "sideEffects" : false,

@@ -14,4 +14,29 @@ ![npm (scoped)](https://img.shields.io/npm/v/@vertx/auth-common.svg)

This is a meta package, meaning that it contains only metadata for the build.
Import the required `API`/`Enum`/`DataObject` and profit!
```js
// Base API
import * as API from '@vertx/auth-common';
// DataObject's
import * as OPTIONS from '@vertx/auth-common/options';
// refer to the API docs for specific help...
// your code here!!!
```
## Typescript
This package includes [Typescript](http://www.typescriptlang.org/) typedefinitions and your IDE should find then automatically.
When working in a project you can enable type hinting for the runtime as:
```js
/// <definition types="es4x" />
// @ts-check
// your TypeScript code here...
```
## Links

@@ -18,0 +43,0 @@

Sorry, the diff of this file is not supported yet

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