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 4.3.4 to 4.3.8

21

index.d.ts
/*
* Copyright 2022 ES4X
* Copyright 2023 ES4X
*

@@ -458,2 +458,13 @@ * ES4X licenses this file to you under the Apache License, version 2.0

/**
* Get a value from the user object. This method will perform lookups on several places before returning a value.
* <ol>
* <li>If there is a <code>rootClaim</code> the look up will happen in the <code>attributes[rootClaim]</code></li>
* <li>If exists the value will be returned from the {@link User#attributes}</li>
* <li>If exists the value will be returned from the {@link User#principal}</li>
* <li>Otherwise it will be <code>null</code></li>
* </ol>
*/
getOrDefault<T>(key: string, defaultValue: T) : T | null;
/**
* Checks if a value exists on the user object. This method will perform lookups on several places before returning.

@@ -548,2 +559,10 @@ * <ol>

merge(other: User) : User;
/**
* The "amr" (Authentication Methods References) returns a unique list of claims as defined and
* registered in the IANA "JSON Web Token Claims" registry. The values in this collection are based
* on <a href="https://datatracker.ietf.org/doc/html/rfc8176">RFC8176</a>. This information can be used
* to filter authenticated users by their authentication mechanism.
*/
hasAmr(value: string) : boolean;
}

@@ -550,0 +569,0 @@

2

index.js
/*
* Copyright 2022 ES4X
* Copyright 2023 ES4X
*

@@ -4,0 +4,0 @@ * ES4X licenses this file to you under the Apache License, version 2.0

/*
* Copyright 2022 ES4X
* Copyright 2023 ES4X
*

@@ -4,0 +4,0 @@ * ES4X licenses this file to you under the Apache License, version 2.0

/*
* Copyright 2022 ES4X
* Copyright 2023 ES4X
*

@@ -4,0 +4,0 @@ * ES4X licenses this file to you under the Apache License, version 2.0

/*
* Copyright 2022 ES4X
* Copyright 2023 ES4X
*

@@ -4,0 +4,0 @@ * ES4X licenses this file to you under the Apache License, version 2.0

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

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

"artifactId" : "vertx-auth-common",
"version" : "4.3.4"
"version" : "4.3.8"
},
"dependencies" : {
"@vertx/core" : "4.3.4"
"@vertx/core" : "4.3.8"
},

@@ -16,0 +16,0 @@ "main" : "index.js",

Sorry, the diff of this file is not supported yet

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