IsHOTPPasswordValid Method
Validates a hash-based one-time password.
Syntax
public func isHOTPPasswordValid(keySecret: Data, passwordLength: Int32, counter: Int32, password: String) throws -> Bool
Remarks
Use this method to validate a hash-based one-time password (HOTP) by using explicit HOTP parameters. For this method to work, no user details need to be provided in Users collection.