stable

Clone or download

Read-only

feat: Save credential source

Part of story #31173 register a new passkey This commit add the last step of registration ceremony : save of credential source. It also set its name. Change-Id: I2a196e21ca9bd3f390be09cf8fc356354e2a610a

Modified Files

Name
M src/common/Request/RouteCollector.php +3 −1 Go to diff View file
M src/common/WebAuthn/Controllers/PostRegistrationController.php +5 −3 Go to diff View file
A src/common/WebAuthn/Source/ChangeCredentialSourceName.php +28 −0 Go to diff View file
A src/common/WebAuthn/Source/SaveCredentialSourceWithName.php +30 −0 Go to diff View file
M src/common/WebAuthn/Source/WebAuthnCredentialSourceDao.php +12 −1 Go to diff View file
M tests/integration/tests/WebAuthn/Source/WebAuthnCredentialSourceDaoTest.php +18 −6 Go to diff View file
M tests/lib/Stubs/WebAuthn/WebAuthnCredentialSourceDaoStub.php +22 −2 Go to diff View file
M tests/unit/common/WebAuthn/Controllers/PostRegistrationControllerTest.php +17 −4 Go to diff View file