public class VerifiedClaims extends LinkedHashMap<String,Object>
verified_claims.AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
VerifiedClaims() |
| Modifier and Type | Method and Description |
|---|---|
VerifiedClaims |
addClaim(String name,
Object value)
Add a verified claim.
|
boolean |
containsClaims()
Check if this object contains
"claims". |
boolean |
containsVerification()
Check if this object contains
"verification". |
static VerifiedClaims |
extract(Map<?,?> map,
String key)
Create a
VerifiedClaims instance from an object in the given map. |
Claims |
getClaims()
Get the verified claims.
|
Verification |
getVerification()
Get information about the verification.
|
Claims |
removeClaims()
Remove
"claims" from this object. |
Verification |
removeVerification()
Remove
"verification" from this object. |
VerifiedClaims |
setClaims(Claims claims)
Set the verified claims.
|
VerifiedClaims |
setVerification(Verification verification)
Set information about the verification.
|
clear, containsValue, entrySet, forEach, get, getOrDefault, keySet, removeEldestEntry, replaceAll, valuesclone, compute, computeIfAbsent, computeIfPresent, containsKey, isEmpty, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, sizeequals, hashCode, toStringfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, containsKey, equals, hashCode, isEmpty, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, sizepublic Verification getVerification()
public VerifiedClaims setVerification(Verification verification)
verification - The information about the verification.this object.public boolean containsVerification()
"verification".true if this object contains "verification".public Verification removeVerification()
"verification" from this object.public Claims getClaims()
public VerifiedClaims setClaims(Claims claims)
claims - The verified claims.this object.public boolean containsClaims()
"claims".true if this object contains "claims".public Claims removeClaims()
"claims" from this object.public VerifiedClaims addClaim(String name, Object value)
name - The name of the claim.value - The value of the claim.this object.public static VerifiedClaims extract(Map<?,?> map, String key) throws IdentityAssuranceException
VerifiedClaims instance from an object in the given map.map - A map that may contain "verified_claims".key - The key that identifies the object in the map. In normal cases,
the key is "verified_claims".VerifiedClaims instance that represents "verified_claims".
If the map does not contain the given key, null is returned.IdentityAssuranceException - The structure of the map does not conform to the specification
(OpenID Connect for Identity Assurance 1.0).Copyright © 2021. All rights reserved.