Operation: | Add OTP Token / Update OTP Token
Description: | Add OTP TokenUpdate OTP Token

Sample Configuration
    	<OTPTokens>
    		<tokenid />
    		<timeStep />
    		<timeStepOffset />
    		<secret />
    		<lastLogin />
    		<timeOffset />
    		<extraCodes />
    		<active />
    		<autoCreated />
    		<user />
    		<comment />
    	</OTPTokens>

Attribute/Parameter Information :

Parameter | Mandatory | Default | Description
--- | --- | --- | ---
tokenid | No |  | Description: Specify 'tokenid' confines to: Type is 'SCALAR'. Datatype is 'STRING'. Maximum characters allowed are 32. Minimum characters allowed are 1.
time step | No |  | Description: OTP time step time step confines to: Type is 'SCALAR'. Datatype is 'INTEGER'. Range 10 to 300 is allowed. Maximum digits allowed are 3.
time step offset | No |  | Description: OTP time step offset time step offset confines to: Type is 'SCALAR'. Datatype is 'INTEGER'.
secret | No |  | Description: OTP Secret secret confines to: Type is 'SCALAR'. Datatype is 'STRING'. Maximum characters allowed are 120. Minimum characters allowed are 32.
last login | No |  | Description: OTP last successful login last login confines to: Type is 'SCALAR'. Datatype is 'INTEGER'.
time offset | No |  | Description: Time offset to adjust clock skew time offset confines to: Type is 'SCALAR'. Datatype is 'INT'.
rescue codes | No |  | Description: one-time random codes that may be used if the secret is temporarily unavailable rescue codes confines to: Type is 'SCALAR'. Datatype is 'STRING'. Maximum characters allowed are 69.
Active | No |  | Description: indicates if is this token has been enabled or disabled Active confines to: Type is 'SCALAR'. Datatype is 'INTEGER'. Only '0', '1' are allowed.
AutoCreated | No |  | Description: indicates if this token has been generated automatically at token creation AutoCreated confines to: Type is 'SCALAR'. Datatype is 'INTEGER'. Only '0', '1' are allowed.
userid | No |  | Description: Specify 'userid' confines to: Type is 'SCALAR'. Datatype is 'INTEGER'.
Comment | No |  | Description: Tokens comment Comment confines to: Type is 'SCALAR'. Datatype is 'STRING'.

Status Message Information :

Operation | Status | Message
--- | --- | ---
Update OTP Token | 200 |
Update OTP Token | 500 |
Add OTP Token | 200 |
Add OTP Token | 500 |

) Copyright 2017 Sophos Limited. All rights reserved.
Sophos is registered trademarks of Sophos Limited and Sophos Group. All other product and company names mentioned are trademarks or registered trademarks of their respective owners.No part of this publication may be reproduced, stored in a retrieval system, or transmitted, in any form or by any means, electronic, mechanical, photocopying, recording or otherwise unless you are either a valid licensee where the documentation can be reproduced in accordance with the license terms or you otherwise have the prior permission in writing of the copyright owner.