All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Challenge class
- ChallengeProviderInterface (will replace ChallengeProvider)
- Server::generateChallenge(): ChallengeProviderInterface (now public; signature changed from previous private implementation)
- Server::validateLogin(ChallengeProviderInterface, LoginResponseInterface, RegistrationInterface[]): RegistrationInterface (will replace Server::setRegistrations + Server::setSignRequests + Server::authenticate)
- Server::validateRegistration(ChallengeProviderInterface, RegistrationResponseInterface): RegistrationInterface (will replace Server::setRegisterRequest + Server::register)
- Server's constructor now can take
string $appId
as a parameter
- ChallengeProvider
- Server::authenticate(LoginResponseInterface)
- Server::register(RegistrationResponseInterface)
- Server::setAppId(string)
- Server::setRegisterRequest(RegisterRequest)
- Server::setRegistrations(RegistrationInterface[])
- Server::setSignRequests(SignRequest[])
Support for WebAuthn protocols and APIs
- WebAuthn\RegistrationResponse
- WebAuthn\LoginResponse
- AttestationCertificate
- AttestationCertificateInterface
- ECPublicKey
- KeyHandleInterface
- LoginResponseInterface
- PublicKeyInterface
- RegistrationInterface
- RegistrationResponseInterface
- Type information improved throughout
- RegisterResponse implements RegistrationResponseInterface
- Registration implements RegistrationInterface
- SignResponse implements LoginResponseInterface-
- Handle missing
cid_pubkey
field in response client data
Initial Release