Class IdentityAssuranceProcess

java.lang.Object
com.nimbusds.openid.connect.sdk.assurance.IdentityAssuranceProcess

@Immutable public final class IdentityAssuranceProcess extends Object
Identity assurance process.
  • Constructor Details

    • 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 Details

    • getPolicy

      public Policy getPolicy()
      Returns the policy.
      Returns:
      The policy, null if not specified.
    • getProcedure

      Returns the procedure.
      Returns:
      The procedure, null if not specified.
    • getStatus

      public Status getStatus()
      Returns the status.
      Returns:
      The status, null if not specified.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • 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 be null.
      Returns:
      The identity assurance process.
      Throws:
      ParseException - If parsing failed.