From v2.x to v3.0
Step-by-step guide for migrating from v2.x to v3.0
Update the libraries
Spot deprecations
General modifications
CBOR\Decoder Service Not Needed Anymore
use Webauthn\AuthenticatorAssertionResponseValidator;
//Before:
$validator = new AuthenticatorAssertionResponseValidator(
$publicKeyCredentialSourceRepository,
$decoder,
$tokenBindingHandler,
$extensionOutputCheckerHandler,
$algorithmManager
);
//After
$validator = new AuthenticatorAssertionResponseValidator(
$publicKeyCredentialSourceRepository,
$tokenBindingHandler,
$extensionOutputCheckerHandler,
$algorithmManager
);Metadata Statement Repository Is Required
Removed methods, functions or properties
Internal Dependency Changes:
Update your Configuration Files
Upgrade the libraries
All Modifications In A Row
Last updated
Was this helpful?