public class VerifiedClaimConstraint extends LeafConstraint
verified_claims/claims.| Constructor and Description |
|---|
VerifiedClaimConstraint() |
| Modifier and Type | Method and Description |
|---|---|
static VerifiedClaimConstraint |
extract(Object object,
String key)
Create a
VerifiedClaimConstraint instance from an object in the given map. |
String |
getPurpose()
Get the value of
"purpose". |
void |
setPurpose(String purpose)
Set the value of
"purpose". |
Map<String,Object> |
toMap()
Create a
Map instance that represents this object in the way
conforming to the structure defined in 5. |
extract, getValue, getValues, isEssential, setEssential, setValue, setValuespublic String getPurpose()
"purpose"."purpose".public void setPurpose(String purpose)
"purpose".value - The value of "purpose".public static VerifiedClaimConstraint extract(Object object, String key) throws ConstraintException
VerifiedClaimConstraint instance from an object in the given map.map - A map that may contain a constraint.key - The key that identifies the object in the map.VerifiedClaimConstraint instance that represents a
constraint. Even if the map does not contain the given key, an
instance of VerifiedClaimConstraint is returned.ConstraintException - The structure of the map does not conform to the specification
(OpenID Connect for Identity Assurance 1.0).public Map<String,Object> toMap()
BaseConstraintMap instance that represents this object in the way
conforming to the structure defined in 5. Requesting Verified Claims of OpenID Connect for Identity Assurance 1.0.toMap in class LeafConstraintMap instance that represents this object.
If BaseConstraint.exists() returns false or BaseConstraint.isNull()
returns true, this method returns null.Copyright © 2022. All rights reserved.