The following table lists the input and output parameters of the generateOTP() method:
|
Parameter |
Description |
|
|---|---|---|
|
Input Parameters |
||
|
id |
The unique identifier of the account. Note: Use the getId() method to fetch this identifier. |
|
|
pwd |
ArcotID OTP PIN. This is the PIN that was associated with the account when the provisionAccount() method was called. |
|
|
params |
The parameters required for generating passcodes. You need to set the parameters based on the type of OTP to be generated. For example:
|
|
|
Output Parameters |
||
|
params |
params.get(A_TIMELEFT) Here, the value of the A_TIMELEFT parameter is the time interval in seconds for which the TOTP is valid. |
|
The OTPException class is returned if there any errors while signing the challenge. See chapter, "ArcotID OTP SDK Exceptions and Error Codes" for more information on the exception class and errors returned by ArcotID OTP SDK.
|
Copyright © 2013 CA Technologies.
All rights reserved.
|
|