chillerlan/php-authenticator
PHP 8.4+ library to generate and verify HOTP (RFC 4226) and TOTP (RFC 6238) one-time passwords, compatible with Google Authenticator-style apps. Includes optional Steam Guard time sync plus constant-time encoding helpers for safer key handling.
AuthenticatorInterface::setRawSecret() and AuthenticatorInterface::getRawSecret() methodsAuthenticatorOptionsTrait::$adjacent() to 20 (10 minutes at the default of a 30 second period)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)Base32, Base64, Hex) are now using a common interface EncoderInterface(fixed accidentally tagging the wrong branch)
AuthenticatorInterface::setRawSecret() and AuthenticatorInterface::getRawSecret() methodsAuthenticatorOptionsTrait::$adjacent() to 20 (10 minutes at the default of a 30 second period)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)Base32, Base64, Hex) are now using a common interface EncoderInterfaceAuthenticatorInterface::setRawSecret() and AuthenticatorInterface::getRawSecret() methodsAuthenticatorOptionsTrait::$adjacent() to 20 (10 minutes at the default of a 30 second period)curl_close() deprecation)Authenticator::getUri() param $omitSettings in favor of AuthenticatorOptions::$omitUriSettings. This parameter will be removed in v6.AuthenticatorInterface that returned <interface> now have the static return type.Authenticator::getUri() param $omitSettings in favor of AuthenticatorOptions::$omitUriSettings. This parameter will be removed in v6.How can I help you explore Laravel packages today?