public class DefaultUsernamePasswordAuth extends DefaultRequestAuth
AUTH_HEADER_NAME| Constructor and Description |
|---|
DefaultUsernamePasswordAuth(String userName,
String password)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
String |
getPassword()
get password.
|
String |
getUserName()
get user name.
|
void |
setAuth(IBoxRequest request)
Set Auth into the API request.
|
public String getUserName()
public String getPassword()
public void setAuth(IBoxRequest request) throws BoxRestException, AuthFatalFailureException
IBoxRequestAuthsetAuth in interface IBoxRequestAuthsetAuth in class DefaultRequestAuthrequest - IBoxRequestBoxRestException - Exception.AuthFatalFailureException - exceptionCopyright © 2014. All Rights Reserved.