Class IdentityAssuranceProcess
- java.lang.Object
-
- com.nimbusds.openid.connect.sdk.assurance.IdentityAssuranceProcess
-
@Immutable public final class IdentityAssuranceProcess extends Object
Identity assurance process.
-
-
Constructor Summary
Constructors Constructor Description IdentityAssuranceProcess(Policy policy, Procedure procedure, Status status)
Creates a new identity assurance process.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
Policy
getPolicy()
Returns the policy.Procedure
getProcedure()
Returns the procedure.Status
getStatus()
Returns the status.int
hashCode()
static IdentityAssuranceProcess
parse(net.minidev.json.JSONObject jsonObject)
Parses an identity assurance process from the specified JSON object.net.minidev.json.JSONObject
toJSONObject()
Returns a JSON object representation of this identity assurance process.
-
-
-
Constructor Detail
-
IdentityAssuranceProcess
public IdentityAssuranceProcess(Policy policy, Procedure procedure, Status status)
Creates a new identity assurance process. At least one assurance process element must be specified.- Parameters:
policy
- The policy,null
if not specified.procedure
- The procedure,null
if not specified.status
- The status,null
if not specified.
-
-
Method Detail
-
getProcedure
public Procedure getProcedure()
Returns the procedure.- Returns:
- The procedure,
null
if not specified.
-
toJSONObject
public net.minidev.json.JSONObject toJSONObject()
Returns a JSON object representation of this identity assurance process.- Returns:
- The JSON object.
-
parse
public static IdentityAssuranceProcess parse(net.minidev.json.JSONObject jsonObject) throws ParseException
Parses an identity assurance process from the specified JSON object.- Parameters:
jsonObject
- The JSON object. Must not benull
.- Returns:
- The identity assurance process.
- Throws:
ParseException
- If parsing failed.
-
-