Skip to content

Releases: chillerlan/php-authenticator

6.0.0

21 Mar 00:03

Choose a tag to compare

  • minimum required PHP version is now 8.4
  • dependency updates

5.4.1

20 Mar 00:25

Choose a tag to compare

  • added AuthenticatorInterface::setRawSecret() and AuthenticatorInterface::getRawSecret() methods
  • increased maximum adjacent codes for AuthenticatorOptionsTrait::$adjacent() to 20 (10 minutes at the default of a 30 second period)
  • the constructors of Authenticator and AuthenticatorInterface now allow an iterable of options instead of a SettingsContainerInterface (a key-value array or object with a structure similar to AuthenticatorOptionsTrait)
  • the string encoding classes (Base32, Base64, Hex) are now using a common interface EncoderInterface
  • test overhaul
  • dependency updates

(fixed accidentally tagging the wrong branch)

4.5.0

15 Mar 18:14

Choose a tag to compare

  • added AuthenticatorInterface::setRawSecret() and AuthenticatorInterface::getRawSecret() methods
  • increased maximum adjacent codes for AuthenticatorOptionsTrait::$adjacent() to 20 (10 minutes at the default of a 30 second period)

5.3.0

24 Nov 19:14

Choose a tag to compare

  • Ensure PHP 8.5 compatibility (curl_close() deprecation)
  • Deprecated Authenticator::getUri() param $omitSettings in favor of AuthenticatorOptions::$omitUriSettings. This parameter will be removed in v6.
  • Optional URI values are now omitted by default (as they only have little value and might be ignored by most apps).
  • Fixed the counter value not always howing in HOTP URIs (parameter is not optional).
  • The methods in AuthenticatorInterface that returned <interface> now have the static return type.

4.4.0

24 Nov 19:08

Choose a tag to compare

  • Ensure PHP 8.5 compatibility
  • Deprecated Authenticator::getUri() param $omitSettings in favor of AuthenticatorOptions::$omitUriSettings. This parameter will be removed in v6.
  • Optional URI values are now omitted by default (as they only have little value and might be ignored by most apps).
  • Fixed the counter value not always howing in HOTP URIs (parameter is not optional).

4.3.1

17 Jul 01:58

Choose a tag to compare

  • mark nullable types explicitly (PHP 8.4 deprecation)

5.2.1

17 Jul 01:59

Choose a tag to compare

  • mark nullable types explicitly (PHP 8.4 deprecation)

5.2.0

17 Jun 21:17

Choose a tag to compare

  • removed battle.net support (#6)
  • declare strict types
  • CI & dependency updates

4.3.0

17 Jun 21:41

Choose a tag to compare

  • removed battle.net support (#6)
  • declare strict types
  • CI & dependency updates

5.1.0

06 Jan 16:07

Choose a tag to compare

  • removed BattleNet secret creation/restore function as it is no longer supported (#6)