public class GetAuthorizationData extends Authorize
ApiMethod
to log the user in. This sends
the username and password, and returns the token needed to authorize any more
account-specific requests.config, MAX_TICKERS, reqMan, RH_URL
Constructor and Description |
---|
GetAuthorizationData(java.lang.String email,
java.lang.String password)
An
ApiMethod to log the user in. |
addAuthTokenParameter, addFieldParameter, addFieldParameters, addHeaderParameter, addHeaderParameters, addQueryParameter, addQueryParameters, addRouteParameter, addRoutParameters, execute, getBaseUrl, getFieldParameters, getHeaderParameters, getMethodType, getQueryParameters, getReturnType, getRouteParameters, requiresToken, requireToken, setMethodType, setReturnType, setUrlBase, toString
public GetAuthorizationData(java.lang.String email, java.lang.String password) throws io.github.openunirest.http.exceptions.UnirestException
ApiMethod
to log the user in. This
sends the email and password.
AuthorizationData.getMfaType()
.email
- The email used to log into Robinhoodpassword
- The passwordio.github.openunirest.http.exceptions.UnirestException