Releases: chillerlan/php-authenticator
Releases · chillerlan/php-authenticator
6.0.0
5.4.1
- added
AuthenticatorInterface::setRawSecret()andAuthenticatorInterface::getRawSecret()methods - increased maximum adjacent codes for
AuthenticatorOptionsTrait::$adjacent()to 20 (10 minutes at the default of a 30 second period) - the constructors of
AuthenticatorandAuthenticatorInterfacenow allow aniterableof options instead of aSettingsContainerInterface(a key-value array or object with a structure similar toAuthenticatorOptionsTrait) - the string encoding classes (
Base32,Base64,Hex) are now using a common interfaceEncoderInterface - test overhaul
- dependency updates
(fixed accidentally tagging the wrong branch)
4.5.0
- added
AuthenticatorInterface::setRawSecret()andAuthenticatorInterface::getRawSecret()methods - increased maximum adjacent codes for
AuthenticatorOptionsTrait::$adjacent()to 20 (10 minutes at the default of a 30 second period)
5.3.0
- Ensure PHP 8.5 compatibility (
curl_close()deprecation) - Deprecated
Authenticator::getUri()param$omitSettingsin favor ofAuthenticatorOptions::$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
AuthenticatorInterfacethat returned<interface>now have thestaticreturn type.
4.4.0
- Ensure PHP 8.5 compatibility
- Deprecated
Authenticator::getUri()param$omitSettingsin favor ofAuthenticatorOptions::$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
- mark nullable types explicitly (PHP 8.4 deprecation)
5.2.1
- mark nullable types explicitly (PHP 8.4 deprecation)