diff options
author | Mario <mario@mariovavti.com> | 2023-07-11 18:57:18 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2023-07-11 18:57:18 +0000 |
commit | 63fb8d03929189bfc8cbf53d23cb79984fe2c3cd (patch) | |
tree | b9f74bd8c7721dca7ece251fdbb9a7c4fe9b949a /vendor/spomky-labs/otphp/src/HOTPInterface.php | |
parent | 57796a2f962d045445cbf69237bb3d6786e4d0d4 (diff) | |
parent | 384de0925e502cfa8fe6ca287530ef5529fdff10 (diff) | |
download | volse-hubzilla-63fb8d03929189bfc8cbf53d23cb79984fe2c3cd.tar.gz volse-hubzilla-63fb8d03929189bfc8cbf53d23cb79984fe2c3cd.tar.bz2 volse-hubzilla-63fb8d03929189bfc8cbf53d23cb79984fe2c3cd.zip |
Merge branch '8.6RC'8.6
Diffstat (limited to 'vendor/spomky-labs/otphp/src/HOTPInterface.php')
-rw-r--r-- | vendor/spomky-labs/otphp/src/HOTPInterface.php | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/vendor/spomky-labs/otphp/src/HOTPInterface.php b/vendor/spomky-labs/otphp/src/HOTPInterface.php index 853e76c07..449e9383b 100644 --- a/vendor/spomky-labs/otphp/src/HOTPInterface.php +++ b/vendor/spomky-labs/otphp/src/HOTPInterface.php @@ -10,6 +10,8 @@ interface HOTPInterface extends OTPInterface /** * The initial counter (a positive integer). + * + * @return 0|positive-int */ public function getCounter(): int; @@ -19,7 +21,9 @@ interface HOTPInterface extends OTPInterface * If the secret is null, a random 64 bytes secret will be generated. * * @param null|non-empty-string $secret + * @param 0|positive-int $counter * @param non-empty-string $digest + * @param positive-int $digits * * @deprecated Deprecated since v11.1, use ::createFromSecret or ::generate instead */ @@ -30,5 +34,8 @@ interface HOTPInterface extends OTPInterface int $digits = 6 ): self; + /** + * @param 0|positive-int $counter + */ public function setCounter(int $counter): void; } |