TimeStep Property
The time step (in seconds) used for Time-Based One Time Password creation or validation.
Syntax
ANSI (Cross Platform) int GetTimeStep();
int SetTimeStep(int iTimeStep); Unicode (Windows) INT GetTimeStep();
INT SetTimeStep(INT iTimeStep);
@property (nonatomic,readwrite,assign,getter=timeStep,setter=setTimeStep:) int timeStep; - (int)timeStep; - (void)setTimeStep:(int)newTimeStep;
#define PID_TOTP_TIMESTEP 3 IPWORKSAUTH_EXTERNAL void* IPWORKSAUTH_CALL IPWorksAuth_TOTP_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal); IPWORKSAUTH_EXTERNAL int IPWORKSAUTH_CALL IPWorksAuth_TOTP_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);
Default Value
30
Remarks
This property specifies the time step (in seconds) used for Time-Based One Time Password creation or validation. This value must be specified before calling CreatePassword or ValidatePassword.
The default value is 30.
Data Type
Integer