HID APPROVE SDK  5.4
HID APPROVE SDK for iOS
 All Classes Files Functions Variables Enumerations Enumerator Properties Pages
<HIDSyncOTPGenerator> Protocol Reference

Extends the OTP generator to support synchronous time or event based generation. (HOTP, TOTP) More...

#import <HIDSyncOTPGenerator.h>

Inheritance diagram for <HIDSyncOTPGenerator>:
<HIDOTPGenerator>

Instance Methods

(NSString *) - getOTP:error:
 Compute the one-time password. More...
 
- Instance Methods inherited from <HIDOTPGenerator>
(id< HIDAlgorithmParameters >) - getAlgorithmParameters
 
(NSString *) - getName
 
(NSString *) - getType
 
(NSString *) - getVersion
 

Detailed Description

Extends the OTP generator to support synchronous time or event based generation. (HOTP, TOTP)

Method Documentation

- (NSString*) getOTP: (NSString *)  password
error: (NSError **)  error 

Compute the one-time password.

Parameters
passwordOTP key password (if protected by password).
errorerror details. It may be nil.

Possible error codes are:

Returns
The formatted OTP.

The documentation for this protocol was generated from the following file: