Enum Class LoginMethod.Kind

java.lang.Object
java.lang.Enum<LoginMethod.Kind>
dev.relism.flash.ext.security.LoginMethod.Kind
All Implemented Interfaces:
Serializable, Comparable<LoginMethod.Kind>, Constable
Enclosing class:
LoginMethod

public static enum LoginMethod.Kind extends Enum<LoginMethod.Kind>
  • Enum Constant Details

    • REDIRECT

      public static final LoginMethod.Kind REDIRECT
      A browser navigates to url and comes back signed in — OpenID Connect, for instance.
    • FORM

      public static final LoginMethod.Kind FORM
      A client posts username and password to url.
  • Method Details

    • values

      public static LoginMethod.Kind[] 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 LoginMethod.Kind 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