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_ONETIMEPASSWORD_TIMESTEP 5

IPWORKSAUTH_EXTERNAL void* IPWORKSAUTH_CALL IPWorksAuth_OneTimePassword_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);
IPWORKSAUTH_EXTERNAL int IPWORKSAUTH_CALL IPWorksAuth_OneTimePassword_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. When PasswordAlgorithm is set to paTOTP this value must be specified before calling CreatePassword or ValidatePassword.

The default value is 30.

This property is not applicable when using the Time-Based One Time Password algorithm.

Data Type

Integer

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks Auth 2020 C++ Edition - Version 20.0 [Build 8155]