Enum FactorType

java.lang.Object
java.lang.Enum<FactorType>
com.okta.sdk.resource.model.FactorType
All Implemented Interfaces:
Serializable, Comparable<FactorType>, java.lang.constant.Constable

public enum FactorType extends Enum<FactorType>
Gets or Sets FactorType
  • Enum Constant Details

    • CALL

      public static final FactorType CALL
    • EMAIL

      public static final FactorType EMAIL
    • PUSH

      public static final FactorType PUSH
    • QUESTION

      public static final FactorType QUESTION
    • SIGNED_NONCE

      public static final FactorType SIGNED_NONCE
    • SMS

      public static final FactorType SMS
    • TOKEN

      public static final FactorType TOKEN
    • TOKEN_HARDWARE

      public static final FactorType TOKEN_HARDWARE
    • TOKEN_HOTP

      public static final FactorType TOKEN_HOTP
    • TOKEN_SOFTWARE_TOTP

      public static final FactorType TOKEN_SOFTWARE_TOTP
    • U2F

      public static final FactorType U2F
    • WEB

      public static final FactorType WEB
    • WEBAUTHN

      public static final FactorType WEBAUTHN
  • Method Details

    • values

      public static FactorType[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static FactorType valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • getValue

      public String getValue()
    • toString

      public String toString()
      Overrides:
      toString in class Enum<FactorType>
    • fromValue

      public static FactorType fromValue(String value)
    • toUrlQueryString

      public String toUrlQueryString(String prefix)
      Convert the instance into URL query string.
      Parameters:
      prefix - prefix of the query string
      Returns:
      URL query string