Class ValidatedPasswordCallback

    • Constructor Detail

      • ValidatedPasswordCallback

        public ValidatedPasswordCallback​(@NotNull
                                         org.json.JSONObject raw,
                                         int index)
                                  throws org.json.JSONException
        Throws:
        org.json.JSONException
      • ValidatedPasswordCallback

        public ValidatedPasswordCallback()
    • Method Detail

      • setPassword

        public void setPassword​(char[] password)
        Set the retrieved password.
        Parameters:
        password - the retrieved password, which may be null.
      • getType

        public java.lang.String getType()
        Description copied from interface: Callback
        Return the type of the Callback, the type name should align with the Callback type returned from AM
      • isEchoOn

        public boolean isEchoOn()
        Return whether the password should be displayed as it is being typed.

        Returns:
        the whether the password should be displayed as it is being typed.