Class Push

java.lang.Object
com.okta.sdk.resource.model.Push
All Implemented Interfaces:
Serializable

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2026-03-13T17:36:05.533634+05:30[Asia/Kolkata]", comments="Generator version: 7.15.0") public class Push extends Object implements Serializable
Sends an asynchronous push notification to the device for approval by the user. You must poll the transaction to determine the state of the verification. See [Retrieve a factor transaction status](./#tag/UserFactor/operation/getFactorTransactionStatus). Activations have a short lifetime of several minutes and return a `TIMEOUT` if not completed before the timestamp specified in the `expiresAt` param. Use the published activate link to restart the activation process if the activation expires.
See Also:
  • Field Details

    • JSON_PROPERTY_USE_NUMBER_MATCHING_CHALLENGE

      public static final String JSON_PROPERTY_USE_NUMBER_MATCHING_CHALLENGE
      See Also:
  • Constructor Details

    • Push

      public Push()
  • Method Details

    • useNumberMatchingChallenge

      public Push useNumberMatchingChallenge(Boolean useNumberMatchingChallenge)
    • getUseNumberMatchingChallenge

      @Nullable public Boolean getUseNumberMatchingChallenge()
      Select whether to use a number matching challenge for a `push` factor. > **Note:** Sending a request with a body is required when you verify a `push` factor with a number matching challenge.
      Returns:
      useNumberMatchingChallenge
    • setUseNumberMatchingChallenge

      public void setUseNumberMatchingChallenge(Boolean useNumberMatchingChallenge)
    • equals

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

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object