Skip to content
This repository has been archived by the owner on Mar 25, 2024. It is now read-only.

Latest commit

 

History

History
42 lines (35 loc) · 1.72 KB

CHANGELOG.md

File metadata and controls

42 lines (35 loc) · 1.72 KB

Changelog

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.

[1.3.0] - Unreleased

Added

  • 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)

Changed

  • Server's constructor now can take string $appId as a parameter
  • WebAuthn\AuthenticatorData marked as internal
  • All traits marked as internal

Deprecated

  • ChallengeProvider
  • Server::authenticate(LoginResponseInterface)
  • Server::register(RegistrationResponseInterface)
  • Server::setAppId(string)
  • Server::setRegisterRequest(RegisterRequest)
  • Server::setRegistrations(RegistrationInterface[])
  • Server::setSignRequests(SignRequest[])
  • Server::generateRegisterRequest()
  • Server::generateSignRequest(RegistrationInterface)
  • Server::generateSignRequests(RegistrationInterface[])
  • RegisterRequest
  • RegisterResponse (Replaced by WebAuthn/RegistrationResponse)
  • SignRequest
  • SignResponse (Replaced by WebAuthn/LoginResponse)
  • ClientData (internal)
  • ResponseTrait (internal)

[1.2.0] - 2021-10-26

Added

  • Support for WebAuthn protocols and APIs