Skip to main content

OfflineTokenAuthenticateResponse

Used to return batches of protected OTPs for a given token

Properties

NameTypeDescriptionNotes
first_moving_factorintThis is the moving factor index for the first hashed OTP returned. In the case of time-based tokens, it represents time step, otherwise it represents the value of the counter.[optional]
iterationsintThe number of iterations of the hash function to be performed.[optional]
max_size_in_unitsintThis is the policy-configured maximum number (hours or counters)[optional]
max_time_stepsintThis is the max number of time steps used to validate a token.[optional]
minor_size_in_unitsintThis is the policy-configured recommended number (hours or counters)[optional]
otpsstrAn array of all of the OTPs returned in the batch, each with its public component of the salt.[optional]
private_salt_lengthintThe number of digits in the private part of the salt that the client must guess.[optional]
result_optimizedboolFlag indicating if the set of OTP hashes returned was optimized so that OTPs which have already been downloaded in prior requests, but that have no yet expired, are not sent again.[optional]
time_driftintThis is the token time drift in seconds. This applies only to time-based tokens.[optional]
time_intervalintIf this contains a positive value then this batch is for time-based tokens, otherwise it is for event based tokens.[optional]
token_serial_numberstrThe serial number of the token for which offline tokens are generated.[optional]
use_secretbytearray[optional]

Example