com.plenigo.sdk.internal.models.BasicAuthenticationCredentials Maven / Gradle / Ivy
package com.plenigo.sdk.internal.models;
/**
*
* This class represents the basic authentication information.
*
*
* IMPORTANT: This class is part of the internal API, please do not use it, because it can
* be removed in future versions of the SDK or access to such elements could
* be changed from 'public' to 'default' or less.
*
*
* Thread safety: This class is not thread safe.
*
*/
public class BasicAuthenticationCredentials {
private String username;
private String password;
/**
* Required constructor.
*
* @param username the username
* @param password the password
*/
public BasicAuthenticationCredentials(String username, String password) {
this.username = username;
this.password = password;
}
/**
* Returns the user name.
*
* @return username
*/
public String getUsername() {
return username;
}
/**
* Returns the password.
*
* @return the password
*/
public String getPassword() {
return password;
}
}