Counter Property

The counter used for HMAC-Based One Time Password creation or validation.

Object Oriented Interface

public function getCounter();
public function setCounter($value);

Procedural Interface

ipworksauth_hotp_get($res, 1 );
ipworksauth_hotp_set($res, 1, $value );

Default Value

0

Remarks

This property holds the counter value used for HMAC-Based One Time Password creation or validation. This value must be specified before calling CreatePassword or ValidatePassword. The value should be incremented each time a password is created.

The default value is 0.

Data Type

Long64

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