diff --git a/src/main/java/de/gnmyt/autoresponder/authentication/AuthenticationDetails.java b/src/main/java/de/gnmyt/autoresponder/authentication/AuthenticationDetails.java new file mode 100644 index 0000000..d1e3a59 --- /dev/null +++ b/src/main/java/de/gnmyt/autoresponder/authentication/AuthenticationDetails.java @@ -0,0 +1,39 @@ +package de.gnmyt.autoresponder.authentication; + +public class AuthenticationDetails { + + private final String username; + private final String password; + + /** + * Constructor of the {@link AuthenticationDetails}. + *

+ * Used to help the {@link de.gnmyt.autoresponder.SimpleAutoResponder} for the authentication process + * + * @param username The name of the user you want to use for the authentication + * @param password The password of the user you want to use for the authentication + */ + public AuthenticationDetails(String username, String password) { + this.username = username; + this.password = password; + } + + /** + * Gets the username of the authentication + * + * @return the username of the authentication + */ + public String getUsername() { + return username; + } + + /** + * Gets the password of the authentication + * + * @return the password of the authentication + */ + public String getPassword() { + return password; + } + +}