isHOTPPasswordValid (method)
Validates a hash-based one-time password.
Syntax
- (BOOL)isHOTPPasswordValid:(NSData*)keySecret :(int)passwordLength :(int)counter :(NSString*)password;
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.