cordova-android/framework/src/com/phonegap/AuthenticationToken.java

52 lines
958 B
Java
Raw Normal View History

2012-01-05 05:47:44 +08:00
package com.phonegap;
/**
* The Class AuthenticationToken defines the userName and password to be used for authenticating a web resource
2012-01-05 05:47:44 +08:00
*/
public class AuthenticationToken {
private String userName;
private String password;
2012-01-05 05:47:44 +08:00
/**
* Gets the user name.
2012-01-05 05:47:44 +08:00
*
* @return the user name
2012-01-05 05:47:44 +08:00
*/
public String getUserName() {
return userName;
2012-01-05 05:47:44 +08:00
}
/**
* Sets the user name.
2012-01-05 05:47:44 +08:00
*
* @param userName
* the new user name
2012-01-05 05:47:44 +08:00
*/
public void setUserName(String userName) {
this.userName = userName;
2012-01-05 05:47:44 +08:00
}
/**
* Gets the password.
2012-01-05 05:47:44 +08:00
*
* @return the password
2012-01-05 05:47:44 +08:00
*/
public String getPassword() {
return password;
2012-01-05 05:47:44 +08:00
}
/**
* Sets the password.
2012-01-05 05:47:44 +08:00
*
* @param password
* the new password
2012-01-05 05:47:44 +08:00
*/
public void setPassword(String password) {
this.password = password;
2012-01-05 05:47:44 +08:00
}
2012-01-05 05:47:44 +08:00
}