Motorola CA50 Developer & User Manual page 313

Table of Contents

Advertisement

AuthenticateMAC
This method is used to authenticate a device. If authMac required is enabled, the MAC is looked up as a user in the
B_USER table.
int AuthenticateMAC(string sStoreNumber, string sMAC, string ipAddr ref AuthenticateResponse
AuthResp, ref UCAWebServiceStatus WSStatus)
Parameters
sStoreNumber
Device store number.
sMAC
Device MAC address.
ipAddr
IP address of source machine (optional - used for logging).
Pass "" when address logging is not required.
AuthResp
Result of authentication attempt. (See
WSStatus
UCAWebServiceStatus class describes the status of the call.
Return Values
Returns 1 when successful. If successful, AuthResp is populated with the result of the authentication attempt. If
return value is 0, check WSStatus for error code and description.
Remarks
Any errors are logged to the NT Event log.
Related Classes
public class AuthenticateResponse
{
public AuthenticateResponse (){}
public bool
authenticated;
public bool
continueOn;
public string
token;
}
AuthenticateResponse Class Members
AuthenticateResponse Class Members
Table 11-4
Class Member
authenticated
continueOn
token
CA50 Device User Authentication Process on page
Is the user authenticated?
Are there more steps to the UCA Authentication Process?
DB token representing the next step in the UCA Authentication Process, if
there is another step.
UCA Server Optional APIs 11 - 11
11-5.)
Description

Advertisement

Table of Contents
loading

Table of Contents