mirror of
https://github.com/apache/cordova-android.git
synced 2025-02-27 04:42:51 +08:00
52 lines
958 B
Java
52 lines
958 B
Java
package com.phonegap;
|
|
|
|
/**
|
|
* The Class AuthenticationToken defines the userName and password to be used for authenticating a web resource
|
|
*/
|
|
public class AuthenticationToken {
|
|
private String userName;
|
|
private String password;
|
|
|
|
/**
|
|
* Gets the user name.
|
|
*
|
|
* @return the user name
|
|
*/
|
|
public String getUserName() {
|
|
return userName;
|
|
}
|
|
|
|
/**
|
|
* Sets the user name.
|
|
*
|
|
* @param userName
|
|
* the new user name
|
|
*/
|
|
public void setUserName(String userName) {
|
|
this.userName = userName;
|
|
}
|
|
|
|
/**
|
|
* Gets the password.
|
|
*
|
|
* @return the password
|
|
*/
|
|
public String getPassword() {
|
|
return password;
|
|
}
|
|
|
|
/**
|
|
* Sets the password.
|
|
*
|
|
* @param password
|
|
* the new password
|
|
*/
|
|
public void setPassword(String password) {
|
|
this.password = password;
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|