Class RemediationOption

java.lang.Object
com.okta.idx.sdk.api.model.RemediationOption
All Implemented Interfaces:
Serializable

public class RemediationOption extends Object implements Serializable
See Also:
  • Constructor Details

    • RemediationOption

      public RemediationOption()
  • Method Details

    • proceed

      Allow you to continue the remediation with this option.
      Parameters:
      client - the IDXClient instance
      request - the request to Okta Identity Engine
      Returns:
      IDXResponse the response from Okta Identity Engine
      Throws:
      IllegalArgumentException - MUST throw this exception when provided data does not contain all required data for the proceed call.
      IllegalStateException - MUST throw this exception when proceed is called with an invalid/unsupported request type.
      ProcessingException - when the proceed operation encountered an execution/processing error.
    • form

      public List<FormValue> form()
      Get all form values.
      Returns:
      array an array of FormValue
    • getName

      public String getName()
    • getType

      public String getType()
    • getHref

      public String getHref()
    • getRefresh

      public Duration getRefresh()
    • getAuthenticatorOptions

      public Map<String,String> getAuthenticatorOptions()
      Get a key-value pair map of Authenticator options available for the current remediation option. where key - authenticator type (e.g. password, security_question, email) value - authenticator id (e.g. aut2ihzk2n15tsQnQ1d6)
      Returns:
      map of Authenticator type and id