public class UserConfig extends Object
| Constructor and Description |
|---|
UserConfig()
Create an user config object with empty username and empty password.
|
UserConfig(String userName,
File cipherFile)
Create an user config object with username and cipher file.
|
UserConfig(String userName,
File cipherFile,
String token)
Create an user config object with username, cipher file and token.
|
UserConfig(String userName,
String password)
Create an user config object with username and password.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
File |
getCipherFile() |
String |
getPassword() |
String |
getToken() |
String |
getUserName() |
int |
hashCode() |
String |
toString() |
public UserConfig()
public UserConfig(String userName, File cipherFile)
userName - The user namecipherFile - The cipher filepublic UserConfig(String userName, File cipherFile, String token)
userName - The user namecipherFile - The cipher filetoken - The password encryption tokenCopyright © 2023. All rights reserved.