Enum LoginMethod.Type

    • Enum Constant Detail

      • ANONYMOUS

        public static final LoginMethod.Type ANONYMOUS
        Logs in to Gluon CloudLink as an anonymous user.
      • FACEBOOK

        public static final LoginMethod.Type FACEBOOK
        Logs in to Gluon CloudLink using Facebook.
      • GITHUB

        public static final LoginMethod.Type GITHUB
        Logs in to Gluon CloudLink using GitHub.
      • GOOGLE_PLUS

        public static final LoginMethod.Type GOOGLE_PLUS
        Logs in to Gluon CloudLink using Google+.
      • PASSWORD

        public static final LoginMethod.Type PASSWORD
        Logs in to Gluon CloudLink using a custom username and password combination.
      • TWITTER

        public static final LoginMethod.Type TWITTER
        Logs in to Gluon CloudLink using Twitter.
      • CUSTOM

        public static final LoginMethod.Type CUSTOM
        Logs in to Gluon CloudLink with a custom authentication method.
    • Method Detail

      • values

        public static LoginMethod.Type[] 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 (LoginMethod.Type c : LoginMethod.Type.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static LoginMethod.Type 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