Enum InweboResult

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<InweboResult>

    public enum InweboResult
    extends java.lang.Enum<InweboResult>
    The JSON response result.
    Since:
    6.4.0
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      NOK
      Error.
      NOLOGIN
      User does not exist, or is still pending activation.
      NOMA
      User does not have the mobile app.
      NOPUSH
      User’s mobile app does not support push.
      OK
      Success.
      REFUSED
      The authentication was refused.
      SN
      Syntax error in input parameters.
      TIMEOUT
      The authentication timed out.
      UNKNOWN_SERVICE
      Unknown service.
      WAITING
      Waiting for the push validation.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static InweboResult valueOf​(java.lang.String name)
      Returns the enum constant of this type with the specified name.
      static InweboResult[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      • Methods inherited from class java.lang.Enum

        clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Enum Constant Detail

      • NOPUSH

        public static final InweboResult NOPUSH
        User’s mobile app does not support push.
      • NOMA

        public static final InweboResult NOMA
        User does not have the mobile app.
      • NOLOGIN

        public static final InweboResult NOLOGIN
        User does not exist, or is still pending activation.
      • SN

        public static final InweboResult SN
        Syntax error in input parameters.
      • UNKNOWN_SERVICE

        public static final InweboResult UNKNOWN_SERVICE
        Unknown service.
      • WAITING

        public static final InweboResult WAITING
        Waiting for the push validation.
      • REFUSED

        public static final InweboResult REFUSED
        The authentication was refused.
      • TIMEOUT

        public static final InweboResult TIMEOUT
        The authentication timed out.
    • Method Detail

      • values

        public static InweboResult[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (InweboResult c : InweboResult.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static InweboResult valueOf​(java.lang.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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null