@vertx/auth-common
Advanced tools
Comparing version
/* | ||
* 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 @@ |
/* | ||
* 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
37145
2.71%875
1.98%+ Added
- Removed
Updated