Class LoginCredentialsPanel

    • Constructor Detail

      • LoginCredentialsPanel

        public LoginCredentialsPanel​(boolean askForFriendlyName,
                                     HyperlinkActivatedListener hyperlinkListener)
    • Method Detail

      • getAccessKey

        public String getAccessKey()
        Returns:
        the Access Key provided by the user.
      • getSecretKey

        public String getSecretKey()
        Returns:
        the Secret Key provided by the user.
      • getUsingDevPay

        public boolean getUsingDevPay()
        Returns:
        whether or not DevPay authentication should be used
      • getAWSUserToken

        public String getAWSUserToken()
        Returns:
        the user token provided by the user.
      • getAWSProductToken

        public String getAWSProductToken()
        Returns:
        the product token provided by the user.
      • getFriendlyName

        public String getFriendlyName()
        Returns:
        the Friendly Name (nickname) provided by the user, or an empty string if the user was not prompted to provide one (the askForFriendlyName option was false).
      • checkForInputErrors

        public String[] checkForInputErrors()
        Verifies that the user has provided the correct inputs, and returns a list of error messages if not.
        Returns:
        an empty array if there a no input errors, otherwise the array will contain a list of error messages.