Enum Class TotpCodeKind

java.lang.Object
java.lang.Enum<TotpCodeKind>
com.irurueta.authserver.authorization.api.web.totp.TotpCodeKind
All Implemented Interfaces:
Serializable, Comparable<TotpCodeKind>, Constable

public enum TotpCodeKind extends Enum<TotpCodeKind>
What the code posted to the TOTP filter is.
  • Enum Constant Details

    • TOTP

      public static final TotpCodeKind TOTP
      A code of the user's confirmed authenticator app.
    • RECOVERY

      public static final TotpCodeKind RECOVERY
      A recovery code, which stands in for the authenticator app once.
    • ENROLMENT

      public static final TotpCodeKind ENROLMENT
      The first code of an authenticator app being enrolled during the sign-in, which confirms it.
  • Constructor Details

    • TotpCodeKind

      private TotpCodeKind()
  • Method Details

    • values

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

      public static TotpCodeKind valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null