Class VerifiedClaimConstraint
- java.lang.Object
 - 
- com.authlete.common.assurance.constraint.BaseConstraint
 - 
- com.authlete.common.assurance.constraint.LeafConstraint
 - 
- com.authlete.common.assurance.constraint.VerifiedClaimConstraint
 
 
 
 
- 
- All Implemented Interfaces:
 Constraint
public class VerifiedClaimConstraint extends LeafConstraint
The class that represents the constraint for claims inverified_claims/claims.- Since:
 - 2.63
 - See Also:
 - OpenID Connect for Identity Assurance 1.0
 
 
- 
- 
Constructor Summary
Constructors Constructor Description VerifiedClaimConstraint() 
- 
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VerifiedClaimConstraintextract(Object object, String key)Create aVerifiedClaimConstraintinstance from an object in the given map.StringgetPurpose()Get the value of"purpose".voidsetPurpose(String purpose)Set the value of"purpose".Map<String,Object>toMap()Create aMapinstance that represents this object in the way conforming to the structure defined in 5.- 
Methods inherited from class com.authlete.common.assurance.constraint.LeafConstraint
extract, getValue, getValues, isEssential, setEssential, setValue, setValues 
 - 
 
 - 
 
- 
- 
Method Detail
- 
getPurpose
public String getPurpose()
Get the value of"purpose".- Returns:
 - The value of 
"purpose". 
 
- 
setPurpose
public void setPurpose(String purpose)
Set the value of"purpose".- Parameters:
 value- The value of"purpose".
 
- 
extract
public static VerifiedClaimConstraint extract(Object object, String key) throws ConstraintException
Create aVerifiedClaimConstraintinstance from an object in the given map.- Parameters:
 map- A map that may contain a constraint.key- The key that identifies the object in the map.- Returns:
 - A 
VerifiedClaimConstraintinstance that represents a constraint. Even if the map does not contain the given key, an instance ofVerifiedClaimConstraintis returned. - Throws:
 ConstraintException- The structure of the map does not conform to the specification (OpenID Connect for Identity Assurance 1.0).
 
- 
toMap
public Map<String,Object> toMap()
Description copied from class:BaseConstraintCreate aMapinstance 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.- Overrides:
 toMapin classLeafConstraint- Returns:
 - A 
Mapinstance that represents this object. IfBaseConstraint.exists()returnsfalseorBaseConstraint.isNull()returnstrue, this method returns null. 
 
 - 
 
 -