AuthenticateUser
Last updated
Last updated
Key | Value |
---|---|
Key | Value |
---|---|
Key | Value |
---|---|
Username
string. The user's assigned user name.
Password
string. The user's assigned password.
APIKey
string. This is an AlphaPoint-generated key used in user-identification.
Signature
string. A long, alphanumeric string generated by AlphaPoint by using the APIKey and Nonce.
UserId
string. The ID of the user, stated as a string.
UserName
string. The user's assigned user name.
Nonce
string. Any arbitrary number or random string used with the APIKey to generate a signature.
authenticated
Boolean. True if the user is authenticated; false otherwise.
user
JSON user object (below)
locked
Boolean. True if this affiliated user is currently locked; false otherwise. A user may be locked by trying to log in too many times in rapid succession. He must be unlocked by an admin.
requires2FA
Boolean. True if the user must use two-factor authentication; false otherwise.
twoFAType
string. Returns the type of 2FA this user requires. For example, "Google."
twoFAToken
string. Returns an appropriate token. In the case of Google, this is a QR code.
errormsg
string. A successful receipt of the call returns null.
userId
integer. The ID of the user being authenticated on the exchange.
userName
string. The name of the user.
string. The email address of the user.
emailVerified
Boolean. Whether the email address has been verified by the registration process or directly by an Admin.
accountId
integer. The ID of the account with which the user is associated (each user has a default account).
omsId
integer. The ID of the Order Management System with which the user and account are associated.
use2FA
Boolean. True if the user must use 2FA to log in; false otherwise.